summaryrefslogtreecommitdiff
path: root/registryd/meson.build
blob: dfbbe5ce05aa4a9340e8eed429614a6988aa19c6 (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
atspi_introspection_path = ''

registryd_sources = [
  introspection_generated,
  'deviceeventcontroller.c',
  'marshal-dbus.c',
  'reentrant-list.c',
  'registry-main.c',
  'registry.c',
]

registryd_deps = [
  gio_dep,
  libdbus_dep,
  atspi_dep,
  dl_dep,
]

if x11_dep.found()
  registryd_sources += [
    'deviceeventcontroller-x11.c',
    'display.c',
    'event-source.c',
    'ucs2keysym.c',
  ]

  registryd_deps += x11_deps 
endif

executable('at-spi2-registryd', registryd_sources,
           dependencies: registryd_deps,
           install: true,
           install_dir: atspi_libexecdir)

libexec_conf = configuration_data()
libexec_conf.set('libexecdir', atspi_libexecdir)

configure_file(input: 'org.a11y.atspi.Registry.service.in',
               output: 'org.a11y.atspi.Registry.service',
               configuration: libexec_conf,
               install_dir: join_paths(atspi_datadir, 'dbus-1/accessibility-services'))