devenv: Prepend to GST_PLUGIN_PATH
authorXavier Claessens <xavier.claessens@collabora.com>
Mon, 21 Feb 2022 16:35:41 +0000 (11:35 -0500)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 25 Feb 2022 20:35:26 +0000 (20:35 +0000)
Use may have their own GST_PLUGIN_PATH, or a custom user subproject
could have their own plugins too. This is also what gst-env.py does.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1768>

meson.build

index 52c8aaf..53bdcf5 100644 (file)
@@ -234,7 +234,7 @@ pathsep = host_machine.system() == 'windows' ? ';' : ':'
 all_plugins_paths = pathsep.join(all_plugins_paths)
 
 devenv = environment()
-devenv.set('GST_PLUGIN_PATH', all_plugins_dirs)
+devenv.prepend('GST_PLUGIN_PATH', all_plugins_dirs)
 devenv.set('CURRENT_GST', meson.current_source_dir())
 devenv.set('GST_VERSION', meson.project_version())
 devenv.set('GST_ENV', 'gst-' + meson.project_version())