[folks] build: Add tracker-sparql-2.0 to checks



commit a5c53b1fe98039edb07f5dc598275f193a2dae6d
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Jun 28 23:45:35 2017 +0200

    build: Add tracker-sparql-2.0 to checks
    
    No code changes required, it is expected to remain API compatible
    with the current usage in folks. The TrackerSparqlBuilder API is not
    recommended for new development (superseded by TrackerResource), but
    it will be just marked as deprecated, not removed.

 configure.ac |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e1d7cd4..70670c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -324,7 +324,11 @@ AS_IF([test x$enable_tracker_backend = xyes], [
                             [TRACKER_SPARQL_MAJOR=0.18], [
             PKG_CHECK_MODULES([TRACKER_SPARQL],
                               [tracker-sparql-1.0 >= $TRACKER_SPARQL_REQUIRED],
-                              [TRACKER_SPARQL_MAJOR=1.0])
+                              [TRACKER_SPARQL_MAJOR=1.0], [
+              PKG_CHECK_MODULES([TRACKER_SPARQL],
+                                [tracker-sparql-2.0 >= $TRACKER_SPARQL_REQUIRED],
+                                [TRACKER_SPARQL_MAJOR=2.0])
+            ])
           ])
         ])
 ])


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