extra/digikam to 5.6.0-4

This commit is contained in:
Kevin Mihelich 2017-08-21 11:54:42 +00:00
parent 98a67dee4b
commit 907e25a6b5

View file

@ -11,7 +11,7 @@ pkgbase=digikam
pkgname=('digikam' 'kipi-plugins')
_pkgver=5.6.0
pkgver=${_pkgver//-/_} # for beta versions
pkgrel=2
pkgrel=4
pkgdesc="Digital photo management application for KDE"
arch=('i686' 'x86_64')
license=('GPL')
@ -21,8 +21,10 @@ makedepends=('extra-cmake-modules' 'libkipi' 'libksane' 'liblqr' 'opencv' 'boost
'kfilemetadata' 'akonadi-contacts' 'qtav' 'threadweaver' 'kcalcore'
'knotifyconfig' 'libmediawiki' 'libkvkontakte')
source=("http://download.kde.org/stable/${pkgname}/${pkgname}-${_pkgver}.tar.xz"
digikam-cmake-3.9.patch::"https://cgit.kde.org/digikam.git/patch/?id=7e00441c"
'0001-optionally-enable-OpenGL.patch')
sha256sums=('65bdd3f15668e314b852d523a0bf95da32450f31fcfda60da62e57d4622a663c'
'f7efc50dd63711388b6b119a7b3413f49deca233687e7ef1bafecf4c76491eff'
'f6f234f430f02e058e12e48577f9d8441959e84b42f4e50d733706be8b214bf5')
prepare() {
@ -30,6 +32,9 @@ prepare() {
# sv docs fail to build
sed -e '/sv/d' -i $pkgname-$pkgver/doc-translated/CMakeLists.txt
fix build with cmake 3.9
cd $pkgbase-$pkgver/core
patch -p1 -i ../../digikam-cmake-3.9.patch
# OpenGL switch
cd $pkgname-$pkgver