From 3ef988b1a5b1262402ab899d1abfb03195668c52 Mon Sep 17 00:00:00 2001
From: memdmp <memdmp@estrogen.zone>
Date: Sat, 14 Jun 2025 05:29:11 +0200
Subject: utao/openutao: provide libonnxruntime in main package, for now
this will at some point in time either move to an openutau-libonnxruntime, a separately packaged one, or upstream's @testing one once it's no longer only in @testing
---
src/utau/openutau/APKBUILD | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/utau/openutau/APKBUILD b/src/utau/openutau/APKBUILD
index bcfc78f..f2ffe79 100644
--- a/src/utau/openutau/APKBUILD
+++ b/src/utau/openutau/APKBUILD
@@ -16,6 +16,7 @@ license="MIT"
# so:ld-linux-x86-64.so.2 is 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:ld-linux-x86-64.so.2 so:libfontconfig.so.1"
# Docs say to use .NET 6, but thats testing repos only.
@@ -64,6 +65,7 @@ package() {
mkdir -p "${pkgdir}/usr/lib/openutau"
install -Dm755 "${_outdir}/libHarfBuzzSharp.so" "${pkgdir}/usr/lib/openutau/libHarfBuzzSharp.so"
install -Dm755 "${_outdir}/libSkiaSharp.so" "${pkgdir}/usr/lib/openutau/libSkiaSharp.so"
+ install -Dm755 "${_outdir}/libonnxruntime.so" "${pkgdir}/usr/lib/openutau/libonnxruntime.so"
# when debugging:
# tar caf "${pkgdir}/usr/lib/openutau/all.tar.gz" --directory="${_outdir}" .
--
cgit v1.2.3