Merge branch 'update-libopus' into 'master'

Update and promote libopus recipe

See merge request redox-os/redox!1922
This commit is contained in:
Jeremy Soller 2026-02-19 13:30:46 -07:00
commit a2f1ff9306
2 changed files with 18 additions and 5 deletions

View File

@ -0,0 +1,18 @@
[source]
tar = "https://downloads.xiph.org/releases/opus/opus-1.6.1.tar.gz"
blake3 = "874bd7d28e24f10d88105c7d846a2e5bf085284af91a0ee36b05674a8f78e759"
script = """
autotools_recursive_regenerate
"""
[build]
template = "custom"
script = """
DYNAMIC_INIT
# Redox does not support any of the aarch64 run-time cpu capability detection
# APIs supported by libopus
case "${TARGET}" in
aarch64-*-redox) COOKBOOK_CONFIGURE_FLAGS+=(--disable-rtcd);;
esac
cookbook_configure
"""

View File

@ -1,5 +0,0 @@
#TODO compiled but not tested
[source]
tar = "https://downloads.xiph.org/releases/opus/opus-1.5.1.tar.gz"
[build]
template = "configure"