2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://www.xvid.org/
|
|
|
|
TERMUX_PKG_DESCRIPTION="High performance and high quality MPEG-4 library"
|
2015-06-29 01:30:01 +02:00
|
|
|
TERMUX_PKG_VERSION=1.3.4
|
2017-01-11 07:21:42 +01:00
|
|
|
TERMUX_PKG_REVISION=1
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_SRCURL=http://downloads.xvid.org/downloads/xvidcore-${TERMUX_PKG_VERSION}.tar.gz
|
2017-02-03 22:49:01 +01:00
|
|
|
TERMUX_PKG_SHA256=4e9fd62728885855bc5007fe1be58df42e5e274497591fec37249e1052ae316f
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_FOLDERNAME=xvidcore
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
|
|
|
|
|
|
|
termux_step_pre_configure () {
|
2015-07-01 00:56:09 +02:00
|
|
|
rm -f $TERMUX_PREFIX/lib/libxvid*
|
2015-06-13 01:03:31 +02:00
|
|
|
export TERMUX_PKG_BUILDDIR=$TERMUX_PKG_BUILDDIR/build/generic
|
|
|
|
export TERMUX_PKG_SRCDIR=$TERMUX_PKG_BUILDDIR
|
2016-03-25 02:38:17 +01:00
|
|
|
|
|
|
|
if [ $TERMUX_ARCH = i686 ]; then
|
|
|
|
# Avoid text relocations:
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --disable-assembly"
|
|
|
|
fi
|
2015-06-13 01:03:31 +02:00
|
|
|
}
|
|
|
|
|