1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
pkgconfig.generate(
filebase: 'gweather-3.0',
name: 'GWeather',
description: 'GWeather shared library',
version: meson.project_version(),
libraries: lib_libgweather,
subdirs: 'libgweather-3.0',
requires: [
'gtk+-3.0',
],
requires_private: [
'gio-2.0',
'libsoup-2.4',
'libxml-2.0',
'geocode-glib-1.0',
],
)
if enable_glade_catalog
install_data('glade/libgweather.xml',
install_dir: glade_catalogdir,
)
endif
xmllint = find_program('xmllint', required: false)
if xmllint.found()
test('Valid Locations file',
xmllint,
args: [
'--path', '@0@'.format(meson.current_source_dir()),
'--noout',
'--valid',
'Locations.xml',
])
endif
install_data('Locations.xml',
install_dir: pkgdatadir,
)
install_data('locations.dtd',
install_dir: pkgdatadir,
)
|