summaryrefslogtreecommitdiff
path: root/multimedia/kmediafactory/kmediafactory.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-24 20:01:57 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-24 22:53:33 -0500
commitbf87d87454755614e1565790725021988318ae98 (patch)
tree5ef2ae6906eec7ffca9b4fdb50336c0d60837c07 /multimedia/kmediafactory/kmediafactory.SlackBuild
parent96d5e684078f89d510705df576462770c28551fa (diff)
downloadslackbuilds-bf87d87454755614e1565790725021988318ae98.tar.gz
multimedia/kmediafactory: Updated for subversion revision r691.
Added patches for gcc-4.7.x and for ffmpeg-0.11.x, changed deps info Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia/kmediafactory/kmediafactory.SlackBuild')
-rw-r--r--multimedia/kmediafactory/kmediafactory.SlackBuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/multimedia/kmediafactory/kmediafactory.SlackBuild b/multimedia/kmediafactory/kmediafactory.SlackBuild
index 40290a055a..0f35a1e14a 100644
--- a/multimedia/kmediafactory/kmediafactory.SlackBuild
+++ b/multimedia/kmediafactory/kmediafactory.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=kmediafactory
-VERSION=${VERSION:-0.8.0}
+VERSION=${VERSION:-r691}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,13 +55,13 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
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.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -73,6 +73,12 @@ find . \
# Fix doctype version
sed -i "s/V4.1.2-Based/V4.2-Based/" doc/en/index.docbook
+# Fix for gcc-4.7.x
+patch -p1 < $CWD/gcc47.patch
+
+# Thanks go to mageia for this patch
+patch -p0 < $CWD/kmediafactory-0.8.1-ffmpeg0.11.patch
+
mkdir -p build
cd build
cmake \