[arch-commits] Commit in kphotoalbum/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Tue Aug 28 19:10:16 UTC 2018


    Date: Tuesday, August 28, 2018 @ 19:10:16
  Author: arojas
Revision: 375017

Fix build with Qt 5.11

Modified:
  kphotoalbum/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-28 18:05:40 UTC (rev 375016)
+++ PKGBUILD	2018-08-28 19:10:16 UTC (rev 375017)
@@ -15,13 +15,21 @@
 depends=('libkipi' 'libkdcraw' 'libkgeomap' 'exiv2')
 makedepends=('extra-cmake-modules' 'plasma-framework' 'phonon-qt5' 'kdoctools' 'kparts' 'libkexiv2')
 optdepends=()
-source=("https://download.kde.org/stable/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.sig})
+source=("https://download.kde.org/stable/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.sig}
+        kphotoalbum-qt-5.11.patch::"https://github.com/KDE/kphotoalbum/commit/47f4c00a.patch")
 sha256sums=('c1175489c70902511d7fa7c261a65d4dd19a3a651a1811edea3034e36fda88d1'
-            'SKIP')
+            'SKIP'
+            '78fd0e12826c9fa8c36f3be5bf8a7048ed1382be1a813d985bc65eba9b52ba66')
 validpgpkeys=('8A53F0CB9F752E6F4F72FEC6F8DECD0DDF0F74A8') # Tobias Leupold <tobias.leupold at gmx.de>
 
+prepare() {
+  mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kphotoalbum-qt-5.11.patch # Fix build with Qt 5.11
+}
+
 build() {
-  mkdir build
   cd build
 
   cmake ../${pkgname}-${pkgver} \



More information about the arch-commits mailing list