[rygel] build: Require specific minor version of certain deps



commit dbca18dfc3f7442b480647b49154d5535b088263
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Mar 1 18:48:22 2011 +0200

    build: Require specific minor version of certain deps

 configure.ac |   21 ++++++++++++++++-----
 1 files changed, 16 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5c4fd54..707b69e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,15 +29,21 @@ LT_INIT([dlopen disable-static])
 
 dnl Required versions of library packages
 VALA_REQUIRED=0.11.6
+GSSDP_MAX_VERSION=0.10.9999
 GSSDP_REQUIRED=0.9.2
+GUPNP_MAX_VERSION=0.16.9999
 GUPNP_REQUIRED=0.13.4
+GUPNP_AV_MAX_VERSION=0.8.9999
 GUPNP_AV_REQUIRED=0.7.0
+GUPNP_DLNA_MAX_VERSION=0.6.9999
 GUPNP_DLNA_REQUIRED=0.5.0
 GUPNP_VALA_REQUIRED=0.7.5
 GSTREAMER_REQUIRED=0.10.23
 GIO_REQUIRED=2.26
+GEE_MAX_VERSION=0.6.9999
 GEE_REQUIRED=0.5.2
 UUID_REQUIRED=1.41.3
+LIBSOUP_MAX_VERSION=2.34.9999
 LIBSOUP_REQUIRED=2.26.0
 GTK_REQUIRED=2.90.3
 
@@ -46,15 +52,20 @@ GSTREAMER_TAG_REQUIRED=0.10.28
 GSTREAMER_APP_REQUIRED=0.10.28
 LIBSQLITE3_REQUIRED=3.5
 
-PKG_CHECK_MODULES(LIBGSSDP, gssdp-1.0 >= $GSSDP_REQUIRED)
-PKG_CHECK_MODULES(LIBGUPNP, gupnp-1.0 >= $GUPNP_REQUIRED)
-PKG_CHECK_MODULES(LIBGUPNP_AV, gupnp-av-1.0 >= $GUPNP_AV_REQUIRED)
-PKG_CHECK_MODULES(LIBGUPNP_DLNA, gupnp-dlna-1.0 >= $GUPNP_DLNA_REQUIRED)
+PKG_CHECK_MODULES(LIBGSSDP, gssdp-1.0 >= $GSSDP_REQUIRED
+                            gssdp-1.0 <= $GSSDP_MAX_VERSION)
+PKG_CHECK_MODULES(LIBGUPNP, gupnp-1.0 >= $GUPNP_REQUIRED
+                            gupnp-1.0 <= $GUPNP_MAX_VERSION)
+PKG_CHECK_MODULES(LIBGUPNP_AV, gupnp-av-1.0 >= $GUPNP_AV_REQUIRED
+                               gupnp-av-1.0 <= $GUPNP_AV_MAX_VERSION)
+PKG_CHECK_MODULES(LIBGUPNP_DLNA, gupnp-dlna-1.0 >= $GUPNP_DLNA_REQUIRED
+                                 gupnp-dlna-1.0 <= $GUPNP_DLNA_MAX_VERSION)
 PKG_CHECK_MODULES(LIBGSTREAMER, gstreamer-0.10 >= $GSTREAMER_REQUIRED)
 PKG_CHECK_MODULES(LIBGIO, gio-2.0 >= $GIO_REQUIRED)
 PKG_CHECK_MODULES(GEE, gee-1.0 >= $GEE_REQUIRED)
 PKG_CHECK_MODULES(UUID, uuid >= $UUID_REQUIRED)
-PKG_CHECK_MODULES(LIBSOUP, libsoup-2.4 >= $LIBSOUP_REQUIRED)
+PKG_CHECK_MODULES(LIBSOUP, libsoup-2.4 >= $LIBSOUP_REQUIRED
+                           libsoup-2.4 <= $LIBSOUP_MAX_VERSION)
 
 dnl glib-genmarshal
 GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`



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