[rygel/wip/meson: 33/34] meson: Update for tracker 2.0 api



commit bc8e646db56641fb268d077998988bb35218cc28
Author: Jens Georg <mail jensge org>
Date:   Sat Jun 2 09:51:40 2018 +0200

    meson: Update for tracker 2.0 api

 meson.build | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index a5e95068..00bbdc0f 100644
--- a/meson.build
+++ b/meson.build
@@ -68,7 +68,12 @@ gstreamer_tag = dependency('gstreamer-tag-1.0', version : '>= 1.0')
 gdk_pixbuf = dependency('gdk-pixbuf-2.0')
 gtk = dependency('gtk+-3.0', version : '>= 3.0')
 
-tracker_sparql = dependency('tracker-sparql-1.2', required : false)
+
+tracker_sparql = dependency('tracker-sparql-2.0', required : false)
+if not tracker_sparql.found()
+    tracker_sparql = dependency('tracker-sparql-1.2', required : false)
+endif
+
 if not tracker_sparql.found()
     tracker_sparql = dependency('tracker-sparql-1.0')
 endif


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