summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-05-17 20:20:07 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-05-17 20:46:29 +0200
commite335eb7a0ad985e43cc740ec33d5abc0c0c85add (patch)
tree9b64ead881178f49938ed4cbf980dfc99197f72b /media-video/kaffeine
parentdev-python/flask-whooshalchemy: Bump to 0.8 (diff)
downloadgentoo-e335eb7a0ad985e43cc740ec33d5abc0c0c85add.tar.gz
gentoo-e335eb7a0ad985e43cc740ec33d5abc0c0c85add.tar.bz2
gentoo-e335eb7a0ad985e43cc740ec33d5abc0c0c85add.zip
media-video/kaffeine: Fix configure with >=KF-5.34
Reported-by: Geoff Madden <mgmadden@internode.on.net> Gentoo-bug: 615616 Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'media-video/kaffeine')
-rw-r--r--media-video/kaffeine/files/kaffeine-2.0.9-kf5.34.patch22
-rw-r--r--media-video/kaffeine/kaffeine-2.0.9.ebuild2
2 files changed, 24 insertions, 0 deletions
diff --git a/media-video/kaffeine/files/kaffeine-2.0.9-kf5.34.patch b/media-video/kaffeine/files/kaffeine-2.0.9-kf5.34.patch
new file mode 100644
index 000000000000..3fba1d22ba98
--- /dev/null
+++ b/media-video/kaffeine/files/kaffeine-2.0.9-kf5.34.patch
@@ -0,0 +1,22 @@
+commit 657c11d76271f66fc3f40b60c5ba782061e8d895
+Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Wed May 17 20:15:43 2017 +0200
+
+ Remove duplicate call of ki18n_install
+
+ Release script is adding this as well to tarball CMakeLists.txt.
+ That has worked in the past, but is fatal in KDE Frameworks 5.34.
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 9a88958..3c4601d 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -95,8 +95,6 @@ add_subdirectory(src)
+ if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po")
+ if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/po/CMakeLists.txt" )
+ add_subdirectory(po)
+- else()
+- ki18n_install(po)
+ endif()
+ endif()
+
diff --git a/media-video/kaffeine/kaffeine-2.0.9.ebuild b/media-video/kaffeine/kaffeine-2.0.9.ebuild
index 8d37f639db50..31cb79ae2e7f 100644
--- a/media-video/kaffeine/kaffeine-2.0.9.ebuild
+++ b/media-video/kaffeine/kaffeine-2.0.9.ebuild
@@ -45,6 +45,8 @@ RDEPEND="${CDEPEND}
DOCS=( Changelog NOTES README.md )
+PATCHES=( "${FILESDIR}/${P}-kf5.34.patch" )
+
src_prepare() {
kde5_src_prepare