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
|
install_data(
'backward',
install_dir: join_paths(gsd_pkgdatadir, 'datetime')
)
sources = files(
'gsd-datetime-manager.c',
'gsd-timezone-monitor.c',
'main.c',
'tz.c',
'weather-tz.c'
)
sources += gnome.gdbus_codegen(
'timedated',
'timedated1-interface.xml',
interface_prefix: 'org.freedesktop.'
)
deps = plugins_deps + [
geocode_glib_dep,
gweather_dep,
libgeoclue_dep,
libnotify_dep,
m_dep,
polkit_gobject_dep
]
cflags += ['-DGNOMECC_DATA_DIR="@0@"'.format(gsd_pkgdatadir)]
executable(
'gsd-' + plugin_name,
sources,
include_directories: [top_inc, common_inc],
dependencies: deps,
c_args: cflags,
install: true,
install_rpath: gsd_pkglibdir,
install_dir: gsd_libexecdir
)
|