X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/43d771773507263b09e4c78d1c2053f80c38e4fa..295241d4043c55a41259b4846464e1668b2f6a5f:/packages/libvpx/build.sh diff --git a/packages/libvpx/build.sh b/packages/libvpx/build.sh index 2bdb4c6f..311985d4 100644 --- a/packages/libvpx/build.sh +++ b/packages/libvpx/build.sh @@ -1,8 +1,8 @@ TERMUX_PKG_HOMEPAGE=https://www.webmproject.org TERMUX_PKG_DESCRIPTION="VP8 & VP9 Codec SDK" -TERMUX_PKG_VERSION=1.6.0 -TERMUX_PKG_BUILD_REVISION=1 +TERMUX_PKG_VERSION=1.6.1 TERMUX_PKG_SRCURL=https://github.com/webmproject/libvpx/archive/v${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_SHA256=cda8bb6f0e4848c018177d3a576fa83ed96d762554d7010fe4cfb9d70c22e588 TERMUX_PKG_FOLDERNAME=libvpx-${TERMUX_PKG_VERSION} termux_step_configure () { @@ -22,14 +22,20 @@ termux_step_configure () { export LD=$CC _CONFIGURE_TARGET="--target=x86_64-android-gcc" else - echo "Unsupported arch: $TERMUX_ARCH" - exit 1 + termux_error_exit "Unsupported arch: $TERMUX_ARCH" fi + + # For --disable-realtime-only, see + # https://bugs.chromium.org/p/webm/issues/detail?id=800 + # "The issue is that on android we soft enable realtime only. + # [..] You can enable non-realtime by setting --disable-realtime-only" + # Discovered in https://github.com/termux/termux-packages/issues/554 $TERMUX_PKG_SRCDIR/configure \ --sdk-path=$NDK \ $_CONFIGURE_TARGET \ --prefix=$TERMUX_PREFIX \ --disable-examples \ + --disable-realtime-only \ --enable-vp8 \ --enable-shared \ --enable-small