postgresql: Update from 9.6.2 to 9.6.3
[termux-packages] / packages / libx264 / build.sh
CommitLineData
75198e14 1TERMUX_PKG_HOMEPAGE=https://www.videolan.org/developers/x264.html
59f0d218 2TERMUX_PKG_DESCRIPTION="Library for encoding video streams into the H.264/MPEG-4 AVC format"
75198e14
FF
3TERMUX_PKG_VERSION=20170122
4TERMUX_PKG_SRCURL=ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-${TERMUX_PKG_VERSION}-2245-stable.tar.bz2
5TERMUX_PKG_SHA256=f833239a2ff81629242b1137c797e670516a3af7ce79e6bb7ef234a3e60fd8fd
51c63a87 6# Avoid linking against ffmpeg libraries to avoid circular dependency:
b6c7cb34 7TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
51c63a87
FF
8--disable-swscale
9--disable-lavf"
e67edd51
FF
10
11termux_step_pre_configure () {
75198e14
FF
12 #if [ $TERMUX_ARCH = "i686" -o $TERMUX_ARCH = "x86_64" ]; then
13 if [ $TERMUX_ARCH = "i686" ]; then
14 # Avoid text relocations on i686, see:
e67edd51 15 # https://mailman.videolan.org/pipermail/x264-devel/2016-March/011589.html
51c63a87 16 TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --disable-asm"
75198e14
FF
17 elif [ $TERMUX_ARCH = "x86_64" ]; then
18 AS=yasm
e67edd51
FF
19 fi
20}