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
|
subdir('appdata')
subdir('icons')
subdir('assets')
compiled_schemas = gnome.compile_schemas()
install_data('org.gnome.software.gschema.xml',
install_dir : 'share/glib-2.0/schemas')
if get_option('external_appstream')
# replace @libexecdir@
conf_data = configuration_data()
conf_data.set('libexecdir', join_paths(get_option('prefix'),
get_option('libexecdir')))
out = configure_file(
input : 'org.gnome.software.external-appstream.policy.in.in',
output : 'org.gnome.software.external-appstream.policy.in',
install: false,
configuration : conf_data,
)
i18n.merge_file(
input : out,
output : 'org.gnome.software.external-appstream.policy',
po_dir: join_paths(meson.source_root(), 'po'),
install: true,
install_dir: join_paths(get_option('datadir'), 'polkit-1', 'actions'),
)
endif
|