blob: 163e49c3b3126a7ec202b6c3e1352eaecd30b9eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: Chris Lane <aur at chrislane dot com>
pkgname=digikam-git
pkgver=v7.2.0.beta1.r500.g9541292038
pkgrel=2
pkgdesc='An advanced digital photo management application'
arch=('i686' 'x86_64')
license=('GPL')
url="https://www.digikam.org/"
depends=(lensfun opencv akonadi-contacts knotifyconfig libksane kfilemetadata qtav marble-common
threadweaver kcalendarcore qt5-xmlpatterns imagemagick glu jasper)
makedepends=(extra-cmake-modules doxygen eigen boost kdoctools git)
optdepends=('hugin: panorama tool'
'qt5-imageformats: support for additional image formats (WEBP, TIFF)'
'rawtherapee: RAW import'
'darktable: RAW import'
"digikam-plugin-gmic: G'MIC plugin"
'perl: for digitaglinktree')
conflicts=('digikam')
provides=('digikam')
source=('git+https://invent.kde.org/graphics/digikam.git')
md5sums=('SKIP')
pkgver() {
cd digikam
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cmake \
-B build \
-S digikam \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF \
-DENABLE_KFILEMETADATASUPPORT=ON \
-DENABLE_MEDIAPLAYER=ON \
-DENABLE_AKONADICONTACTSUPPORT=ON \
-DENABLE_MYSQLSUPPORT=ON \
-DENABLE_APPSTYLES=ON \
-DENABLE_QWEBENGINE=ON \
-Wno-dev
make -C build
}
package() {
make DESTDIR="${pkgdir}" install -C build
}
# vim:set ts=2 sw=2 et:
|