diff options
Diffstat (limited to 'multimedia/ffmpeg/ffmpeg.SlackBuild')
-rw-r--r-- | multimedia/ffmpeg/ffmpeg.SlackBuild | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/multimedia/ffmpeg/ffmpeg.SlackBuild b/multimedia/ffmpeg/ffmpeg.SlackBuild index c7befb1d62..882b1e498d 100644 --- a/multimedia/ffmpeg/ffmpeg.SlackBuild +++ b/multimedia/ffmpeg/ffmpeg.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for ffmpeg -# Copyright 2010-2015 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2010-2016 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ # Modified by Robby Workman <rworkman@slackbuilds.org> PRGNAM=ffmpeg -VERSION=${VERSION:-2.6.6} +VERSION=${VERSION:-2.8.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -100,6 +100,9 @@ libvidstab="" ; [ "${VIDSTAB:-no}" != "no" ] && libvidstab="--enable-libvid libx265="" ; [ "${X265:-no}" != "no" ] && libx265="--enable-libx265" libzvbi="" ; [ "${ZVBI:-no}" != "no" ] && libzvbi="--enable-libzvbi" libopencv="" ; [ "${OPENCV:-no}" != "no" ] && libopencv="--enable-libopencv" +libgme="" ; [ "${GME:-no}" != "no" ] && libgme="--enable-libgme" +libsnappy="" ; [ "${SNAPPY:-no}" != "no" ] && libsnappy="--enable-libsnappy" +libwebp="" ; [ "${WEBP:-no}" != "no" ] && libwebp="--enable-libwebp" #opencl=""; [ "${OPENCL:-no}" != "no" ] && opencl="--enable-opencl" opencore_amr="" ; [ "${OPENCORE:-no}" != "no" ] && \ @@ -123,7 +126,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -136,9 +139,6 @@ find -L . \ sed -i "s| -lflite\"| -lflite -lm -lasound\"|" \ ./configure -# Some variables are removed from newer libvpx releases -patch -p1 < $CWD/ffmpeg-libvpxenc-remove-some-unused-ctrl-id-mappings.patch - CFLAGS="$SLKCFLAGS -I/usr/include/openmj2-2.1" \ CXXFLAGS="$SLKCFLAGS -I/usr/include/openmj2-2.1" \ ./configure \ @@ -168,6 +168,10 @@ CXXFLAGS="$SLKCFLAGS -I/usr/include/openmj2-2.1" \ --enable-libvpx \ --enable-libpulse \ --enable-libopenjpeg \ + --enable-libwavpack \ + --enable-libfreetype \ + --enable-libfribidi \ + --enable-fontconfig \ --arch=$ARCH \ $libdc1394 \ $mp3lame \ @@ -199,6 +203,9 @@ CXXFLAGS="$SLKCFLAGS -I/usr/include/openmj2-2.1" \ $libzvbi \ $libopencv \ $decklink \ + $libgme \ + $libsnappy \ + $libwebp \ $ssl make |