chiark / gitweb /
libgpg-error: workaround no stdout atexit with constructor prior to N (#1017)
[termux-packages] / packages / libx265 / build.sh
1 TERMUX_PKG_HOMEPAGE=http://x265.org/
2 TERMUX_PKG_DESCRIPTION="H.265/HEVC video stream encoder library"
3 TERMUX_PKG_VERSION=2.4
4 TERMUX_PKG_SRCURL=http://ftp.videolan.org/pub/videolan/x265/x265_${TERMUX_PKG_VERSION}.tar.gz
5 TERMUX_PKG_SHA256=9c2aa718d78f6fecdd783f08ab83b98d3169e5f670404da4c16439306907d729
6 TERMUX_PKG_FOLDERNAME=x265_$TERMUX_PKG_VERSION
7
8 termux_step_pre_configure () {
9         if [ $TERMUX_ARCH = "i686" ]; then
10                 # Avoid text relocations.
11                 TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DENABLE_ASSEMBLY=OFF"
12         fi
13         TERMUX_PKG_SRCDIR="$TERMUX_PKG_SRCDIR/source"
14 }
15