add darktable
All checks were successful
Release Alpine apk for ARM64v8 Edge / compilation-arm64v8 (push) Successful in 1h45m33s
All checks were successful
Release Alpine apk for ARM64v8 Edge / compilation-arm64v8 (push) Successful in 1h45m33s
This commit is contained in:
parent
c7e81a6e15
commit
d34006ffa3
4 changed files with 112 additions and 0 deletions
|
@ -14,6 +14,7 @@ jobs:
|
|||
run: |
|
||||
echo "https://alpine.sakamoto.pl/alpine/$(cat /etc/os-release | grep PRETT | cut -d ' ' -f 3 | cut -d '"' -f 1)/main" > /etc/apk/repositories
|
||||
echo "https://alpine.sakamoto.pl/alpine/$(cat /etc/os-release | grep PRETT | cut -d ' ' -f 3 | cut -d '"' -f 1)/community" >> /etc/apk/repositories
|
||||
echo "https://alpine.sakamoto.pl/alpine/$(cat /etc/os-release | grep PRETT | cut -d ' ' -f 3 | cut -d '"' -f 1)/testing" >> /etc/apk/repositories
|
||||
apk -U upgrade
|
||||
apk add bash git wget curl nodejs sshfs alpine-sdk abuild sudo shadow
|
||||
- name: Checkout
|
||||
|
|
78
edge/darktable/APKBUILD
Executable file
78
edge/darktable/APKBUILD
Executable file
|
@ -0,0 +1,78 @@
|
|||
# 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
|
||||
"
|
33
edge/darktable/disable-missing-musl-simd-symbol.patch
Executable file
33
edge/darktable/disable-missing-musl-simd-symbol.patch
Executable file
|
@ -0,0 +1,33 @@
|
|||
diff --git a/src/develop/openmp_maths.h b/src/develop/openmp_maths.h
|
||||
index a3d466b..0428431 100644
|
||||
--- a/src/develop/openmp_maths.h
|
||||
+++ b/src/develop/openmp_maths.h
|
||||
@@ -38,7 +38,7 @@ extern float fminf(const float x, const float y);
|
||||
DT_OMP_DECLARE_SIMD()
|
||||
extern float fabsf(const float x);
|
||||
|
||||
-DT_OMP_DECLARE_SIMD()
|
||||
+//DT_OMP_DECLARE_SIMD()
|
||||
extern float powf(const float x, const float y);
|
||||
|
||||
DT_OMP_DECLARE_SIMD()
|
||||
@@ -47,16 +47,16 @@ extern float sqrtf(const float x);
|
||||
DT_OMP_DECLARE_SIMD()
|
||||
extern float cbrtf(const float x);
|
||||
|
||||
-DT_OMP_DECLARE_SIMD()
|
||||
+//DT_OMP_DECLARE_SIMD()
|
||||
extern float log2f(const float x);
|
||||
|
||||
-DT_OMP_DECLARE_SIMD()
|
||||
+//DT_OMP_DECLARE_SIMD()
|
||||
extern float exp2f(const float x);
|
||||
|
||||
DT_OMP_DECLARE_SIMD()
|
||||
extern float log10f(const float x);
|
||||
|
||||
-DT_OMP_DECLARE_SIMD()
|
||||
+//DT_OMP_DECLARE_SIMD()
|
||||
extern float expf(const float x);
|
||||
|
||||
DT_OMP_DECLARE_SIMD()
|
Loading…
Add table
Reference in a new issue