mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-11 16:51:54 +02:00
Darktable does not support gcc on aarch64. See: https://github.com/darktable-org/darktable/issues/15067
73 lines
1.7 KiB
Plaintext
73 lines
1.7 KiB
Plaintext
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
pkgname=darktable
|
|
pkgver=4.4.2
|
|
pkgrel=2
|
|
pkgdesc="Open source photography workflow application and raw developer"
|
|
url="https://www.darktable.org/"
|
|
# aarch64: not supported with gcc
|
|
arch="x86_64 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
|
|
libjxl-dev
|
|
librsvg-dev
|
|
libsecret-dev
|
|
libwebp-dev
|
|
libxml2-dev
|
|
libxml2-utils
|
|
libxslt
|
|
lua5.4-dev
|
|
openexr-dev
|
|
openjpeg-dev
|
|
pugixml-dev
|
|
samurai
|
|
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
|
|
fix-has-attribute-musl.patch
|
|
"
|
|
|
|
build() {
|
|
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="
|
|
7b87879e865001491bbeaa12b9ac42b006bfa3fbcb50e73384c76cce0ee5d87200be3ce9b11f56d669d5eaf9b1add0a018ec5a021653bb84dfb6a0b379cb5594 darktable-4.4.2.tar.xz
|
|
3c75c2107b19a485feecb15e325120ed8e05647ba6cb8c5c422c0a7d4c436992af8b6a9480aa4eb474b69bb5dadb491ace7deff9f4d21814642ddb82003c35eb fix-has-attribute-musl.patch
|
|
"
|