File: meson.build

package info (click to toggle)
pyatspi 2.58.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 856 kB
  • sloc: ansic: 3,506; python: 3,231; xml: 408; sh: 49; makefile: 39
file content (36 lines) | stat: -rw-r--r-- 1,159 bytes parent folder | download | duplicates (2)
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
project('pyatspi', 'c',
  version: '2.58.1',
  meson_version: '>= 0.51.0'
)

# Dependencies
libdbus_req_version = '>= 1.0'
glib_req_version = '>= 2.36.0'
atspi_req_version = '>= 2.46.0'
libxml_req_version = '>= 2.0.0'
pygobject_req_version = '>= 2.90.1'

python = import('python')
python3 = python.find_installation('python3', required: true)

if get_option('enable_tests')
  python.find_installation('python3', modules:['dbus'])
  libdbus_dep = dependency('dbus-1', version: libdbus_req_version)
  glib_dep = dependency('glib-2.0', version: glib_req_version)
  gobject_dep = dependency('gobject-2.0', version: glib_req_version)
  gmodule_dep = dependency('gmodule-2.0', version: glib_req_version)
  atspi_dep = dependency('atspi-2', version: atspi_req_version)
  atk_dep = dependency('atk', version: atspi_req_version)
  atk_bridge_dep = dependency('atk-bridge-2.0', version: atspi_req_version)
  libxml_dep = dependency('libxml-2.0', version: libxml_req_version)
endif

pygobject_dep = dependency('pygobject-3.0', version: pygobject_req_version)

root_inc = include_directories('.')

subdir('pyatspi')

if get_option('enable_tests')
  subdir('tests')
endif