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
|
subdir('icons')
subdir('ui')
desktop_conf = configuration_data()
desktop_conf.set('PACKAGE', df_name)
desktop = df_namespace + '.desktop'
desktop_in = configure_file(
input: desktop + '.in.in',
output: '@BASENAME@',
configuration: desktop_conf,
)
custom_target(
desktop,
input: desktop_in,
output: '@BASENAME@',
command: intltool_desktop_cmd,
install: true,
install_dir: df_datadir / 'applications',
)
appdata = df_namespace + '.appdata.xml'
custom_target(
appdata,
input: appdata + '.in',
output: '@BASENAME@',
command: intltool_xml_cmd,
install: true,
install_dir: df_datadir / 'metainfo',
)
install_data(
df_namespace + '.gschema.xml',
install_dir: gio_schemasdir,
)
|