[grilo-plugins] tracker: bump tracker requirement to 0.10.5



commit f6a669078ad718eea49dd055129717a6f5cf09f1
Author: Lionel Landwerlin <lionel g landwerlin linux intel com>
Date:   Wed Mar 30 11:36:23 2011 +0100

    tracker: bump tracker requirement to 0.10.5
    
    Some of the ontology we use are only available in 0.10.5.
    
    Signed-off-by: Lionel Landwerlin <lionel g landwerlin linux intel com>

 configure.ac |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d9137e7..0d38075 100644
--- a/configure.ac
+++ b/configure.ac
@@ -125,11 +125,11 @@ AC_CHECK_HEADER([gcrypt.h], HAVE_GCRYPT=yes, HAVE_GCRYPT=no)
 
 PKG_CHECK_MODULES(GTHREAD, gthread-2.0, HAVE_GTHREAD=yes, HAVE_GTHREAD=no)
 
-PKG_CHECK_MODULES(TRACKER_SPARQL, tracker-sparql-0.10,
-                                  HAVE_TRACKER_SPARQL=yes,
-                                  [PKG_CHECK_MODULES(TRACKER_SPARQL, tracker-sparql-0.9,
-                                                                     HAVE_TRACKER_SPARQL=yes,
-                                                                     HAVE_TRACKER_SPARQL=no)])
+REQUIRED_TRACKER_VERSION=0.10.5
+PKG_CHECK_MODULES(TRACKER_SPARQL,
+                  tracker-sparql-0.10 >= ${REQUIRED_TRACKER_VERSION},
+                  HAVE_TRACKER_SPARQL=yes,
+                  HAVE_TRACKER_SPARQL=no)
 
 PKG_CHECK_MODULES(GLIB_2_26, glib-2.0 >= 2.26.0,
                              HAVE_GLIB_2_26=yes,
@@ -669,7 +669,7 @@ AC_ARG_ENABLE(tracker,
                 case "$enableval" in
                      yes)
                         if test "x$HAVE_TRACKER_SPARQL" = "xno"; then
-                           AC_MSG_ERROR([tracker-sparql-0.9 not found, install it or use --disable-tracker])
+                           AC_MSG_ERROR([tracker-sparql ${REQUIRED_TRACKER_VERSION} not found, install it or use --disable-tracker])
                         fi
                         if test "x$HAVE_GLIB_2_26" = "xno"; then
                            AC_MSG_ERROR([glib-2.26.0 or above not found, install it or use --disable-tracker])



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