summaryrefslogtreecommitdiffstats
path: root/gnome-documents/tracker-0.13.patch
blob: 938ae2470ecba69a601ed1324007796fd1778c90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From 62be1ab61bcaa203986983eb25de55130990b632 Mon Sep 17 00:00:00 2001
From: Vincent Untz <vuntz@gnome.org>
Date: Thu, 19 Jan 2012 09:47:07 +0000
Subject: build: Support build against tracker 0.13/0.14

https://bugzilla.gnome.org/show_bug.cgi?id=667854
---
diff --git a/configure.ac b/configure.ac
index 29fa2a2..7f44586 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,6 +58,9 @@ GOA_MIN_VERSION=3.2.0
 CLUTTER_GTK_MIN_VERSION=1.0.2
 TRACKER_MIN_VERSION=0.12.1
 
+PKG_CHECK_EXISTS([tracker-sparql-0.14],
+                 [tracker_api=0.14], [tracker_api=0.12])
+
 PKG_CHECK_MODULES(DOCUMENTS,
                   clutter-gtk-1.0 >= $CLUTTER_GTK_MIN_VERSION
                   evince-document-3.0 >= $EVINCE_MIN_VERSION
@@ -67,13 +70,13 @@ PKG_CHECK_MODULES(DOCUMENTS,
                   gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_MIN_VERSION
                   gtk+-3.0 >= $GTK_MIN_VERSION
                   gnome-desktop-3.0
-                  tracker-sparql-0.12 >= $TRACKER_MIN_VERSION
+                  tracker-sparql-$tracker_api >= $TRACKER_MIN_VERSION
                   goa-1.0 >= $GOA_MIN_VERSION
                   libgdata >= $GDATA_MIN_VERSION
                   oauth)
 
 PKG_CHECK_MODULES(MINER,
-                  tracker-sparql-0.12
+                  tracker-sparql-$tracker_api
                   glib-2.0 >= $GLIB_MIN_VERSION
                   gio-2.0 >= $GLIB_MIN_VERSION
                   goa-1.0 >= $GOA_MIN_VERSION
--
cgit v0.9.0.2