summaryrefslogtreecommitdiff
path: root/extra/digikam/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/digikam/PKGBUILD')
-rw-r--r--extra/digikam/PKGBUILD27
1 files changed, 22 insertions, 5 deletions
diff --git a/extra/digikam/PKGBUILD b/extra/digikam/PKGBUILD
index 1ec455c62..527e359df 100644
--- a/extra/digikam/PKGBUILD
+++ b/extra/digikam/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 180024 2013-03-14 20:15:45Z andrea $
+# $Id: PKGBUILD 184369 2013-05-06 19:36:56Z foutrelis $
# Maintainer: Ronald van Haren <ronald@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
@@ -6,7 +6,7 @@
pkgbase=digikam
pkgname=('digikam' 'kipi-plugins' 'libkface' 'libkgeomap' 'libkvkontakte' 'libmediawiki')
pkgver=3.1.0
-pkgrel=1
+pkgrel=4
pkgdesc="Digital photo management application for KDE"
arch=('i686' 'x86_64')
license=('GPL')
@@ -14,11 +14,28 @@ url="http://www.digikam.org/"
makedepends=('kdepimlibs' 'libkexiv2' 'libkdcraw' 'libkipi' 'libksane' 'liblqr'
'kdeedu-marble' 'opencv' 'boost' 'libgpod' 'qjson' 'hugin'
'cmake' 'automoc4' 'doxygen' 'lensfun')
-source=("http://download.kde.org/stable/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
-sha1sums=('f4ce304acdf10e859ab8f70ce9d53a05d92d4fbd')
+source=("http://download.kde.org/stable/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ "digikam-3.1.0-htmlexport.patch"
+ "digikam-3.1.0-fixed-pngs.tar.gz")
+noextract=("digikam-3.1.0-fixed-pngs.tar.gz")
+sha1sums=('f4ce304acdf10e859ab8f70ce9d53a05d92d4fbd'
+ 'ef3ee0b6e56e692eb7c10cda5cd581d20c3c46bb'
+ 'b0a1991e0df9b72c79562c719bc9d944a3b8bc78')
-build() {
+prepare() {
mkdir build
+
+ cd ${pkgname}-${pkgver}
+
+ # https://bugs.kde.org/show_bug.cgi?id=316620
+ patch -Np1 -i "${srcdir}/digikam-3.1.0-htmlexport.patch"
+
+ # Fix invalid PNG images to work with libpng 1.6
+ # https://bugs.kde.org/show_bug.cgi?id=319350
+ tar xf "${srcdir}/digikam-3.1.0-fixed-pngs.tar.gz" --strip-components=1
+}
+
+build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \