aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-05 06:46:56 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-06 00:54:01 -0600
commit6033d3d21f976a247de46c009a90b2938766be6c (patch)
tree50ce1269df605dbdd81d88fb8bab8be2edc60245 /multimedia
parent5ff050fdbea19bc7aa18aba84dd574e1f9ad73ac (diff)
multimedia/dvdstyler: Updated for version 2.5.2, added a license.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/dvdstyler/dvdstyler.SlackBuild29
-rw-r--r--multimedia/dvdstyler/dvdstyler.info6
2 files changed, 27 insertions, 8 deletions
diff --git a/multimedia/dvdstyler/dvdstyler.SlackBuild b/multimedia/dvdstyler/dvdstyler.SlackBuild
index 9364da4fc3b2a..7cacd8c2683ed 100644
--- a/multimedia/dvdstyler/dvdstyler.SlackBuild
+++ b/multimedia/dvdstyler/dvdstyler.SlackBuild
@@ -2,11 +2,29 @@
# Slackware build script for dvdstyler
-# Written by Matteo Bernardini <ponce@slackbuilds.org>
+# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=dvdstyler
SPRGNAM=DVDStyler
-VERSION=${VERSION:-2.3.4}
+VERSION=${VERSION:-2.5.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SPRGNAM-$VERSION
-tar xvf $CWD/$SPRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$SPRGNAM-$VERSION.tar.?z*
cd $SPRGNAM-$VERSION
chown -R root:root .
find . \
@@ -54,10 +72,11 @@ find . \
# a header is renamed in ffmpeg-0.9 so check if applies
if [ -f /usr/include/libavfilter/buffersink.h ]; then
- sed -i "s|vsink_buffer\.h|buffersink.h|" src/mediatrc_ffmpeg.cpp
+ sed -i "s|vsink_buffer\.h|buffersink.h|" src/mediatrc_ffmpeg.cpp || exit 1
fi
-LDFLAGS="-ljpeg" \
+sh autogen.sh || true
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/multimedia/dvdstyler/dvdstyler.info b/multimedia/dvdstyler/dvdstyler.info
index 5012dc7cdbcc6..f21f044da0398 100644
--- a/multimedia/dvdstyler/dvdstyler.info
+++ b/multimedia/dvdstyler/dvdstyler.info
@@ -1,8 +1,8 @@
PRGNAM="dvdstyler"
-VERSION="2.3.4"
+VERSION="2.5.2"
HOMEPAGE="http://www.dvdstyler.org/"
-DOWNLOAD="http://download.sourceforge.net/dvdstyler/DVDStyler-2.3.4.tar.bz2"
-MD5SUM="e4e7fab9ff4ef6248f81c7cd6769ecc5"
+DOWNLOAD="http://downloads.sf.net/dvdstyler/DVDStyler-2.5.2.tar.bz2"
+MD5SUM="e84e260b471613ac01e62726867e5c8e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="dvdauthor libavc1394 libmspack libquicktime mjpegtools mpgtx wxsvg"