summaryrefslogtreecommitdiff
path: root/nonprism/digikam/PKGBUILD
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-03-17 14:34:22 -0300
committerDavid P <megver83@parabola.nu>2018-03-17 14:34:22 -0300
commit1f1f3f805f0e973873066c65e20310fe021a32c1 (patch)
treeb65d39a07c5d53742328fb33d2e72bfa8356caaa /nonprism/digikam/PKGBUILD
parent4fdb5adf62ea271808c1ab35b753c688006b2953 (diff)
downloadabslibre-1f1f3f805f0e973873066c65e20310fe021a32c1.tar.gz
abslibre-1f1f3f805f0e973873066c65e20310fe021a32c1.tar.bz2
abslibre-1f1f3f805f0e973873066c65e20310fe021a32c1.zip
Re-add nonprism/digikam
I removed it by mistake
Diffstat (limited to 'nonprism/digikam/PKGBUILD')
-rw-r--r--nonprism/digikam/PKGBUILD72
1 files changed, 72 insertions, 0 deletions
diff --git a/nonprism/digikam/PKGBUILD b/nonprism/digikam/PKGBUILD
new file mode 100644
index 000000000..06d55ef0a
--- /dev/null
+++ b/nonprism/digikam/PKGBUILD
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer (Arch): Ronald van Haren <ronald@archlinux.org>
+# Maintainer (Arch): Antonio Rojas <arojas@archlinux.org>
+# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
+# Contributor (Arch): Tobias Powalowski <tpowa@archlinux.org>
+# Contributor: Andreas Grapentin <andreas@grapentin.org>
+# Contributor: André Silva <emulatorman@hyperbola.info>
+# Contributor: Márcio Silva <coadde@hyperbola.info>
+# Contributor: jc_gargma <jc_gargma@iserlohn-fortress.net>
+
+# parabola changes and rationale:
+# - remove libkvkontakte support for kipi-plugins
+
+pkgbase=digikam
+pkgname=(kipi-plugins)
+_pkgver=5.8.0
+pkgver=${_pkgver//-/_} # for beta versions
+pkgrel=1.nonprism1
+pkgdesc="An advanced digital photo management application"
+arch=('x86_64' 'i686' 'armv7h')
+license=('GPL')
+url="http://www.digikam.org/"
+makedepends=(extra-cmake-modules libkipi libksane liblqr opencv doxygen lensfun eigen boost kdoctools marble-common
+ kfilemetadata akonadi-contacts qtav threadweaver kcalcore knotifyconfig libmediawiki libkvkontakte)
+source=("http://download.kde.org/stable/${pkgbase}/${pkgbase}-${_pkgver}.tar.xz"
+ "libre.patch"
+ "nonprism.patch")
+sha256sums=('194a44cc3ca229d501acfba67a38d483d1d64069a85e0491dd28dc2b57091c6e'
+ '80fbe434d326551f3dc029c5db3ad1b50e87870b03185467aa25a5c03764cc89'
+ 'e3d8ec4fd041a5545b7efef167d3b2ae6efc1f510832dabc7430ddfeb6b3c4ac')
+
+prepare() {
+ mkdir -p build
+
+# fix freedom issues
+ cd $pkgbase-$_pkgver
+ patch -Np1 -i "$srcdir"/libre.patch
+ patch -Np1 -i "$srcdir"/nonprism.patch
+}
+
+build() {
+ cd build
+
+ cmake ../${pkgbase}-${_pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTING=OFF \
+ -DENABLE_KFILEMETADATASUPPORT=ON \
+ -DENABLE_MEDIAPLAYER=ON \
+ -DENABLE_AKONADICONTACTSUPPORT=ON \
+ -DENABLE_MYSQLSUPPORT=ON \
+ -DENABLE_OPENCV3=ON \
+ -DENABLE_APPSTYLES=ON \
+ -DENABLE_LEGACY=ON \
+ -DDIGIKAMSC_COMPILE_LIBKVKONTAKTE=OFF
+ make
+}
+
+package_kipi-plugins() {
+ pkgdesc="A collection of plugins extending the KDE graphics and image applications as digiKam, without nonfree suggestions and support for unsafe and dangerous for privacy protocols"
+ depends=(kio libkipi)
+ optdepends=('libmediawiki: MediaWiki Export plugin')
+
+ cd build/extra
+ make DESTDIR="$pkgdir" install
+ cd $srcdir/build/po
+ make DESTDIR="$pkgdir" install
+
+# Provided by digikam
+ rm "$pkgdir"/usr/share/locale/*/LC_MESSAGES/digikam.mo
+}