mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
multimedia/ffmpeg: Updated for version 0.11.1
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
parent
fa6b6880cd
commit
0df7171d9c
3 changed files with 24 additions and 12 deletions
|
@ -4,6 +4,8 @@ library.
|
||||||
|
|
||||||
You can enable a lot of optional (not-autodetected) features by
|
You can enable a lot of optional (not-autodetected) features by
|
||||||
passing variables to the script (VAR=yes/no ./ffmpeg.SlackBuild):
|
passing variables to the script (VAR=yes/no ./ffmpeg.SlackBuild):
|
||||||
|
ASS=yes|no (default: no), requires libass
|
||||||
|
BLURAY=yes|no (default: no), requires libbluray
|
||||||
CELT=yes|no (default: no), requires celt
|
CELT=yes|no (default: no), requires celt
|
||||||
DC1394=yes|no (default: no), requires libdc1394
|
DC1394=yes|no (default: no), requires libdc1394
|
||||||
DIRAC=yes|no (default: no), requires dirac
|
DIRAC=yes|no (default: no), requires dirac
|
||||||
|
@ -12,7 +14,7 @@ FREI0R=yes|no (default: no), requires frei0r
|
||||||
GSM=yes|no (default: no), requires gsm
|
GSM=yes|no (default: no), requires gsm
|
||||||
JP2=yes|no (default: no), requires openjpeg
|
JP2=yes|no (default: no), requires openjpeg
|
||||||
LAME=yes|no (default: yes), requires lame
|
LAME=yes|no (default: yes), requires lame
|
||||||
OPENCV=yes|no (default: no), requires opencv
|
OPENAL=yes|no (default: no), requires OpenAL
|
||||||
OPENCORE=yes|no (default: no), requires opencore-amr
|
OPENCORE=yes|no (default: no), requires opencore-amr
|
||||||
RTMP=yes|no (default: no), requires rtmpdump
|
RTMP=yes|no (default: no), requires rtmpdump
|
||||||
SCHROEDINGER=yes|no (default: no), requires schroedinger
|
SCHROEDINGER=yes|no (default: no), requires schroedinger
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# Modified by Heinz Wiesinger <pprkut@liwjatan.org>
|
# Modified by Heinz Wiesinger <pprkut@liwjatan.org>
|
||||||
|
|
||||||
PRGNAM=ffmpeg
|
PRGNAM=ffmpeg
|
||||||
VERSION=${VERSION:-0.8.7}
|
VERSION=${VERSION:-0.11.1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -61,12 +61,14 @@ libdc1394="" ; [ "${DC1394:-no}" != "no" ] && libdc1394="--enable-libdc13
|
||||||
dirac_slow="" ; [ "${DIRAC:-no}" != "no" ] && dirac_slow="--enable-libdirac"
|
dirac_slow="" ; [ "${DIRAC:-no}" != "no" ] && dirac_slow="--enable-libdirac"
|
||||||
libfrei0r="" ; [ "${FREI0R:-no}" != "no" ] && libfrei0r="--enable-frei0r"
|
libfrei0r="" ; [ "${FREI0R:-no}" != "no" ] && libfrei0r="--enable-frei0r"
|
||||||
libgsm="" ; [ "${GSM:-no}" != "no" ] && libgsm="--enable-libgsm"
|
libgsm="" ; [ "${GSM:-no}" != "no" ] && libgsm="--enable-libgsm"
|
||||||
libopencv="" ; [ "${OPENCV:-no}" != "no" ] && libopencv="--enable-libopencv"
|
|
||||||
librtmp="" ; [ "${RTMP:-no}" != "no" ] && librtmp="--enable-librtmp"
|
librtmp="" ; [ "${RTMP:-no}" != "no" ] && librtmp="--enable-librtmp"
|
||||||
dirac_fast="" ; [ "${SCHROEDINGER:-no}" != "no" ] && dirac_fast="--enable-libschroedinger"
|
dirac_fast="" ; [ "${SCHROEDINGER:-no}" != "no" ] && dirac_fast="--enable-libschroedinger"
|
||||||
libspeex="" ; [ "${SPEEX:-no}" != "no" ] && libspeex="--enable-libspeex"
|
libspeex="" ; [ "${SPEEX:-no}" != "no" ] && libspeex="--enable-libspeex"
|
||||||
libvpx="" ; [ "${VPX:-no}" != "no" ] && libvpx="--enable-libvpx"
|
libvpx="" ; [ "${VPX:-no}" != "no" ] && libvpx="--enable-libvpx"
|
||||||
libxvid="" ; [ "${XVID:-no}" != "no" ] && libxvid="--enable-libxvid"
|
libxvid="" ; [ "${XVID:-no}" != "no" ] && libxvid="--enable-libxvid"
|
||||||
|
libbluray="" ; [ "${BLURAY:-no}" != "no" ] && libbluray="--enable-libbluray"
|
||||||
|
libass="" ; [ "${ASS:-no}" != "no" ] && libass="--enable-libass"
|
||||||
|
libopenal="" ; [ "${OPENAL:-no}" != "no" ] && libopenal="--enable-openal"
|
||||||
|
|
||||||
opencore_amr="" ; [ "${OPENCORE:-no}" != "no" ] && \
|
opencore_amr="" ; [ "${OPENCORE:-no}" != "no" ] && \
|
||||||
opencore_amr="--enable-libopencore-amrnb --enable-libopencore-amrwb"
|
opencore_amr="--enable-libopencore-amrnb --enable-libopencore-amrwb"
|
||||||
|
@ -74,11 +76,14 @@ libfaac="" ; [ "${FAAC:-no}" != "no" ] && \
|
||||||
{ libfaac="--enable-libfaac" ; non_free="--enable-nonfree" ; }
|
{ libfaac="--enable-libfaac" ; non_free="--enable-nonfree" ; }
|
||||||
openjpeg="" ; [ "${JP2:-no}" != "no" ] && \
|
openjpeg="" ; [ "${JP2:-no}" != "no" ] && \
|
||||||
{ openjpeg="--enable-libopenjpeg" ; \
|
{ openjpeg="--enable-libopenjpeg" ; \
|
||||||
SLKCFLAGS="$SLKCFLAGS -I/usr/include/openjpeg-1.4" ; }
|
SLKCFLAGS="$SLKCFLAGS -I/usr/include/openjpeg-1.5" ; }
|
||||||
|
|
||||||
mp3lame="--enable-libmp3lame" ; [ "${LAME:-yes}" != "yes" ] && mp3lame=""
|
mp3lame="--enable-libmp3lame" ; [ "${LAME:-yes}" != "yes" ] && mp3lame=""
|
||||||
libx264="--enable-libx264" ; [ "${X264:-yes}" != "yes" ] && libx264=""
|
libx264="--enable-libx264" ; [ "${X264:-yes}" != "yes" ] && libx264=""
|
||||||
|
|
||||||
|
# opencv support is currently broken: http://code.opencv.org/issues/1925
|
||||||
|
#libopencv="" ; [ "${OPENCV:-no}" != "no" ] && libopencv="--enable-libopencv"
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
|
@ -109,6 +114,9 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
--enable-swscale \
|
--enable-swscale \
|
||||||
--enable-x11grab \
|
--enable-x11grab \
|
||||||
--enable-avfilter \
|
--enable-avfilter \
|
||||||
|
--enable-gnutls \
|
||||||
|
--enable-openssl \
|
||||||
|
--enable-libcdio \
|
||||||
--arch=$ARCH \
|
--arch=$ARCH \
|
||||||
$openjpeg \
|
$openjpeg \
|
||||||
$libdc1394 \
|
$libdc1394 \
|
||||||
|
@ -124,9 +132,11 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
$libvpx \
|
$libvpx \
|
||||||
$librtmp \
|
$librtmp \
|
||||||
$opencore_amr \
|
$opencore_amr \
|
||||||
$libopencv \
|
|
||||||
$libfrei0r \
|
$libfrei0r \
|
||||||
$libcelt
|
$libcelt \
|
||||||
|
$libbluray \
|
||||||
|
$libass \
|
||||||
|
$libopenal
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
|
@ -138,8 +148,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
|
||||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a COPYING* CREDITS INSTALL LICENSE MAINTAINERS README RELEASE \
|
cp -a Changelog COPYING* CREDITS INSTALL LICENSE MAINTAINERS README RELEASE \
|
||||||
VERSION doc/TODO* doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
|
VERSION doc/RELEASE_NOTES doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a doc/*.html $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a doc/*.html $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="ffmpeg"
|
PRGNAM="ffmpeg"
|
||||||
VERSION="0.8.7"
|
VERSION="0.11.1"
|
||||||
HOMEPAGE="http://www.ffmpeg.org"
|
HOMEPAGE="http://www.ffmpeg.org"
|
||||||
DOWNLOAD="http://www.ffmpeg.org/releases/ffmpeg-0.8.7.tar.bz2"
|
DOWNLOAD="http://www.ffmpeg.org/releases/ffmpeg-0.11.1.tar.bz2"
|
||||||
MD5SUM="31da4d5610d7138761e23fab8fe3a84d"
|
MD5SUM="ff8cb914f657e164dd60ea1008b555a8"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="celt dirac faac frei0r gsm lame libdc1394 libvpx opencore-amr opencv openjpeg rtmpdump schroedinger speex x264 xvidcore"
|
REQUIRES="lame x264"
|
||||||
MAINTAINER="Heinz Wiesinger"
|
MAINTAINER="Heinz Wiesinger"
|
||||||
EMAIL="pprkut@liwjatan.at"
|
EMAIL="pprkut@liwjatan.at"
|
||||||
|
|
Loading…
Reference in a new issue