diff options
author | Kevin Daudt <ops@ikke.info> | 2018-06-16 20:12:45 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-06-17 04:46:29 +0000 |
commit | 0522443c578b5e623b0f10cfde943209c6c598a5 (patch) | |
tree | b5398e2c7a919253d1f07c0e4501d71bef130427 /community/darktable | |
parent | 66503fe57da2023a775fbf5412bd0a28d92109fa (diff) | |
download | aports-0522443c578b5e623b0f10cfde943209c6c598a5.tar.bz2 aports-0522443c578b5e623b0f10cfde943209c6c598a5.tar.xz |
darktable: move to community
Diffstat (limited to 'community/darktable')
-rw-r--r-- | community/darktable/APKBUILD | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/community/darktable/APKBUILD b/community/darktable/APKBUILD new file mode 100644 index 0000000000..f839c3da76 --- /dev/null +++ b/community/darktable/APKBUILD @@ -0,0 +1,66 @@ +# Contributor: Kevin Daudt <ops@ikke.info> +# Maintainer: Kevin Daudt <ops@ikke.info> +pkgname=darktable +pkgver=2.4.3 +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" +depends="" +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" +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="adc0740f866890c53a1389b43042d76a4c668dd22654d91fd5a7eb728aa6979cb7dd3703d6e7d3689b6d3840e892432b3c3ce6953a76d4355dfc1f90a8f29506 darktable-2.4.3.tar.xz" |