summaryrefslogtreecommitdiffstats
path: root/src/utau/openutau
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-06-14 17:43:30 +0200
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-06-14 17:43:30 +0200
commit6814a7d91b1d26ea1471b4eaa3310b5bd2b11ef0 (patch)
tree0b6f507c6e62c92a84e0e0cafbdc119aaad2b787 /src/utau/openutau
parent37732bed14b2adb2879cfc80d9e8b065b39d1541 (diff)
downloadalpine-packages-6814a7d91b1d26ea1471b4eaa3310b5bd2b11ef0.tar.gz
alpine-packages-6814a7d91b1d26ea1471b4eaa3310b5bd2b11ef0.tar.bz2
alpine-packages-6814a7d91b1d26ea1471b4eaa3310b5bd2b11ef0.tar.lz
alpine-packages-6814a7d91b1d26ea1471b4eaa3310b5bd2b11ef0.zip

utau/openutau: theoretically all these architectures should work

Diffstat (limited to 'src/utau/openutau')
-rw-r--r--src/utau/openutau/APKBUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/utau/openutau/APKBUILD b/src/utau/openutau/APKBUILD
index 3fdf574..cb4b9a3 100644
--- a/src/utau/openutau/APKBUILD
+++ b/src/utau/openutau/APKBUILD
@@ -11,13 +11,22 @@ pkgver=0.1.529 # for refs that aren't tags, use the previous release before it!
pkgrel=0
pkgdesc="Open singing synthesis platform / Open source UTAU successor"
url="https://www.openutau.com/"
-arch="x86_64"
+arch="x86 x86_64 aarch64 armhf armv7"
license="MIT"
-# so:ld-linux-x86-64.so.2 and so:libgcompat.so.0 are provided by gcompat
+_ldlinux=""
+case "$CARCH" in
+ aarch64*) _ldlinux="ld-linux-aarch64.so.1" ;;
+ armhf|armv7) _ldlinux="ld-linux-armhf.so.3" ;;
+ x86) _ldlinux="ld-linux.so.2" ;;
+ x86_64) _ldlinux="ld-linux-x86-64.so.2" ;;
+ *) msg "Unable to determine a supported architecture from (CARCH=$CARCH)" ; return 1 ;;
+esac
+
+# so:ld-linux-*.so.* and so:libgcompat.so.0 are provided by gcompat
# so:libfontconfig.so.1 is provided by fontconfig
# TODO: once not in testing, add so:libonnxruntime.so provided by onnxruntime-dev
-depends="dotnet8-runtime so:libgcompat.so.0 so:ld-linux-x86-64.so.2 so:libfontconfig.so.1"
+depends="dotnet8-runtime so:libgcompat.so.0 so:$_ldlinux so:libfontconfig.so.1"
# Docs say to use .NET 6, but thats testing repos only.
# Bazel 8 and 9 remove required features for worldline for some reason.