summaryrefslogtreecommitdiffstats
path: root/multimedia/gst-ffmpeg/gst-ffmpeg.SlackBuild
diff options
context:
space:
mode:
author ponce <matteo.bernardini@gmail.com>2012-03-31 18:45:37 +0200
committer Robby Workman <rworkman@slackbuilds.org>2012-08-21 08:55:36 -0500
commitbd6660500d9497f3340fb5900917fbacb1d2a98f (patch)
treee7239c3ded40f9bb5a1d059ac6b723afb5b5695b /multimedia/gst-ffmpeg/gst-ffmpeg.SlackBuild
parentac198497a0b25096986aaa4c706414979b148a27 (diff)
downloadslackbuilds-bd6660500d9497f3340fb5900917fbacb1d2a98f.tar.gz
slackbuilds-bd6660500d9497f3340fb5900917fbacb1d2a98f.tar.xz
multimedia/gst-ffmpeg: Updated for version 0.10.13.
This commit also adds a fix for gcc-4.7.x. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/gst-ffmpeg/gst-ffmpeg.SlackBuild')
-rw-r--r--multimedia/gst-ffmpeg/gst-ffmpeg.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/multimedia/gst-ffmpeg/gst-ffmpeg.SlackBuild b/multimedia/gst-ffmpeg/gst-ffmpeg.SlackBuild
index 280855242d..c2c8fc3c87 100644
--- a/multimedia/gst-ffmpeg/gst-ffmpeg.SlackBuild
+++ b/multimedia/gst-ffmpeg/gst-ffmpeg.SlackBuild
@@ -22,8 +22,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gst-ffmpeg
-VERSION=0.10.10
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.10.13}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -59,11 +59,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# Fix for gcc-4.7.x
+sed -i -e 's/"g"/"rm"/' gst-libs/ext/libav/libavcodec/x86/h264_qpel_mmx.c
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \