mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 13:25:56 +00:00
scripts: Handle gst-python in gst-uninstalled
https://bugzilla.gnome.org/show_bug.cgi?id=709082
This commit is contained in:
parent
d1181ed98a
commit
f978e9eb56
1 changed files with 4 additions and 2 deletions
|
@ -181,8 +181,10 @@ export GST_PLUGIN_SCANNER=$GST/gstreamer/libs/gst/helpers/gst-plugin-scanner
|
|||
# this still doesn't make it work for the uninstalled case, since man goes
|
||||
# look for a man directory "nearby" instead of the directory I'm telling it to
|
||||
export MANPATH=$GST/gstreamer/tools:$GST_PREFIX/share/man:$MANPATH
|
||||
pythonver=`python -c "import sys; print (sys.version[:3])"`
|
||||
export PYTHONPATH=$GST/gst-python:$GST_PREFIX/lib/python$pythonver/site-packages${PYTHONPATH:+:$PYTHONPATH}
|
||||
if [ -z "$PYTHON" ]; then PYTHON="python"; fi
|
||||
pythonver=`$PYTHON -c "import sys; print (sys.version[:3])"`
|
||||
pythonsites=`$PYTHON -c "import site; print(':'.join(site.getsitepackages()))"`
|
||||
export PYTHONPATH="${PYTHONPATH}:${pythonsites}:${GST}/gst-python"
|
||||
|
||||
# clutter-gst
|
||||
export PKG_CONFIG_PATH=$GST/clutter-gst:$PKG_CONFIG_PATH
|
||||
|
|
Loading…
Reference in a new issue