termux-packages/packages/opusfile/build.sh

20 lines
736 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=https://www.opus-codec.org/
TERMUX_PKG_DESCRIPTION="A high-level API for decoding and seeking within .opus files"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
2020-07-28 11:06:50 +02:00
TERMUX_PKG_VERSION=0.12
2022-03-21 15:09:01 +01:00
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/xiph/opusfile/archive/v$TERMUX_PKG_VERSION.tar.gz
2020-07-28 11:06:50 +02:00
TERMUX_PKG_SHA256=a20a1dff1cdf0719d1e995112915e9966debf1470ee26bb31b2f510ccf00ef40
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
2017-03-24 01:18:31 +01:00
TERMUX_PKG_DEPENDS="libopus, libogg"
TERMUX_PKG_BREAKS="opusfile-dev"
TERMUX_PKG_REPLACES="opusfile-dev"
2020-07-28 11:54:33 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-http"
termux_step_pre_configure() {
echo "PACKAGE_VERSION=$TERMUX_PKG_VERSION" > package_version
./autogen.sh
}