gst-env: Use locally built GStreamer utility programs

The host environment might not have gst-launch-1.0 and gst-inspect-1.0
installed.

Fixes #52
This commit is contained in:
Philippe Normand 2019-11-02 10:44:57 +01:00
parent a15dc0b589
commit 3dc7c9de94

View file

@ -167,6 +167,14 @@ def get_subprocess_env(options, gst_version):
prepend_env_var(env, "PATH", os.path.join(SCRIPTDIR, 'gstreamer', 'tools'), prepend_env_var(env, "PATH", os.path.join(SCRIPTDIR, 'gstreamer', 'tools'),
options.sysroot) options.sysroot)
# tools: gst-launch-1.0, gst-inspect-1.0
prepend_env_var(env, "PATH", os.path.join(options.builddir, 'subprojects',
'gstreamer', 'tools'),
options.sysroot)
prepend_env_var(env, "PATH", os.path.join(options.builddir, 'subprojects',
'gst-plugins-base', 'tools'),
options.sysroot)
# Library and binary search paths # Library and binary search paths
prepend_env_var(env, "PATH", os.path.join(PREFIX_DIR, 'bin'), prepend_env_var(env, "PATH", os.path.join(PREFIX_DIR, 'bin'),
options.sysroot) options.sysroot)