summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2019-02-17 14:15:55 +0200
committerMart Raudsepp <leio@gentoo.org>2019-02-17 14:16:55 +0200
commit8af4730b1baa18b0b6049017d7a27241b4c0e94c (patch)
tree8161e8750597f4c1bf5ee58d9c0e1a109138853f /app-misc/tracker-miners/files
parentnet-irc/irssi: force libressl-2.7 or later (diff)
downloadgentoo-8af4730b1baa18b0b6049017d7a27241b4c0e94c.tar.gz
gentoo-8af4730b1baa18b0b6049017d7a27241b4c0e94c.tar.bz2
gentoo-8af4730b1baa18b0b6049017d7a27241b4c0e94c.zip
app-misc/tracker-miners: fix build with ffmpeg media backend
Closes: https://bugs.gentoo.org/678226 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'app-misc/tracker-miners/files')
-rw-r--r--app-misc/tracker-miners/files/2.1.5-libav-build-fix.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-misc/tracker-miners/files/2.1.5-libav-build-fix.patch b/app-misc/tracker-miners/files/2.1.5-libav-build-fix.patch
new file mode 100644
index 000000000000..580ecb34ba22
--- /dev/null
+++ b/app-misc/tracker-miners/files/2.1.5-libav-build-fix.patch
@@ -0,0 +1,29 @@
+From b55c22542de4f0f0166c6e5510ef0ec90bc69f18 Mon Sep 17 00:00:00 2001
+From: Carlos Garnacho <carlosg@gnome.org>
+Date: Mon, 10 Sep 2018 16:19:20 +0200
+Subject: [PATCH] build: Fix build with libav
+
+The extractor rules defined an array inside an array, which configure_file()
+wouldn't accept.
+
+(cherry picked from commit fff231c16b2ad9a2824f09c5b81f31ee220fba6f)
+---
+ src/tracker-extract/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/tracker-extract/meson.build b/src/tracker-extract/meson.build
+index 9834dc422..bf19f8bac 100644
+--- a/src/tracker-extract/meson.build
++++ b/src/tracker-extract/meson.build
+@@ -60,7 +60,7 @@ if libjpeg.found()
+ endif
+
+ if generic_media_handler_name == 'libav'
+- rules = ['90-libav-audio-generic.rule', ['90-libav-video-generic.rule']]
++ rules = ['90-libav-audio-generic.rule', '90-libav-video-generic.rule']
+ dependencies = [avcodec, avformat, avutil, tracker_miners_common_dep]
+ modules += [['extract-libav', 'tracker-extract-libav.c', rules, dependencies]]
+ endif
+--
+2.17.0
+