opusfile: Fix build

This commit is contained in:
Fredrik Fornwall 2020-07-28 11:54:33 +02:00
parent 321ab03705
commit f0307386f5
1 changed files with 2 additions and 0 deletions

View File

@ -2,12 +2,14 @@ TERMUX_PKG_HOMEPAGE=https://www.opus-codec.org/
TERMUX_PKG_DESCRIPTION="A high-level API for decoding and seeking within .opus files"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_VERSION=0.12
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/xiph/opusfile/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=a20a1dff1cdf0719d1e995112915e9966debf1470ee26bb31b2f510ccf00ef40
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_DEPENDS="libopus, libogg"
TERMUX_PKG_BREAKS="opusfile-dev"
TERMUX_PKG_REPLACES="opusfile-dev"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-http"
termux_step_pre_configure() {
echo "PACKAGE_VERSION=$TERMUX_PKG_VERSION" > package_version