blob: b5b9485946e99a45b2f6b0f136158f8910e72abf (
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>
_tag=release-2.2.0rc0
pkgname=darktable
pkgver=2.2.0_rc0
pkgrel=0
pkgdesc="an open source photography workflow application and raw developer"
url="http://www.darktable.org/"
arch="all !armhf"
license="GPL3"
depends="libxslt 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"
makedepends="cmake intltool"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://github.com/darktable-org/darktable/archive/$_tag.tar.gz"
builddir="$srcdir/$pkgname-$_tag"
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="d64520874c0c9606849309b4110a5d73 release-2.2.0rc0.tar.gz"
sha256sums="67cf6f5a460689b7babb65877c5226ef73155d5134e2e4a2c62ad47156ca394d release-2.2.0rc0.tar.gz"
sha512sums="83efe4414420a19239fafdfb5d7ea8bf1bbf3d6cceae97bd8b9e4e65adce4d420dcf0104ed909904eb6fcd4749d6c8bad9f0951de5b63d7cb4d55f0056e260b3 release-2.2.0rc0.tar.gz"
|