blob: f54e66456b002dca6e1be78c1a62d6257aad8a8b (
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=darktable
pkgver=3.0.0
pkgrel=3
pkgdesc="an open source photography workflow application and raw developer"
url="https://www.darktable.org/"
arch="x86_64 aarch64"
license="GPL-3.0-or-later"
depends="dbus:org.freedesktop.Secrets"
makedepends="
cmake
colord-dev
colord-gtk-dev
cups-dev
curl-dev
exiv2-dev
gtk+3.0-dev
intltool
libjpeg-turbo-dev
json-glib-dev
lcms2-dev
lensfun-dev
flickcurl-dev
libgphoto2-dev
librsvg-dev
libsecret-dev
libwebp-dev
libxml2-dev
libxml2-utils
libxslt
lua5.3-dev
openexr-dev
openjpeg-dev
pugixml-dev
sqlite-dev
tiff-dev"
ldpath="/usr/lib/$pkgname"
subpackages="$pkgname-dbg $pkgname-doc $pkgname-lang"
options="!check" # Dependencies missing
source="https://github.com/darktable-org/darktable/releases/download/release-${pkgver/_/}/darktable-${pkgver/_/.}.tar.xz
fix-ifunc-multiarch.patch
null-char-pointer-sentinel.patch
fix-cmake-none.patch
"
prepare() {
default_prepare
mkdir -p build
}
build() {
cd "$builddir/build"
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=None \
-DBINARY_PACKAGE_BUILD=ON \
..
make
}
package() {
cd "$builddir/build"
make DESTDIR="$pkgdir" install
}
sha512sums="de154cc19281f61316363243db3e531be33ac4c4632d6277ba715884b83a3c35f1d433a0e53f5f1eb7ffe03c6fcba4629612c94f942c196807c876b421faafc6 darktable-3.0.0.tar.xz
bbb665f06b21a75f34a82f26d9e7421281445843b392871d1f851c7b73eabc862bbe43525b669a67429a22fea63bb03ca90b8a1d200d62a52907946ffcd9a7e3 fix-ifunc-multiarch.patch
5ca542c875c769c4475b0b75244365f2e5829e451e05b9294627e154de9559c995aa252f128f6ffab36c60d17a618ff562abddb88c981672960e7c35e612ebdb null-char-pointer-sentinel.patch
62e7214fb8cadd5f7d994283c684e39052ccfb020861852126dd4af8b071c406a57a08580b0d3415e1e12634b1e88af9c29da420e2f58edb57849db0d4954b29 fix-cmake-none.patch"
|