summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg/ffmpeg.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2014-08-27 00:25:42 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-30 14:22:23 +0700
commiteb194048695c76c3eb1040aaa0ae12f7f4ee9734 (patch)
tree5705f355da2005a2b009ed93ddf6bfe2b2402e35 /multimedia/ffmpeg/ffmpeg.SlackBuild
parenta23409a7c22b45397ddf647bb373991e07395f03 (diff)
downloadslackbuilds-eb194048695c76c3eb1040aaa0ae12f7f4ee9734.tar.gz
multimedia/ffmpeg: Updated for version 2.1.5.
Added option to build against pulseaudio. Allow doc copying to work with newer versions. Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia/ffmpeg/ffmpeg.SlackBuild')
-rw-r--r--multimedia/ffmpeg/ffmpeg.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/multimedia/ffmpeg/ffmpeg.SlackBuild b/multimedia/ffmpeg/ffmpeg.SlackBuild
index e3d8aaa3d1..f59e7263a1 100644
--- a/multimedia/ffmpeg/ffmpeg.SlackBuild
+++ b/multimedia/ffmpeg/ffmpeg.SlackBuild
@@ -26,7 +26,7 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
PRGNAM=ffmpeg
-VERSION=${VERSION:-2.1}
+VERSION=${VERSION:-2.1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -93,6 +93,7 @@ libmodplug=""; [ "${MODPLUG:-no}" != "no" ] && libmodplug="--enable-libmod
libopus=""; [ "${OPUS:-no}" != "no" ] && libopus="--enable-libopus"
libtwolame=""; [ "${TWOLAME:-no}" != "no" ] && libtwolame="--enable-libtwolame"
ladspa=""; [ "${LADSPA:-no}" != "no" ] && ladspa="--enable-ladspa"
+pulse=""; [ "${PULSEAUDIO:-no}" != "no" ] && pulse="--enable-libpulse"
#opencl=""; [ "${OPENCL:-no}" != "no" ] && opencl="--enable-opencl"
opencore_amr="" ; [ "${OPENCORE:-no}" != "no" ] && \
@@ -174,6 +175,7 @@ CXXFLAGS="$SLKCFLAGS" \
$libopus \
$libtwolame \
$ladspa \
+ $pulse \
$ssl
make
@@ -186,9 +188,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/txt
-cp -a Changelog COPYING* CREDITS INSTALL LICENSE MAINTAINERS README RELEASE \
- VERSION doc/RELEASE_NOTES $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a Changelog COPYING* CREDITS INSTALL* LICENSE* MAINTAINERS README* RELEASE \
+ VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cp -a doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION/txt/
+find . -name "RELEASE_NOTES" -exec cp -a {} $PKG/usr/doc/$PRGNAM-$VERSION/ \;
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install