[bijiben/gnome-3-26] build: Add support to tracker2 in autotools



commit f4209133fe7294cc546bdead4dab4f48395c0021
Author: Isaque Galdino <igaldino gmail com>
Date:   Mon Oct 30 16:04:09 2017 -0200

    build: Add support to tracker2 in autotools
    
    We have this support added to master, using meson build system.
    
    In order to keep 3.26 still able to compile and main bijiben in new
    distros, we've to add support to tracker2 in gnome-3-26 branch as well.
    
    This patch does that.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=785293

 configure.ac |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index adbe95c..cb8b348 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,8 +64,10 @@ EDS_REQUIRED_VERSION=3.13.90
 WEBKITGTK_REQUIRED_VERSION=2.10.0
 
 
-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([TRACKER], [tracker-sparql-2.0], [sparql_version="tracker-sparql-2.0"],
+  [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([GENMARSHAL],


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