update opusfile with more consistent link (#1732)
authorStephen <stephengroat@users.noreply.github.com>
Wed, 1 Nov 2017 14:43:46 +0000 (07:43 -0700)
committerFredrik Fornwall <fredrik@fornwall.net>
Wed, 1 Nov 2017 14:43:46 +0000 (15:43 +0100)
v0.9 not well distributed, github seems to be a better source

packages/opusfile/build.sh

index 0f04352..c96ff4a 100644 (file)
@@ -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
+}