diff options
Diffstat (limited to 'multimedia/mkvtoolnix/mkvtoolnix.SlackBuild')
-rw-r--r-- | multimedia/mkvtoolnix/mkvtoolnix.SlackBuild | 22 |
1 files changed, 12 insertions, 10 deletions
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 |