archrelease: copy kde-unstable to kde-unstable-x86_64
[arch-packages.git] / digikam / repos / kde-unstable-x86_64 / PKGBUILD
blob9e0cec616c1fcd23552d48c1c61e3952a87192a4
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>
7 pkgname=digikam
8 _pkgver=8.0.0-beta1
9 pkgver=${_pkgver//-/} # for beta versions
10 pkgrel=3
11 pkgdesc='An advanced digital photo management application'
12 arch=(x86_64)
13 license=(GPL)
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'
23             'SKIP')
24 validpgpkeys=(D1CF2444A7858C5F2FB095B74A77747BC2386E50) # digiKam.org (digiKam project) <digikamdeveloper@gmail.com>
25 options=(debug)
27 build() {
28   cmake -B build -S $pkgname-$_pkgver \
29     -DBUILD_TESTING=OFF \
30     -DENABLE_KFILEMETADATASUPPORT=ON \
31     -DENABLE_MEDIAPLAYER=ON \
32     -DENABLE_AKONADICONTACTSUPPORT=ON \
33     -DENABLE_MYSQLSUPPORT=ON \
34     -DENABLE_APPSTYLES=ON \
35     -DENABLE_QWEBENGINE=ON
36   cmake --build build
39 package() {
40   DESTDIR="$pkgdir" cmake --install build