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
44
45
46
47
48
49
50
51
52
53
54
|
desktop = 'mate-default-applications-properties.desktop'
i18n.merge_file(
type: 'desktop',
input: desktop + '.in',
output: desktop,
po_dir: po_dir,
install: true,
install_dir: mcc_desktopdir
)
sources = files(
'mate-da-capplet.c'
)
sources += gnome.compile_resources(
'mate-default-applications-properties-resources',
'org.mate.mcc.da.gresource.xml',
c_name: 'default_applications',
export: true
)
cflags += [
'-DAPPLICATIONSDIR="@0@"'.format(mcc_desktopdir),
]
executable(
'mate-default-applications-properties',
sources : sources,
include_directories: config_inc,
dependencies : [common_deps, libcommon_dep],
c_args : cflags,
install : true,
install_dir : get_option('bindir')
)
pc_conf = configuration_data()
pc_conf.set('prefix', mcc_prefix)
pc_conf.set('datarootdir', mcc_datadir)
pc_conf.set('datadir', mcc_datadir)
pc_conf.set('PACKAGE', meson.project_name())
pc_conf.set('VERSION', meson.project_version())
pc = 'mate-default-applications.pc'
configure_file(
input: pc + '.in',
output: pc,
install: true,
install_dir: join_paths(mcc_libdir, 'pkgconfig'),
configuration: pc_conf
)
subdir('icons')
|