You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
696 B

TERMUX_PKG_HOMEPAGE=http://www.webmproject.org/
TERMUX_PKG_DESCRIPTION="VP9 Codec SDK"
TERMUX_PKG_VERSION=1.4.0
TERMUX_PKG_SRCURL=http://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-${TERMUX_PKG_VERSION}.tar.bz2
termux_step_configure () {
if [ $TERMUX_ARCH = "arm" ]; then
_CONFIGURE_TARGET=armv7-android-gcc
elif [ $TERMUX_ARCH = "i686" ]; then
export AS=yasm
export LD=$CC
_CONFIGURE_TARGET=x86-android-gcc
else
echo "Unsupported arch: $TERMUX_ARCH"
exit 1
fi
$TERMUX_PKG_SRCDIR/configure \
--sdk-path=$NDK \
--target=$_CONFIGURE_TARGET \
--prefix=$TERMUX_PREFIX \
--disable-examples \
--disable-vp8 \
--enable-shared \
--enable-small
}