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
|
From 7b81db71110e325fc6343ae2582942a9ad038311 Mon Sep 17 00:00:00 2001
From: Mart Raudsepp <leio@gentoo.org>
Date: Wed, 16 Jan 2019 05:08:25 +0200
Subject: [PATCH] build: Keep supporting building against tracker-1 too
---
configure.ac | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 5965d33d..13196605 100644
--- a/configure.ac
+++ b/configure.ac
@@ -115,7 +115,12 @@ PKG_CHECK_MODULES(GSETTINGS_DESKTOP_SCHEMAS, [gsettings-desktop-schemas])
PKG_CHECK_MODULES(GTK, [gtk+-3.0 >= $GTK_MIN_VERSION])
PKG_CHECK_MODULES(GTK_UNIX_PRINT, [gtk+-unix-print-3.0])
PKG_CHECK_MODULES(PNG, [libpng16])
-PKG_CHECK_MODULES(TRACKER, [tracker-control-2.0 tracker-sparql-2.0])
+tracker_api="1.0"
+m4_foreach([VERSION], [[1.0], [2.0]],
+ [PKG_CHECK_EXISTS([tracker-control-VERSION tracker-sparql-VERSION],
+ [tracker_api="VERSION"])
+ ])
+PKG_CHECK_MODULES(TRACKER, [tracker-control-$tracker_api tracker-sparql-$tracker_api])
LIBGD_INIT([
gtk-hacks
--
2.17.0
|