1 TERMUX_PKG_HOMEPAGE
=http
://www.videolan.org
/developers
/x264.html
2 TERMUX_PKG_DESCRIPTION
="Library for encoding video streams into the H.264/MPEG-4 AVC format"
3 TERMUX_PKG_VERSION
="20160503-2245"
4 TERMUX_PKG_SRCURL
=ftp://ftp.videolan.org
/pub
/videolan
/x264
/snapshots
/x264-snapshot-
${TERMUX_PKG_VERSION}.
tar.bz2
6 termux_step_pre_configure
() {
7 if [ $TERMUX_ARCH = "i686" -o
$TERMUX_ARCH = "x86_64" ]; then
8 # Avoid text relocations. Only needed on i686, see:
9 # https://mailman.videolan.org/pipermail/x264-devel/2016-March/011589.html
10 # Also disable on x86_64 for now due to build errors.
11 TERMUX_PKG_EXTRA_CONFIGURE_ARGS
="--disable-asm"