Date: Tuesday, December 8, 2015 @ 17:35:56
  Author: arojas
Revision: 253980

Fix build with cmake 3.4

Added:
  kdeartwork/trunk/kdeartwork-cmake-3.4.patch
Modified:
  kdeartwork/trunk/PKGBUILD

----------------------------+
 PKGBUILD                   |   11 +++++++++--
 kdeartwork-cmake-3.4.patch |   10 ++++++++++
 2 files changed, 19 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2015-12-08 16:31:10 UTC (rev 253979)
+++ PKGBUILD    2015-12-08 16:35:56 UTC (rev 253980)
@@ -19,9 +19,16 @@
 license=('GPL' 'LGPL' 'FDL')
 groups=('kdeartwork')
 makedepends=('cmake' 'automoc4' 'xscreensaver' 'eigen' 'kdebase-workspace' 
'libkexiv2_4')
-source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz";)
-sha1sums=('e9fbf14feba2ae1e4cad82179ad994a917c11dd4')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz";
 kdeartwork-cmake-3.4.patch)
+sha1sums=('e9fbf14feba2ae1e4cad82179ad994a917c11dd4'
+          '494253df5c0c170ad3df4ac83c3165313b20318b')
 
+prepare() {
+       cd $pkgbase-$pkgver
+       # Fix build with cmake 3.4
+       patch -p1 -i ../kdeartwork-cmake-3.4.patch
+}
+
 build() {
        cd $srcdir
        mkdir -p build

Added: kdeartwork-cmake-3.4.patch
===================================================================
--- kdeartwork-cmake-3.4.patch                          (rev 0)
+++ kdeartwork-cmake-3.4.patch  2015-12-08 16:35:56 UTC (rev 253980)
@@ -0,0 +1,10 @@
+--- kdeartwork-15.08.3/CMakeLists.txt.orig     2015-12-08 17:25:26.818342430 
+0100
++++ kdeartwork-15.08.3/CMakeLists.txt  2015-12-08 17:25:39.205157415 +0100
+@@ -6,6 +6,7 @@
+ find_package(KDE4 REQUIRED)
+ include (KDE4Defaults)
+ include (MacroLibrary)
++include(CheckIncludeFiles)
+ 
+ add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
+ add_definitions( -DQT_NO_CAST_FROM_ASCII )

Reply via email to