opusfile fix package version in opusfile.pc (#5281)

This commit is contained in:
its-pointless 2020-05-12 17:36:36 +10:00 committed by GitHub
parent 5917f12f97
commit aea7e98aba

View File

@ -2,7 +2,7 @@ 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.11
TERMUX_PKG_REVISION=2
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=https://github.com/xiph/opusfile/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=c2105cffc59545ffc0d2a65069e2f222a1712bbe579911ac0a3d3660edbbec57
TERMUX_PKG_BUILD_IN_SRC=true
@ -11,5 +11,6 @@ TERMUX_PKG_BREAKS="opusfile-dev"
TERMUX_PKG_REPLACES="opusfile-dev"
termux_step_pre_configure() {
echo "PACKAGE_VERSION=$TERMUX_PKG_VERSION" > package_version
./autogen.sh
}