gstreamer/validate/launcher/meson.build
Tim-Philipp Müller 6b661f394f meson: fix a few meson warnings
WARNING: The variable(s) 'DATADIR', 'LIBDIR' in the input file
  'subprojects/gst-devtools/validate/launcher/config.py.in' are not
  present in the given configuration data
WARNING: Passed invalid keyword argument "scanobj_args". This will
  become a hard error in the future.
WARNING: Keyword argument "install" defined multiple times. This
  will be a an error in future Meson releases.
2017-08-10 14:35:09 +01:00

28 lines
943 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('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')