Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=kde5.git;a=commitdiff;h=6fc8b4d7a7e7a7f2660c039aa7983b2b64ade5b9
commit 6fc8b4d7a7e7a7f2660c039aa7983b2b64ade5b9 Author: crazy <[email protected]> Date: Mon May 15 01:27:48 2017 +0200 kaffeine-2.0.9-2-x86_64 * added workaround patch for kf5 >= 5.34.0 diff --git a/source/kde5/kaffeine/FrugalBuild b/source/kde5/kaffeine/FrugalBuild index dfbe5e7..52f941e 100644 --- a/source/kde5/kaffeine/FrugalBuild +++ b/source/kde5/kaffeine/FrugalBuild @@ -11,10 +11,12 @@ groups=('kde5') url="http://kaffeine.kde.org" _F_kde_dirname="stable/$pkgname/$pkgver/src" Finclude kf5 +source+=(ki18n-5.34.0-workaround.patch) up2date="Flastverdir $_F_kde_mirror/stable/$pkgname" depends=("kio>=$_F_kf5_full" 'libxscrnsaver' 'libvlc' 'v4l-utils') makedepends+=('kdoctools') -sha1sums=('3d60e7ade535b4d80a3b21018cea0a9269d1c762') +sha1sums=('3d60e7ade535b4d80a3b21018cea0a9269d1c762' \ + '602d22a15a42bb32ed49c21fa8c8e00ebc7cfc97') # optimization OK diff --git a/source/kde5/kaffeine/ki18n-5.34.0-workaround.patch b/source/kde5/kaffeine/ki18n-5.34.0-workaround.patch new file mode 100644 index 0000000..3736cb6 --- /dev/null +++ b/source/kde5/kaffeine/ki18n-5.34.0-workaround.patch @@ -0,0 +1,15 @@ +diff -Naur kaffeine-2.0.9/CMakeLists.txt kaffeine-2.0.9-p/CMakeLists.txt +--- kaffeine-2.0.9/CMakeLists.txt 2017-03-08 18:54:14.000000000 +0100 ++++ kaffeine-2.0.9-p/CMakeLists.txt 2017-05-15 01:21:21.628004491 +0200 +@@ -22,6 +22,11 @@ + cmake_policy(SET CMP0063 NEW) + endif(POLICY CMP0063) + ++## workaround for ki18n 5.34.0++ changes ++if(POLICY CMP0002) ++ cmake_policy(SET CMP0002 OLD) ++endif(CMP0002) ++ + find_package(Qt5Core) + find_package(ECM 1.0.0 REQUIRED NO_MODULE) + set(CMAKE_MODULE_PATH _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
