[jhbuild] config.py: export GST_REGISTRY



commit 46627c38b0e3bea8277439f66c3f897f9436b54c
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu Feb 9 15:39:04 2012 +0100

    config.py: export GST_REGISTRY
    
    The registry is a cache of GStreamer elements. Jhbuild should use its own
    registry to make sure we'll use the elements from the custom GST_PLUGIN_PATH.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=669750

 jhbuild/config.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/jhbuild/config.py b/jhbuild/config.py
index 6894dd1..c5b5e5f 100644
--- a/jhbuild/config.py
+++ b/jhbuild/config.py
@@ -417,6 +417,10 @@ class Config:
             if os.path.exists(gstplugindir):
                 addpath('GST_PLUGIN_PATH', gstplugindir)
 
+        # GST_REGISTRY
+        gstregistry = os.path.join(self.prefix, '_jhbuild', 'gstreamer.registry')
+        addpath('GST_REGISTRY', gstregistry)
+
         # 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]