From 5b327a3fc3c4b554baccf2075a97b61a51b606ea Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 26 Sep 2016 07:58:04 -0300 Subject: kipi-plugins-5.2.0-1.parabola1{,.nonprism1}: updating version --- nonprism/kipi-plugins/PKGBUILD | 50 ++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 26 deletions(-) (limited to 'nonprism/kipi-plugins/PKGBUILD') 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 # Contributor (Arch): Andrea Scarpino # Contributor (Arch): Tobias Powalowski @@ -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 -- cgit v1.2.3