Skip to content

Commit

Permalink
Fix opus build
Browse files Browse the repository at this point in the history
  • Loading branch information
HeavenVolkoff committed Mar 15, 2024
1 parent 192e9c8 commit 81f9b3c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions stages/50-opus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit 81f9b3c

Please sign in to comment.