aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mediatomb/mediatomb.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mediatomb/mediatomb.SlackBuild')
-rw-r--r--multimedia/mediatomb/mediatomb.SlackBuild23
1 files changed, 8 insertions, 15 deletions
diff --git a/multimedia/mediatomb/mediatomb.SlackBuild b/multimedia/mediatomb/mediatomb.SlackBuild
index 76007b588f1d4..fcee5c90b13a5 100644
--- a/multimedia/mediatomb/mediatomb.SlackBuild
+++ b/multimedia/mediatomb/mediatomb.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for mediatomb
-# Copyright 2010-2012 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2010-2013 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mediatomb
-VERSION=${VERSION:-0.12.1}
-BUILD=${BUILD:-5}
+VERSION=${VERSION:-b66dc1f}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -72,26 +72,19 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-# Fix building with newer ffmpeg releases
-patch -p1 -i $CWD/libav_0.7_support.patch
-patch -p1 -i $CWD/libavformat.patch
-
# Fix building with new libmp4v2
+patch -p1 -R -i $CWD/mediatomb-mp4v2-check.patch
patch -p1 -i $CWD/mediatomb-0.12.1-libmp4v2_191_p479.patch
-# Fix compiling with gcc 4.7
-patch -p1 -i $CWD/mediatomb-0.12.1-gcc46.patch
-patch -p1 -i $CWD/mediatomb-0.12.1-gcc47.patch
-
-# Check for js185 in addition to the usual js packages
-patch -p1 -i $CWD/mediatomb-0.12.1-mozjs185.patch
+# Fix support for Samsung TVs
+patch -p1 -i $CWD/samsung-mkv.patch
-autoreconf
+autoreconf -vif
# We need LDFLAGS="-ldl" for proper sqlite detection
CFLAGS="$SLKCFLAGS" \