From 6814a7d91b1d26ea1471b4eaa3310b5bd2b11ef0 Mon Sep 17 00:00:00 2001 From: memdmp Date: Sat, 14 Jun 2025 17:43:30 +0200 Subject: utau/openutau: theoretically all these architectures should work --- src/utau/openutau/APKBUILD | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'src') 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. -- cgit v1.2.3