devenv: Prepend to GST_PLUGIN_PATH

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>
This commit is contained in:
Xavier Claessens 2022-02-21 11:35:41 -05:00 committed by GStreamer Marge Bot
parent 3941eb7dbd
commit 968a26e6f6

View file

@ -234,7 +234,7 @@ pathsep = host_machine.system() == 'windows' ? ';' : ':'
all_plugins_paths = pathsep.join(all_plugins_paths) all_plugins_paths = pathsep.join(all_plugins_paths)
devenv = environment() 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('CURRENT_GST', meson.current_source_dir())
devenv.set('GST_VERSION', meson.project_version()) devenv.set('GST_VERSION', meson.project_version())
devenv.set('GST_ENV', 'gst-' + meson.project_version()) devenv.set('GST_ENV', 'gst-' + meson.project_version())