Debian Codegraph @

data/glade/meson.build

raw
1 glade_catalog_xml = configuration_data()
2 glade_catalog_xml.set('GETTEXT_PACKAGE', package_string)
3
4 peas_glade_catalog = configure_file(
5 input: 'libpeas-gtk.xml.in',
6 output: 'libpeas-gtk.xml',
7 configuration: glade_catalog_xml,
8 install_dir: catalogdir,
9 )
10
11 # Glade file does not currently validate and this does not appear to be
12 # the fault of libpeas.
13 #if xmllint_prg.found()
14 # glade_catalog_dtd_path = join_paths(
15 # gladeui_dep.get_pkgconfig_variable('catalogdir'),
16 # 'glade-catalog.dtd'
17 # )
18 #
19 # test(
20 # 'Validate Glade catalogue',
21 # xmllint_prg,
22 # args: [
23 # '--dtdvalid',
24 # glade_catalog_dtd_path,
25 # peas_glade_catalog,
26 # '--noout',
27 # ]
28 # )
29 #endif