[bijiben] Build: check for Tracker 1.0



commit 583c949e64a7075402ff5f9aea851fb487d541e8
Author: Alex Muñoz <amunoz src gnome org>
Date:   Fri Feb 14 21:40:12 2014 +0100

    Build: check for Tracker 1.0
    
    Look for tracker 0.18 or 1.0

 configure.ac |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7819155..99d2534 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,6 +57,9 @@ AM_PROG_LIBTOOL
 GLIB_REQUIRED_VERSION=2.28
 GTK_REQUIRED_VERSION=3.11.4
 
+PKG_CHECK_MODULES([TRACKER], [tracker-sparql-1.0], [sparql_version="tracker-sparql-1.0"],
+   [PKG_CHECK_MODULES([TRACKER], [tracker-sparql-0.18], [sparql_version="tracker-sparql-0.18"])
+])
 
 PKG_CHECK_MODULES(BIJIBEN,
                   [ clutter-gtk-1.0
@@ -65,7 +68,7 @@ PKG_CHECK_MODULES(BIJIBEN,
                     goa-1.0
                     gtk+-3.0 >= $GTK_REQUIRED_VERSION
                     libxml-2.0
-                    tracker-sparql-0.18
+                    $sparql_version
                     uuid
                     webkitgtk-3.0])
 


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