diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2017-08-10 14:35:09 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2017-08-10 14:35:09 +0100 |
commit | 6b661f394f5f613958b46a3ef9b14b16db92437f (patch) | |
tree | 5a01463b6770d354600c5d53001320ebb7d0882e | |
parent | 7a83d2aed7e4c1c0c68ccaa051a019efb20042ad (diff) |
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.
-rw-r--r-- | validate/docs/validate/meson.build | 2 | ||||
-rw-r--r-- | validate/launcher/meson.build | 3 | ||||
-rw-r--r-- | validate/plugins/gtk/meson.build | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/validate/docs/validate/meson.build b/validate/docs/validate/meson.build index 7314acc..871a556 100644 --- a/validate/docs/validate/meson.build +++ b/validate/docs/validate/meson.build @@ -24,7 +24,7 @@ if gtkdoc.found() '--ignore-decorators=GST_EXPORT', '--ignore-headers=gettext.h gst-validate-internal.h gst-validate-monitor.h gst-validate-bin-monitor.h gst-validate-element-monitor.h gst-validate-pad-monitor.h gst-validate-override.h gst-validate-override-registry.h gst-validate-utils.h gst-validate-media-info.h gst-validate-report.h media-descriptor.h media-descriptor-parser.h media-descriptor-writer.h gst-validate-i18n-lib.h' ], - scanobj_args : ['--type-init-func="gst_init(NULL,NULL)'], + scanobjs_args : ['--type-init-func="gst_init(NULL,NULL)"'], gobject_typesfile : types, dependencies : [validate_dep], content_files : ['gst-validate.xml', 'gst-validate-transcoding.xml', 'gst-validate-media-check.xml', 'gst-validate-launcher.xml', 'envvariables.xml', 'scenarios.xml'], diff --git a/validate/launcher/meson.build b/validate/launcher/meson.build index 50b87e1..ba7ea17 100644 --- a/validate/launcher/meson.build +++ b/validate/launcher/meson.build @@ -3,6 +3,9 @@ _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, diff --git a/validate/plugins/gtk/meson.build b/validate/plugins/gtk/meson.build index b1d7cbf..dcb7896 100644 --- a/validate/plugins/gtk/meson.build +++ b/validate/plugins/gtk/meson.build @@ -1,5 +1,4 @@ shared_library('gstvalidategtk', 'gstvalidategtk.c', - install: true, include_directories : inc_dirs, dependencies : [gst_dep, glib_dep, gst_pbutils_dep, gtk_dep], c_args: ['-DHAVE_CONFIG_H'], |