gstreamer/subprojects/gst-devtools/validate/launcher/meson.build
Tim-Philipp Müller 8dfab0b08c meson: update for meson.build_root() and .build_source() deprecation
-> use meson.project_build_root() or .global_build_root() instead.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1183>
2021-10-20 11:20:44 +00:00

29 lines
1,009 B
Meson

_launcherdir = get_option('libdir') + '/gst-validate-launcher/python/launcher/'
launcher_configure = configuration_data()
launcher_configure.set('GST_VALIDATE_TESTSUITE_VERSION', '@0@'.format(TESTSUITE_VERSION))
launcher_configure.set('BUILDDIR', meson.global_build_root())
launcher_configure.set('SRCDIR', meson.global_source_root())
launcher_configure.set('DATADIR', join_paths(get_option('prefix'), get_option('datadir')))
launcher_configure.set('LIBDIR', join_paths(get_option('prefix'), get_option('libdir')))
configure_file(input : 'config.py.in',
output : 'config.py',
install_dir: _launcherdir,
configuration : launcher_configure)
_sources = ['baseclasses.py',
'__init__.py',
'loggable.py',
'reporters.py',
'main.py',
'httpserver.py',
'RangeHTTPServer.py',
'utils.py',
'vfb_server.py']
install_data(sources: _sources,
install_dir: _launcherdir)
subdir('apps')
subdir('testsuites')