blob: 5ecda0b3dd9d8251190514ec92ea977bef808a2d (
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
|
# Contributor: Kevin Daudt <ops@ikke.info>
# Maintainer: Kevin Daudt <ops@ikke.info>
pkgname=darktable
pkgver=2.2.0_rc1
pkgrel=0
pkgdesc="an open source photography workflow application and raw developer"
url="https://www.darktable.org/"
arch="all !armhf"
license="GPL3"
depends="libxslt gtk+3.0 libgphoto2 libwebp lensfun librsvg sqlite curl jpeg
tiff lcms2 json-glib exiv2 lua5.2 pugixml colord colord-gtk openexr"
makedepends="cmake intltool gtk+3.0-dev libgphoto2-dev libwebp-dev
lensfun-dev librsvg-dev sqlite-dev curl-dev jpeg-dev tiff-dev
lcms2-dev json-glib-dev exiv2-dev lua5.2-dev pugixml-dev
colord-dev colord-gtk-dev openexr-dev"
subpackages="$pkgname-dbg $pkgname-doc $pkgname-lang"
source="https://github.com/darktable-org/darktable/releases/download/release-${pkgver/_/}/darktable-${pkgver/_/.}.tar.xz"
builddir="$srcdir/$pkgname-${pkgver/_/~}"
prepare() {
cd "$builddir"
mkdir -p build
}
build() {
cd "$builddir/build"
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=Release \
.. || return 1
make
}
package() {
cd "$builddir/build"
make DESTDIR="$pkgdir" install
}
md5sums="e3490c52777f7323ea299d5ec2b7c56e darktable-2.2.0.rc1.tar.xz"
sha256sums="0612163b0020bc3326909f6d7f7cbd8cfb5cff59b8e0ed1a9e2a2aa17d8f308e darktable-2.2.0.rc1.tar.xz"
sha512sums="5bea66c649ad9965ce68f1ee478e6780193c4c30e5bf4ab7838800569a25bcfa4c7833acd8f15a65ba4c046323951f469ff3fa0afda08df9a3b69a4e0b779696 darktable-2.2.0.rc1.tar.xz"
|