summaryrefslogtreecommitdiff
path: root/src/backend/meson.build
blob: b0b8de90eee2abfe6094fdccb31b6d9580a37435 (plain)
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
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="pxbackend"',
]

px_backend_inc = include_directories('.')

px_backend = shared_library(
  'pxbackend-@0@'.format(api_version),
  px_backend_sources,
  dependencies: px_backend_deps,
  c_args: px_backend_c_args,
  install: true
)

px_backend_dep = declare_dependency(
  include_directories: px_backend_inc,
  link_with: px_backend,
  dependencies: px_backend_deps
)

subdir('dbus')
subdir('plugins')

summary({
  'D-Bus Service' : build_dbus,
}, section: 'Architecture')