From b47df3d587048739fcf9aaa05755bbc42d383610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ozan=20T=C3=BCrky=C4=B1lmaz?= Date: Sun, 8 May 2011 00:30:41 -0500 Subject: multimedia/mkvtoolnix: Updated for version 4.7.0. Signed-off-by: Robby Workman --- multimedia/mkvtoolnix/mkvtoolnix.SlackBuild | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'multimedia/mkvtoolnix/mkvtoolnix.SlackBuild') diff --git a/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild b/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild index 65d051ef47..d9f0cf4f1f 100644 --- a/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild +++ b/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild @@ -25,7 +25,7 @@ # Maintained by Ozan Türkyılmaz ozan.turkyilmaz@gmail.com PRGNAM=mkvtoolnix -VERSION=4.6.0 +VERSION=4.7.0 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,12 +60,19 @@ fi set -e +if [ "$QTGUI" = "yes" ]; then + QTCONFIG="enable-" +else + QTCONFIG="disable-" +fi + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION + chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -73,25 +80,20 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -if [ "$QTGUI" = "yes" ]; then - do_qt_config="enable-qt" -else - do_qt_config="disable-qt" -fi - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ + --build=$ARCH-slackware-linux \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ --localstatedir=/var \ --enable-gui \ - --${do_qt_config} \ + --${QTCONFIG}qt \ --enable-wxwidgets \ - --with-boost \ - --build=$ARCH-slackware-linux + --with-boost ./drake pkgdatadir=/usr/doc/$PRGNAM-$VERSION ./drake pkgdatadir=/usr/doc/$PRGNAM-$VERSION install DESTDIR=$PKG -- cgit v1.2.3