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-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2020-03-03 17:10:54 +01:00
|
|
|
TERMUX_PKG_VERSION=3.3
|
2020-08-31 10:49:11 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://bitbucket.org/multicoreware/x265_git/downloads/x265_$TERMUX_PKG_VERSION.tar.gz
|
|
|
|
TERMUX_PKG_SHA256=c6d744a87eda55560da715f56f878640554ddc06e2d0fcbd822fa330affc22cc
|
2019-06-19 23:27:01 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libc++"
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="libx265-dev"
|
|
|
|
TERMUX_PKG_REPLACES="libx265-dev"
|
2017-01-04 00:58:44 +01:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_pre_configure() {
|
2017-01-04 01:27:14 +01:00
|
|
|
if [ $TERMUX_ARCH = "i686" ]; then
|
2017-01-10 16:52:01 +01:00
|
|
|
# Avoid text relocations.
|
2017-01-15 13:48:05 +01:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DENABLE_ASSEMBLY=OFF"
|
2017-01-04 01:27:14 +01:00
|
|
|
fi
|
2017-01-15 13:48:05 +01:00
|
|
|
TERMUX_PKG_SRCDIR="$TERMUX_PKG_SRCDIR/source"
|
2017-01-04 00:58:44 +01:00
|
|
|
}
|