From 18dd0cddaa6b89ec26fd7e4126b3d1fc108c70b8 Mon Sep 17 00:00:00 2001 From: ponce Date: Sun, 25 Dec 2011 10:09:07 -0200 Subject: multimedia/dvdstyler: Updated for version 2.1. Signed-off-by: Niels Horn --- multimedia/dvdstyler/dvdstyler.SlackBuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'multimedia/dvdstyler/dvdstyler.SlackBuild') 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 -- cgit v1.2.3