diff options
Diffstat (limited to 'media-gfx/gnome-photos/files/3.26.4-support-tracker1.patch')
-rw-r--r-- | media-gfx/gnome-photos/files/3.26.4-support-tracker1.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/media-gfx/gnome-photos/files/3.26.4-support-tracker1.patch b/media-gfx/gnome-photos/files/3.26.4-support-tracker1.patch new file mode 100644 index 000000000000..508b5d3c9a50 --- /dev/null +++ b/media-gfx/gnome-photos/files/3.26.4-support-tracker1.patch @@ -0,0 +1,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 + |