[brasero] build: Support build against tracker 0.13/0.14



commit a3c53273c3249209a49052a1625398302e4d4af5
Author: Vincent Untz <vuntz gnome org>
Date:   Thu Jan 19 10:11:46 2012 +0100

    build: Support build against tracker 0.13/0.14
    
    https://bugzilla.gnome.org/show_bug.cgi?id=667852

 configure.in |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/configure.in b/configure.in
index 534fcd9..7cb0343 100644
--- a/configure.in
+++ b/configure.in
@@ -376,16 +376,20 @@ AC_ARG_ENABLE(search,
 			[enable_search="auto"])
 
 if test x"$enable_search" = "xauto"; then
-        PKG_CHECK_EXISTS([tracker-sparql-0.12 >= $TRACKER_REQUIRED],
+        PKG_CHECK_EXISTS([tracker-sparql-0.14 >= $TRACKER_REQUIRED],
                           [enable_search=yes],
-                          [PKG_CHECK_EXISTS([tracker-sparql-0.10 >= $TRACKER_REQUIRED],
+                          [PKG_CHECK_EXISTS([tracker-sparql-0.12 >= $TRACKER_REQUIRED],
                                             [enable_search=yes],
-                                            [enable_search=no])]);
+                                            [PKG_CHECK_EXISTS([tracker-sparql-0.10 >= $TRACKER_REQUIRED],
+                                                              [enable_search=yes],
+                                                              [enable_search=no])])])
 fi
 
 if test x"$enable_search" = "xyes"; then
-        PKG_CHECK_EXISTS([tracker-sparql-0.12 >= $TRACKER_REQUIRED],
-                         [tracker_api=0.12], [tracker_api=0.10])
+        PKG_CHECK_EXISTS([tracker-sparql-0.14 >= $TRACKER_REQUIRED],
+                         [tracker_api=0.14],
+                         [PKG_CHECK_EXISTS([tracker-sparql-0.12 >= $TRACKER_REQUIRED],
+                                           [tracker_api=0.12], [tracker_api=0.10])])
 	PKG_CHECK_MODULES(BRASERO_SEARCH, tracker-sparql-$tracker_api >= $TRACKER_REQUIRED)
 	AC_DEFINE(BUILD_SEARCH, 1, [define if you  want to use search pane])
 	AC_DEFINE(BUILD_TRACKER, 1, [define if you  want to use search pane])



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