summaryrefslogtreecommitdiffstats
path: root/multimedia/dvdstyler
diff options
context:
space:
mode:
author ponce2011-12-25 13:09:07 +0100
committer Robby Workman2011-12-27 17:15:06 +0100
commit18dd0cddaa6b89ec26fd7e4126b3d1fc108c70b8 (patch)
treeb68047fe1cd1f5954565835c33b86ecd8d85058c /multimedia/dvdstyler
parent427a3e2722337d637445a130bc0fd2e4e30bc822 (diff)
downloadslackbuilds-18dd0cddaa6b89ec26fd7e4126b3d1fc108c70b8.tar.gz
multimedia/dvdstyler: Updated for version 2.1.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'multimedia/dvdstyler')
-rw-r--r--multimedia/dvdstyler/dvdstyler.SlackBuild9
-rw-r--r--multimedia/dvdstyler/dvdstyler.info6
2 files changed, 11 insertions, 4 deletions
diff --git a/multimedia/dvdstyler/dvdstyler.SlackBuild b/multimedia/dvdstyler/dvdstyler.SlackBuild
index 7689a5d920..2586552fe2 100644
--- a/multimedia/dvdstyler/dvdstyler.SlackBuild
+++ b/multimedia/dvdstyler/dvdstyler.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=dvdstyler
SPRGNAM=DVDStyler
-VERSION=${VERSION:-2.1b2}
+VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,6 +52,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# 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
+fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -66,7 +71,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# install a proper svg icon a remove the bad quality one
install -D -m0644 $CWD/$PRGNAM.svg $PKG/usr/share/pixmaps/$PRGNAM.svg
+rm $PKG/usr/share/pixmaps/$PRGNAM.png
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/multimedia/dvdstyler/dvdstyler.info b/multimedia/dvdstyler/dvdstyler.info
index 476735c417..913eea1cd9 100644
--- a/multimedia/dvdstyler/dvdstyler.info
+++ b/multimedia/dvdstyler/dvdstyler.info
@@ -1,8 +1,8 @@
PRGNAM="dvdstyler"
-VERSION="2.1b2"
+VERSION="2.1"
HOMEPAGE="http://www.dvdstyler.org/"
-DOWNLOAD="http://download.sourceforge.net/dvdstyler/DVDStyler-2.1b2.tar.bz2"
-MD5SUM="ac2e121a67b4c970adb145818cc30eaf"
+DOWNLOAD="http://download.sourceforge.net/dvdstyler/DVDStyler-2.1.tar.bz2"
+MD5SUM="99f41f52d8b0ab8cea9b477e99ee19c3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="ponce"