Skip to content

Commit

Permalink
kaffeine-2.0.9-2-x86_64
Browse files Browse the repository at this point in the history
* added workaround patch for kf5 >= 5.34.0
  • Loading branch information
abucodonosor committed May 14, 2017
1 parent ce3f380 commit 6fc8b4d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/kde5/kaffeine/FrugalBuild
Expand Up @@ -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

15 changes: 15 additions & 0 deletions 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

0 comments on commit 6fc8b4d

Please sign in to comment.