termux-packages/packages/libx265/build.sh

19 lines
639 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"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="GPL-2.0"
2020-03-03 17:10:54 +01:00
TERMUX_PKG_VERSION=3.3
2019-08-27 19:04:19 +02:00
TERMUX_PKG_SRCURL=https://bitbucket.org/multicoreware/x265/downloads/x265_$TERMUX_PKG_VERSION.tar.gz
2020-03-03 17:10:54 +01:00
TERMUX_PKG_SHA256=f26e148ed1f4dfb33fd1eb3ff5e60e08078d1b2017e88bcbb045b3fb58300b9c
2019-06-19 23:27:01 +02:00
TERMUX_PKG_DEPENDS="libc++"
TERMUX_PKG_BREAKS="libx265-dev"
TERMUX_PKG_REPLACES="libx265-dev"
2017-01-04 00:58:44 +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