From 81f9b3cb1b6bfa00b4423e966c274eb79268ef43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Vasconcellos?= Date: Fri, 15 Mar 2024 18:43:08 -0300 Subject: [PATCH] Fix opus build --- stages/50-opus.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/stages/50-opus.sh b/stages/50-opus.sh index d6c4ecf..c2c5e73 100644 --- a/stages/50-opus.sh +++ b/stages/50-opus.sh @@ -12,12 +12,15 @@ curl_tar "https://github.com/xiph/opus/archive/refs/tags/v${_tag}.tar.gz" opus 1 curl 'https://github.com/xiph/opus/commit/20c032d.patch' \ | patch -F5 -lp1 -d opus -t -# Run autotools to configure the build system -(cd opus && ./autogen.sh) - # Remove unused components rm -rf opus/{.github,CMakeLists.txt,config.sub,aclocal.m4,config.guess,cmake,doc,Makefile.in,tests,ltmain.sh,m4,configure} +# Update version +cat > "$SRCDIR/package_version" <<-EOF + AUTO_UPDATE=no + PACKAGE_VERSION="$_tag" +EOF + # Backup source bak_src 'opus'