diff options
author | Ozan Türkyılmaz <ozan.turkyilmaz@gmail.com> | 2011-03-27 12:21:01 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-03-27 12:21:01 -0500 |
commit | 89d29177dc62a3532603e005498719e56c1de8f8 (patch) | |
tree | 09f83692d6c7d376ff7af0b9862581497be55bc3 /multimedia/mkvtoolnix/mkvtoolnix.SlackBuild | |
parent | d2e1c035bf227db5f6d8173a77d001c1506ec1c5 (diff) |
multimedia/mkvtoolnix: Updated for version 4.6.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/mkvtoolnix/mkvtoolnix.SlackBuild')
-rw-r--r-- | multimedia/mkvtoolnix/mkvtoolnix.SlackBuild | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild b/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild index 94409ef4a719f..65d051ef473ee 100644 --- a/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild +++ b/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild @@ -4,7 +4,6 @@ # Copyright 2008,2009,2010. Andrew Strong (http://www.andrews-corner.org) # All rights reserved. -# Maintained by Ozan Türkyılmaz ozan.turkyilmaz@gmail.com # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -23,11 +22,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Maintained by Ozan Türkyılmaz ozan.turkyilmaz@gmail.com + PRGNAM=mkvtoolnix -VERSION=4.4.0 +VERSION=4.6.0 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +QTGUI=${QTGUI:-no} + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -63,7 +66,6 @@ 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 \) \ @@ -71,6 +73,12 @@ 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 \ @@ -80,8 +88,10 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --localstatedir=/var \ --enable-gui \ + --${do_qt_config} \ --enable-wxwidgets \ - --with-boost + --with-boost \ + --build=$ARCH-slackware-linux ./drake pkgdatadir=/usr/doc/$PRGNAM-$VERSION ./drake pkgdatadir=/usr/doc/$PRGNAM-$VERSION install DESTDIR=$PKG @@ -92,6 +102,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS ChangeLog INSTALL COPYING README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |