summaryrefslogtreecommitdiff
path: root/multimedia/transcode/transcode.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2013-11-03 12:01:45 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-04 00:46:03 -0600
commitb922de3c1feb6bdd69db8d52151d9df51964f885 (patch)
treefebff71258c19d7e4ce0fb70594bb9de08bb5e6b /multimedia/transcode/transcode.SlackBuild
parent53d4d93210e67f9f67ca40bdcea5121bcedb899d (diff)
downloadslackbuilds-b922de3c1feb6bdd69db8d52151d9df51964f885.tar.gz
multimedia/transcode: Fix building with new ffmpeg.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'multimedia/transcode/transcode.SlackBuild')
-rw-r--r--multimedia/transcode/transcode.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/multimedia/transcode/transcode.SlackBuild b/multimedia/transcode/transcode.SlackBuild
index 0fdc90ee0d..364a63f67d 100644
--- a/multimedia/transcode/transcode.SlackBuild
+++ b/multimedia/transcode/transcode.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for transcode
-# Copyright 2008-2012 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2008-2013 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=transcode
VERSION=1.1.7
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,7 +70,13 @@ find . \
-exec chmod 644 {} \;
# Fix building with newer ffmpeg
+patch -p0 -i $CWD/transcode-1.1.7-ffmpeg.patch
+patch -p0 -i $CWD/transcode-1.1.7-ffmpeg-0.10.patch
patch -p1 -i $CWD/transcode-1.1.7-ffmpeg-0.11.patch
+patch -p1 -i $CWD/transcode-1.1.7-preset-free.patch
+patch -p0 -i $CWD/transcode-1.1.7-libav-9.patch
+patch -p1 -i $CWD/transcode-1.1.7-preset-force.patch
+patch -p1 -i $CWD/transcode-1.1.7-ffmpeg2.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \