mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
8dfab0b08c
-> use meson.project_build_root() or .global_build_root() instead. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1183>
29 lines
1,009 B
Meson
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')
|