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
|
api_version = '1.0'
px_backend_sources = [
'px-manager.c',
'px-manager.h',
'px-plugin-config.c',
'px-plugin-config.h',
'px-plugin-pacrunner.c',
'px-plugin-pacrunner.h',
]
px_backend_deps = [
curl_dep,
gio_dep,
glib_dep,
peas_dep,
]
px_backend_c_args = [
'-DG_LOG_DOMAIN="libpxbackend"',
]
px_backend_inc = include_directories('.')
px_backend_lib = shared_library(
'pxbackend-@0@'.format(api_version),
px_backend_sources,
dependencies: px_backend_deps,
c_args: px_backend_c_args,
install: true
)
gnome = import('gnome')
px_backend_gir = gnome.generate_gir(
px_backend_lib,
sources: px_backend_sources,
nsversion: api_version,
namespace: 'Px',
symbol_prefix: 'px',
identifier_prefix: 'Px',
includes: [ 'Gio-2.0' ],
install: false,
)
px_backend_dep = declare_dependency(
include_directories: px_backend_inc,
link_with: px_backend_lib,
dependencies: px_backend_deps
)
subdir('dbus')
subdir('plugins')
summary({
'D-Bus Service' : build_dbus,
}, section: 'Architecture')
|