1 # $Id: PKGBUILD 320127 2018-03-24 09:48:28Z arojas $
2 # Maintainer: Ronald van Haren <ronald@archlinux.org>
3 # Maintainer: Antonio Rojas <arojas@archlinux.org>
4 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 # Contributor: Tobias Powalowski <tpowa@archlinux.org>
9 pkgver=${_pkgver//-/} # for beta versions
11 pkgdesc='An advanced digital photo management application'
14 url='https://www.digikam.org/'
15 depends=(lensfun opencv akonadi-contacts knotifyconfig libksane kfilemetadata marble-common threadweaver kcalendarcore
16 qt5-networkauth qt5-xmlpatterns imagemagick jasper glu perl-image-exiftool)
17 makedepends=(extra-cmake-modules doxygen eigen boost kdoctools)
18 optdepends=('hugin: panorama tool' 'qt5-imageformats: support for additional image formats (WEBP, TIFF)'
19 'rawtherapee: RAW import' 'darktable: RAW import'
20 'perl: for digitaglinktree')
21 source=(https://download.kde.org/unstable/$pkgname/${_pkgver%-*}/digiKam-$_pkgver.tar.xz{,.sig})
22 sha256sums=('1fcaa0a2a1abd56b759548d049089604710e9c3849e74252667a12c80bf0bdd9'
24 validpgpkeys=(D1CF2444A7858C5F2FB095B74A77747BC2386E50) # digiKam.org (digiKam project) <digikamdeveloper@gmail.com>
28 cmake -B build -S $pkgname-$_pkgver \
30 -DENABLE_KFILEMETADATASUPPORT=ON \
31 -DENABLE_MEDIAPLAYER=ON \
32 -DENABLE_AKONADICONTACTSUPPORT=ON \
33 -DENABLE_MYSQLSUPPORT=ON \
34 -DENABLE_APPSTYLES=ON \
35 -DENABLE_QWEBENGINE=ON
40 DESTDIR="$pkgdir" cmake --install build