diff options
author | Ozan Türkyılmaz <ozan.turkyilmaz@gmail.com> | 2017-05-22 01:32:53 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-05-27 07:30:41 +0700 |
commit | 07e0da4f1be96b3e679c980115081efc19e2e69a (patch) | |
tree | aebb162ada666a80aa11c65a0f2b01e9ce86e2e7 /multimedia/mkvtoolnix/mkvtoolnix.SlackBuild | |
parent | 06b8827d570ddf0d25273410244212419b0b000a (diff) | |
download | slackbuilds-07e0da4f1be96b3e679c980115081efc19e2e69a.tar.gz |
multimedia/mkvtoolnix: Updated for version 12.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/mkvtoolnix/mkvtoolnix.SlackBuild')
-rw-r--r-- | multimedia/mkvtoolnix/mkvtoolnix.SlackBuild | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild b/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild index 2ca432a9ad..bf961870c7 100644 --- a/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild +++ b/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mkvtoolnix -VERSION=${VERSION:-9.5.0} +VERSION=${VERSION:-12.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -62,13 +62,12 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION - chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -80,13 +79,12 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --localstatedir=/var \ --enable-qt=${QTGUI:-no} \ - --with-boost \ - --without-curl + --with-boost -./drake pkgdatadir=/usr/doc/$PRGNAM-$VERSION -./drake pkgdatadir=/usr/doc/$PRGNAM-$VERSION install DESTDIR=$PKG +rake pkgdatadir=/usr/doc/$PRGNAM-$VERSION +rake pkgdatadir=/usr/doc/$PRGNAM-$VERSION install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; |