linux_alpine/edge/darktable/APKBUILD
itmodulo 627e495f7a
All checks were successful
Release Alpine apk for ARM64v8 Edge / compilation-arm64v8 (push) Successful in 1h9m44s
upgrade, archive Notify
2025-07-31 23:18:20 +02:00

73 lines
1.7 KiB
Text
Executable file

# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=darktable
pkgver=5.2.0
pkgrel=1
pkgdesc="Open source photography workflow application and raw developer"
url="https://www.darktable.org/"
arch="all"
license="GPL-3.0-or-later"
depends="dbus:org.freedesktop.Secrets"
makedepends="
bash
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
libheif-dev
libjxl-dev
librsvg-dev
libsecret-dev
libwebp-dev
libxml2-dev
libxml2-utils
libxslt
lua5.4-dev
samurai
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
disable-missing-musl-simd-symbol.patch
"
build() {
local cmake_crossopts
if [ "$CBUILD" != "$CHOST" ]; then
cmake_crossopts="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=Release \
-DBINARY_PACKAGE_BUILD=ON \
-DRAWSPEED_ENABLE_LTO=ON \
$cmake_crossopts
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
2e7d0124134c158a1970f70d6d5969faf0b72d8a400827ef4c310e2a3e989bb46447ce2b5738cce1f4e7396b37865213eb497e908b07b5c9fc97b2de1479886a darktable-5.2.0.tar.xz
566b83200c53a7a50977b8c68196b8b66906fa23ae272ba4b362400178f5b825bd7ebbd6de6f118ea0468e4409262f87e2646bcbb44520cd254a9555ea13119a disable-missing-musl-simd-symbol.patch
"