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: [PATCH] multimedia/mkvtoolnix: Updated for version 4.7.0. Signed-off-by: Robby Workman --- multimedia/mkvtoolnix/README | 14 ++++--------- multimedia/mkvtoolnix/mkvtoolnix.SlackBuild | 22 +++++++++++---------- multimedia/mkvtoolnix/mkvtoolnix.info | 6 +++--- 3 files changed, 19 insertions(+), 23 deletions(-) diff --git a/multimedia/mkvtoolnix/README b/multimedia/mkvtoolnix/README index 5203128db5..f8293b2e05 100644 --- a/multimedia/mkvtoolnix/README +++ b/multimedia/mkvtoolnix/README @@ -1,14 +1,8 @@ MKVToolnix is a set of tools to create, alter and inspect Matroska (and WebM) files. With these tools one can: -* Get information about Matroska files (mkvinfo) * Extract tracks/data -from Matroska files (mkvextract) * Create Matroska files from other -media files (mkvmerge) * Modify properties of existing Matroska files -(mkvpropedit) +MKVToolnix requires wxGTK or wxPython. It comes with internal versions +of libembl and libmatroska, and it will use the internal versions if they +are not installed on the system. -This requires wxGTK or wxPython. - -It comes with internal versions of libembl and libmatroska, which will -be used if system-wide installations of them are not present. - -Interested parties can build a QT GUI by passing QTGUI=yes +Interested parties can build a QT GUI by passing QTGUI=yes to the script. 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 diff --git a/multimedia/mkvtoolnix/mkvtoolnix.info b/multimedia/mkvtoolnix/mkvtoolnix.info index ff1ef1825d..c0b5cb97f7 100644 --- a/multimedia/mkvtoolnix/mkvtoolnix.info +++ b/multimedia/mkvtoolnix/mkvtoolnix.info @@ -1,8 +1,8 @@ PRGNAM="mkvtoolnix" -VERSION="4.6.0" +VERSION="4.7.0" HOMEPAGE="http://www.bunkus.org/videotools/mkvtoolnix" -DOWNLOAD="http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-4.6.0.tar.bz2" -MD5SUM="ca4e5b226175a6df2f9fdad206abf0a8" +DOWNLOAD="http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-4.7.0.tar.bz2" +MD5SUM="68200debce9570fc14d934a3d6a750b5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Ozan Türkyılmaz"