summaryrefslogtreecommitdiff
path: root/nonprism/kipi-plugins/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-09-26 07:58:04 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-09-26 11:16:42 -0300
commit5b327a3fc3c4b554baccf2075a97b61a51b606ea (patch)
tree16494f18e0bcca824257b4cd1c49f130b9537ebb /nonprism/kipi-plugins/PKGBUILD
parentdcd85beedde6eb0b848b965df6ec307cba952973 (diff)
downloadabslibre-5b327a3fc3c4b554baccf2075a97b61a51b606ea.tar.gz
abslibre-5b327a3fc3c4b554baccf2075a97b61a51b606ea.tar.bz2
abslibre-5b327a3fc3c4b554baccf2075a97b61a51b606ea.zip
kipi-plugins-5.2.0-1.parabola1{,.nonprism1}: updating version
Diffstat (limited to 'nonprism/kipi-plugins/PKGBUILD')
-rw-r--r--nonprism/kipi-plugins/PKGBUILD50
1 files changed, 24 insertions, 26 deletions
diff --git a/nonprism/kipi-plugins/PKGBUILD b/nonprism/kipi-plugins/PKGBUILD
index d423c0070..445d14396 100644
--- a/nonprism/kipi-plugins/PKGBUILD
+++ b/nonprism/kipi-plugins/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 275324 2016-08-30 17:01:57Z arojas $
+# $Id: PKGBUILD 276865 2016-09-23 11:17:29Z arojas $
# Maintainer (Arch): Ronald van Haren <ronald@archlinux.org>
# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
# Contributor (Arch): Tobias Powalowski <tpowa@archlinux.org>
@@ -7,9 +7,9 @@
pkgbase=digikam
pkgname=kipi-plugins
-_pkgver=5.1.0
-pkgver=${_pkgver//-/_}
-pkgrel=4.parabola1.nonprism1
+_pkgver=5.2.0
+pkgver=${_pkgver//-/_} # for beta versions
+pkgrel=1.parabola1.nonprism1
pkgdesc="Digital photo management application for KDE"
arch=('i686' 'x86_64' 'armv7h')
license=('GPL')
@@ -17,19 +17,17 @@ url="http://www.digikam.org/"
replaces=("${pkgname}-libre" "${pkgname}-libre-nonprism")
conflicts=("${pkgname}-libre" "${pkgname}-libre-nonprism")
makedepends=('extra-cmake-modules' 'libkipi' 'libksane' 'liblqr' 'opencv' 'boost'
- 'opencv' 'doxygen' 'lensfun' 'eigen' 'kdoctools' 'marble' 'kdesignerplugin'
- 'kfilemetadata' 'akonadi-contact' 'qt5-multimedia' 'threadweaver' 'kcalcore'
- 'knotifyconfig' 'libmediawiki' 'libkvkontakte')
+ 'doxygen' 'lensfun' 'eigen' 'kdoctools' 'marble' 'kdesignerplugin'
+ 'kfilemetadata' 'akonadi-contacts' 'qt5-multimedia' 'threadweaver' 'kcalcore'
+ 'knotifyconfig' 'libmediawiki' 'libkvkontakte' 'gphoto2')
source=("http://download.kde.org/stable/${pkgbase}/${pkgbase}-${_pkgver}.tar.xz"
- "digikam-5.1-fix-build.patch"
- kdebug-367675.patch::"https://quickgit.kde.org/?p=digikam.git&a=commitdiff&h=463667c8&o=plain"
"libre.patch"
- "nonprism.patch")
-sha1sums=('87a843c39f45b8704ead6e6029e52fb03ee44680'
- '5b6644c8b5534a1712f46fc84948de9a0039a601'
- 'd669d6f248d6c7dec6728037992fdf8d4e14c1d9'
- 'ed2a01c4a837b50d3c1ad0d4758f2fa3bb44402f'
- '3e0f11296e887171c4f5f05652bb0ea635b021fd')
+ "nonprism.patch"
+ '0001-optionally-enable-OpenGL.patch')
+sha1sums=('329195ac7ea890a3bec435cd2ed83b04bc80ba1d'
+ 'edd5b5eeae7ed4139b4c5f6a8446990f1da2e544'
+ '13854d5db12a5be5d866eb37290db8ac1db7c1a3'
+ '2711c73bdecbf355d4b8be1fa0c46be2e0e22df8')
prepare() {
mkdir -p build
@@ -38,28 +36,32 @@ prepare() {
patch -p1 -i ../libre.patch
patch -p1 -i ../nonprism.patch
- # Fix build on i686
- patch -p1 -i ../digikam-5.1-fix-build.patch
- # Fix digikamhelperdir
- cd core
- patch -p1 -i "$srcdir"/kdebug-367675.patch
+ # OpenGL switch
+ if [[ "$CARCH" = arm* ]]; then
+ patch -p1 -i ${srcdir}/0001-optionally-enable-OpenGL.patch
+ fi
}
build() {
cd build
+ if [[ "$CARCH" = arm* ]]; then
+ local cmake_extra="-DENABLE_OPENGL=OFF"
+ fi
+
cmake ../${pkgbase}-${_pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SKIP_RPATH=ON \
-DBUILD_TESTING=OFF \
-DENABLE_KFILEMETADATASUPPORT=ON \
-DENABLE_MEDIAPLAYER=ON \
-DENABLE_AKONADICONTACTSUPPORT=ON \
-DENABLE_MYSQLSUPPORT=ON \
+ -DENABLE_OPENCV3=ON \
+ -DENABLE_APPSTYLES=ON \
-DDIGIKAMSC_COMPILE_LIBKVKONTAKTE=OFF \
- -DENABLE_OPENCV3=ON
+ $cmake_extra
make
}
@@ -70,10 +72,6 @@ package_kipi-plugins() {
cd build/extra
make DESTDIR="$pkgdir" install
- cd $srcdir/build/doc/kipi-plugins
- make DESTDIR="$pkgdir" install
- cd $srcdir/build/doc-translated/kipi-plugins
- make DESTDIR="pkgdir" install
cd $srcdir/build/po
make DESTDIR="$pkgdir" install