media-video/kaffeine: Fix configure with >=KF-5.34
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 17 May 2017 18:20:07 +0000 (20:20 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 17 May 2017 18:46:29 +0000 (20:46 +0200)
Reported-by: Geoff Madden <mgmadden@internode.on.net>
Gentoo-bug: 615616

Package-Manager: Portage-2.3.5, Repoman-2.3.1

media-video/kaffeine/files/kaffeine-2.0.9-kf5.34.patch [new file with mode: 0644]
media-video/kaffeine/kaffeine-2.0.9.ebuild

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 (file)
index 0000000..3fba1d2
--- /dev/null
@@ -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()
+ 
index 8d37f639db502b212edb33871d8068e940b9ac7f..31cb79ae2e7f070cf31fd83775de591258738559 100644 (file)
@@ -45,6 +45,8 @@ RDEPEND="${CDEPEND}
 
 DOCS=( Changelog NOTES README.md )
 
+PATCHES=( "${FILESDIR}/${P}-kf5.34.patch" )
+
 src_prepare() {
        kde5_src_prepare