parent
926b0cba59
commit
9f04f4c4a9
@ -1,7 +1,7 @@
|
|||||||
TERMUX_PKG_HOMEPAGE=https://www.webmproject.org
|
TERMUX_PKG_HOMEPAGE=https://www.webmproject.org
|
||||||
TERMUX_PKG_DESCRIPTION="VP8 & VP9 Codec SDK"
|
TERMUX_PKG_DESCRIPTION="VP8 & VP9 Codec SDK"
|
||||||
TERMUX_PKG_VERSION=1.6.0
|
TERMUX_PKG_VERSION=1.6.0
|
||||||
TERMUX_PKG_BUILD_REVISION=1
|
TERMUX_PKG_BUILD_REVISION=2
|
||||||
TERMUX_PKG_SRCURL=https://github.com/webmproject/libvpx/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
TERMUX_PKG_SRCURL=https://github.com/webmproject/libvpx/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
||||||
TERMUX_PKG_FOLDERNAME=libvpx-${TERMUX_PKG_VERSION}
|
TERMUX_PKG_FOLDERNAME=libvpx-${TERMUX_PKG_VERSION}
|
||||||
|
|
||||||
@ -25,11 +25,18 @@ termux_step_configure () {
|
|||||||
echo "Unsupported arch: $TERMUX_ARCH"
|
echo "Unsupported arch: $TERMUX_ARCH"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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 \
|
$TERMUX_PKG_SRCDIR/configure \
|
||||||
--sdk-path=$NDK \
|
--sdk-path=$NDK \
|
||||||
$_CONFIGURE_TARGET \
|
$_CONFIGURE_TARGET \
|
||||||
--prefix=$TERMUX_PREFIX \
|
--prefix=$TERMUX_PREFIX \
|
||||||
--disable-examples \
|
--disable-examples \
|
||||||
|
--disable-realtime-only \
|
||||||
--enable-vp8 \
|
--enable-vp8 \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-small
|
--enable-small
|
||||||
|
Loading…
Reference in New Issue
Block a user