All checks were successful
Release Alpine apk for ARM64v8 Edge / compilation-arm64v8 (push) Successful in 1h45m33s
78 lines
1.8 KiB
Text
Executable file
78 lines
1.8 KiB
Text
Executable file
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
pkgname=darktable
|
|
pkgver=5.0.1
|
|
pkgrel=1
|
|
pkgdesc="Open source photography workflow application and raw developer"
|
|
url="https://www.darktable.org/"
|
|
arch="all -ppc64le"
|
|
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
|
|
sdl2-dev
|
|
graphicsmagick-dev
|
|
gmic-dev
|
|
portmidi-dev
|
|
iso-codes-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="
|
|
ce1550221f8806979e073be61f2e96e7fa20b38f37a673868f938e94e37000da8f27c7dd8de04b94635d2252a4d991481f7c8a9af2182285032fb52e6cf25c53 darktable-5.0.1.tar.xz
|
|
3664a32419de25c266731a208f941fc33be021e66c419de90979b66c2b66a11585082cccb6b2fadf7a4c1616c8b2f4b21c84572c6c3ff0101369b4df4144592a disable-missing-musl-simd-symbol.patch
|
|
"
|