[jhbuild] config: Export GST_PLUGIN_PATH



commit 4ef37a9c00c71f688615798d26e7f9c9b09e1aa0
Author: Damien Lespiau <damien lespiau intel com>
Date:   Wed Nov 2 17:36:58 2011 +0000

    config: Export GST_PLUGIN_PATH
    
    When compiling gstreamer plugins in jhbuild (or say clutter-gst 1.5.x
    that exposes a GStreamer plugin now) and using your system GStreamer
    (because of the newly introduced sysdeps mechanisnm) you still want your
    system GStreamer to load the plugins compiled in the jhbuild prefix.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=663255

 jhbuild/config.py |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/jhbuild/config.py b/jhbuild/config.py
index 6883eaa..27214e9 100644
--- a/jhbuild/config.py
+++ b/jhbuild/config.py
@@ -411,6 +411,12 @@ class Config:
         xcursordir = os.path.join(self.prefix, 'share', 'icons')
         addpath('XCURSOR_PATH', xcursordir)
 
+        # GST_PLUGIN_PATH
+        for gst in ('gstreamer-1.0', 'gstreamer-0.10'):
+            gstplugindir = os.path.join(self.libdir , gst)
+            if os.path.exists(gstplugindir):
+                addpath('GST_PLUGIN_PATH', gstplugindir)
+
         # ACLOCAL_FLAGS
         aclocaldir = os.path.join(self.prefix, 'share', 'aclocal')
         if not os.path.exists(aclocaldir):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]