mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-17 22:52:40 +01:00
67 lines
1.4 KiB
Plaintext
67 lines
1.4 KiB
Plaintext
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
pkgname=darktable
|
|
pkgver=2.6.2
|
|
pkgrel=0
|
|
pkgdesc="an open source photography workflow application and raw developer"
|
|
url="https://www.darktable.org/"
|
|
arch="x86 x86_64 aarch64"
|
|
license="GPL-3.0"
|
|
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"
|
|
builddir="$srcdir/$pkgname-${pkgver/_/~}"
|
|
|
|
prepare() {
|
|
default_prepare || return 1
|
|
|
|
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 \
|
|
-DBINARY_PACKAGE_BUILD=ON \
|
|
.. || return 1
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir/build"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="e7a90535747a8615fa2dbd1eb05f81314cc61c689a8a85fda0e2be40208ab0248e6f6ef296bb0894d3d527ed47c6cf6640538029c0c2d58a38d2d5ce10f6f5c0 darktable-2.6.2.tar.xz"
|