From 33a479f29bf3b6c7eeaa954afc4bbad6c8f4346a Mon Sep 17 00:00:00 2001 From: Stephen Date: Wed, 1 Nov 2017 07:43:46 -0700 Subject: [PATCH] update opusfile with more consistent link (#1732) v0.9 not well distributed, github seems to be a better source --- packages/opusfile/build.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/opusfile/build.sh b/packages/opusfile/build.sh index 0f043520b..c96ff4a3d 100644 --- a/packages/opusfile/build.sh +++ b/packages/opusfile/build.sh @@ -1,6 +1,11 @@ TERMUX_PKG_HOMEPAGE=https://www.opus-codec.org/ TERMUX_PKG_DESCRIPTION="A high-level API for decoding and seeking within .opus files" TERMUX_PKG_VERSION=0.9 -TERMUX_PKG_SHA256=f75fb500e40b122775ac1a71ad80c4477698842a8fe9da4a1b4a1a9f16e4e979 -TERMUX_PKG_SRCURL=http://downloads.xiph.org/releases/opus/opusfile-${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_SHA256=63b52a975c5ec90026e00de99712fc1244abc40d396a20a22060671465e2ed4e +TERMUX_PKG_SRCURL=https://github.com/xiph/opusfile/archive/v${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_BUILD_IN_SRC=yes TERMUX_PKG_DEPENDS="libopus, libogg" + +termux_step_pre_configure() { + ./autogen.sh +}