blob: 0337aba65b920aa6e98975245af0976c1f08c4d5 (
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
51
52
|
# Maintainer: absrdspc <repom2@airmail.cc>
# Maintainer: Bruno Pagani <archange@archlinux.org>
# Maintainer: Morten Linderud <foxboron@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Christian Himpel <chressie at gmail dot com>
# Contributor: Johannes Hanika <hanatos at gmail dot com>
pkgname=darktable-rc
epoch=2
pkgver=3.4.1
pkgrel=1
pkgdesc="Utility to organize and develop raw images (RC/Stable version)"
arch=(x86_64)
url="https://darktable.org"
license=(GPL3)
depends=(pugixml libjpeg-turbo colord-gtk libgphoto2 openexr lensfun iso-codes zlib
exiv2 flickcurl openjpeg2 graphicsmagick lua53 osm-gps-map libsecret openmp
gmic libavif)
optdepends=('dcraw: base curve script'
'perl-image-exiftool: base curve script'
'imagemagick: base curve and noise profile scripts'
'ghostscript: noise profile script'
'gnuplot: noise profile script')
makedepends=(cmake intltool desktop-file-utils llvm clang python-jsonschema libwebp)
source=("https://github.com/darktable-org/darktable/releases/download/release-${pkgver}/darktable-${pkgver}.tar.xz"{,.asc})
sha256sums=('7fc3f851da9bcd7c5053ecd09f21aa3eb6103be98a6c58f52010b6f22174941e' 'SKIP')
validpgpkeys=(C4CBC150699956E2A3268EF5BB5CC8295B1779C9 # darktable releases <release@darktable.org>
F10F9686652B0E949FCD94C318DCA123F949BD3B) # Pascal Obry <pascal@obry.net>
build() {
cmake -B build -S darktable-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_INSTALL_LIBEXECDIR=/usr/lib \
-DCMAKE_BUILD_TYPE=Release \
-DBINARY_PACKAGE_BUILD=1 \
-DBUILD_USERMANUAL=False \
-DUSE_LIBSECRET=ON \
-DUSE_LUA=ON \
-DUSE_COLORD=ON \
-DBUILD_CURVE_TOOLS=ON \
-DBUILD_NOISE_TOOLS=ON \
-DRAWSPEED_ENABLE_LTO=ON \
-DPROJECT_VERSION=${pkgver}
make -C build
}
package() {
make -C build DESTDIR="${pkgdir}" install
ln -s darktable/libdarktable.so "${pkgdir}"/usr/lib/libdarktable.so
}
|