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
55
56
57
58
59
60
61
62
|
policy = 'org.gnome.settings-daemon.plugins.wacom.policy'
policy_in = configure_file(
input: policy + '.in.in',
output: policy + '.in',
configuration: plugins_conf
)
i18n.merge_file(
input: policy_in,
output: policy,
po_dir: po_dir,
install: true,
install_dir: join_paths(gsd_datadir, 'polkit-1', 'actions')
)
sources = files(
'gsd-wacom-manager.c',
'gsd-wacom-oled.c',
'main.c'
)
deps = plugins_deps + [
gtk_dep,
libcommon_dep,
m_dep,
pango_dep
]
if enable_wacom
deps += libwacom_dep
endif
cflags += ['-DLIBEXECDIR="@0@"'.format(gsd_libexecdir)]
executable(
'gsd-' + plugin_name,
sources,
include_directories: [top_inc, data_inc],
dependencies: deps,
c_args: cflags,
install: true,
install_rpath: gsd_pkglibdir,
install_dir: gsd_libexecdir
)
if enable_gudev
deps = [
gudev_dep,
m_dep
]
executable(
'gsd-wacom-oled-helper',
'gsd-wacom-oled-helper.c',
include_directories: top_inc,
dependencies: deps,
install: true,
install_rpath: gsd_pkglibdir,
install_dir: gsd_libexecdir
)
endif
|