|
|
|
TERMUX_PKG_HOMEPAGE=http://x265.org/
|
|
|
|
TERMUX_PKG_DESCRIPTION="H.265/HEVC video stream encoder library"
|
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
|
|
TERMUX_PKG_VERSION=3.1.1
|
|
|
|
TERMUX_PKG_REVISION=1
|
|
|
|
TERMUX_PKG_SRCURL=http://ftp.videolan.org/pub/videolan/x265/x265_${TERMUX_PKG_VERSION}.tar.gz
|
|
|
|
TERMUX_PKG_SHA256=827900c7cc0a0105b8a96460fab7cd22b97afa7b2835b5cb979c44bddaa3c8d0
|
|
|
|
TERMUX_PKG_DEPENDS="libc++"
|
|
|
|
TERMUX_PKG_BREAKS="libx265-dev"
|
|
|
|
TERMUX_PKG_REPLACES="libx265-dev"
|
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
if [ $TERMUX_ARCH = "i686" ]; then
|
|
|
|
# Avoid text relocations.
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DENABLE_ASSEMBLY=OFF"
|
|
|
|
fi
|
|
|
|
TERMUX_PKG_SRCDIR="$TERMUX_PKG_SRCDIR/source"
|
|
|
|
}
|
|
|
|
|