[pitivi] Make pitivi-git-environment.sh work with an installed GStreamer 1.0
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Make pitivi-git-environment.sh work with an installed GStreamer 1.0
- Date: Wed, 10 Oct 2012 19:02:45 +0000 (UTC)
commit a83c975eeec688d683d318ca1f081bf658586127
Author: Jan Gerber <j mailb org>
Date: Wed Oct 10 14:56:32 2012 -0400
Make pitivi-git-environment.sh work with an installed GStreamer 1.0
This forces prefix/lib/pkgconfig/ and pygobject/ to be set in
PKG_CONFIG_PATH
bin/pitivi-git-environment.sh | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/bin/pitivi-git-environment.sh b/bin/pitivi-git-environment.sh
index 9be5a4b..d09cfe1 100755
--- a/bin/pitivi-git-environment.sh
+++ b/bin/pitivi-git-environment.sh
@@ -56,6 +56,7 @@ $PATH"
LD_LIBRARY_PATH=$PITIVI_PREFIX/lib:${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
DYLD_LIBRARY_PATH=$PITIVI_PREFIX/lib:${DYLD_LIBRARY_PATH:+:$DYLD_LIBRARY_PATH}
GI_TYPELIB_PATH=$PITIVI_PREFIX/share/gir-1.0:${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}
+export PKG_CONFIG_PATH="$PITIVI_PREFIX/lib/pkgconfig:$PITIVI/pygobject:$PKG_CONFIG_PATH"
if pkg-config --list-all |grep gstreamer-1.0 &>/dev/null; then
@@ -97,14 +98,12 @@ else
DYLD_LIBRARY_PATH=$PITIVI/gstreamer/gst/.libs:$DYLD_LIBRARY_PATH
GI_TYPELIB_PATH=$PITIVI/gstreamer/gst:$GI_TYPELIB_PATH
-export PKG_CONFIG_PATH="$PITIVI_PREFIX/lib/pkgconfig\
-:$PITIVI/gstreamer/pkgconfig\
+export PKG_CONFIG_PATH="$PITIVI/gstreamer/pkgconfig\
:$PITIVI/gst-plugins-base/pkgconfig\
:$PITIVI/gst-plugins-good/pkgconfig\
:$PITIVI/gst-plugins-ugly/pkgconfig\
:$PITIVI/gst-plugins-bad/pkgconfig\
:$PITIVI/gst-ffmpeg/pkgconfig\
-:$PITIVI/pygobject\
:${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}"
export GST_PLUGIN_PATH="\
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]