blob: 78c6fa59d7fa67b49012ae978e2d38faa815d9b3 (
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
|
pkg = import('pkgconfig')
sources = [
'__init__.py',
'dbusdaemon.py',
'dconf.py',
'helpers.py',
'mainloop.py',
'psutil_mini.py',
]
if get_option('test_utils')
testutils_dir = get_option('test_utils_dir')
if testutils_dir == ''
arch_independent_libdir = \
get_option('prefix') / 'lib' / 'tracker-' + tracker_api_version
testutils_dir = join_paths(arch_independent_libdir, 'trackertestutils')
endif
install_data(sources, install_dir: testutils_dir)
pkg.generate(
name: 'tracker-testutils-' + tracker_api_version,
description: 'tracker test utilities',
variables: [
'python_path=' + testutils_dir
]
)
endif
|