diff options
-rw-r--r-- | media-video/kaffeine/files/kaffeine-2.0.9-kf5.34.patch | 22 | ||||
-rw-r--r-- | media-video/kaffeine/kaffeine-2.0.9.ebuild | 2 |
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 |