gstreamer/subprojects/gst-devtools/validate/launcher/meson.build

30 lines
995 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.build_root())
launcher_configure.set('SRCDIR', meson.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')