[gir-repository] Disable modules for newer GStreamer versions



commit 9da8c4a6661b3055af417e84c5676b58bf6184f4
Author: Johan Dahlin <johan gnome org>
Date:   Tue Dec 8 10:42:27 2009 -0200

    Disable modules for newer GStreamer versions
    
    GStreamer is supporting introspection starting from 0.10.25,
    disable building for newer versions as we want to go through
    upstream in these cases.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=594999

 configure.ac |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 557e760..b0343c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -136,8 +136,8 @@ PKG_CHECK_MODULES(CLUTTERCAIRO, clutter-cairo-0.8 >= 0.8,
                   have_clutter_cairo=true, have_clutter_cairo=false)
 AM_CONDITIONAL(BUILD_CLUTTERCAIRO, $have_clutter_cairo)
 
-dnl gstreamer
-PKG_CHECK_MODULES(GSTREAMER, gstreamer-0.10 >= 0.10.0, 
+dnl gstreamer supports introspection starting from 0.10.25
+PKG_CHECK_MODULES(GSTREAMER, [gstreamer-0.10 >= 0.10.0 gstreamer-0.10 < 0.10.25],
                   have_gstreamer=true, have_gstreamer=false)
 AM_CONDITIONAL(BUILD_GSTREAMER, $have_gstreamer)
 
@@ -159,9 +159,9 @@ if $have_gstreamer ; then
 fi
 AM_CONDITIONAL(HAVE_GSTTASKPOOL_H, $have_gsttaskpool_h)
 
-dnl gstreamer
-PKG_CHECK_MODULES(GSTREAMER_PLUGINS_BASE, gstreamer-plugins-base-0.10 >= 0.10.0, 
-                  have_gstreamer_plugins_base=true, 
+dnl gst-plugins-base supports introspection starting from 0.10.25
+PKG_CHECK_MODULES(GSTREAMER_PLUGINS_BASE, [gstreamer-plugins-base-0.10 >= 0.10.0 gstreamer-plugins-base-0.10 < 0.10.25],
+                  have_gstreamer_plugins_base=true,
                   have_gstreamer_plugins_base=false)
 AM_CONDITIONAL(BUILD_GSTREAMER_PLUGINS_BASE, $have_gstreamer_plugins_base)
 



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