termux-packages/packages/libx265/build.sh

16 lines
557 B
Bash
Raw Normal View History

2017-01-04 00:58:44 +01:00
TERMUX_PKG_HOMEPAGE=http://x265.org/
TERMUX_PKG_DESCRIPTION="H.265/HEVC video stream encoder library"
2017-03-01 17:39:03 +01:00
TERMUX_PKG_VERSION=2.3
2017-01-04 00:58:44 +01:00
TERMUX_PKG_SRCURL=http://ftp.videolan.org/pub/videolan/x265/x265_${TERMUX_PKG_VERSION}.tar.gz
2017-03-01 17:39:03 +01:00
TERMUX_PKG_SHA256=47520ac3424790168ea5c2db4a3cf12ca4d55a1790720007916652f07af3e41f
2017-01-04 00:58:44 +01:00
TERMUX_PKG_FOLDERNAME=x265_$TERMUX_PKG_VERSION
2017-01-15 13:48:05 +01:00
termux_step_pre_configure () {
if [ $TERMUX_ARCH = "i686" ]; then
# Avoid text relocations.
2017-01-15 13:48:05 +01:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DENABLE_ASSEMBLY=OFF"
fi
2017-01-15 13:48:05 +01:00
TERMUX_PKG_SRCDIR="$TERMUX_PKG_SRCDIR/source"
2017-01-04 00:58:44 +01:00
}
2017-01-15 13:48:05 +01:00