multimedia/mkvtoolnix: Updated for version 12.0.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Ozan Türkyılmaz 2017-05-22 01:32:53 +07:00 committed by Willy Sudiarto Raharjo
parent 06b8827d57
commit 07e0da4f1b
3 changed files with 17 additions and 19 deletions

View file

@ -11,4 +11,4 @@ Configure will use the internal versions if it fails to find them or
they are unusable.
Interested parties can build QT version of GUI by passing QTGUI=yes.
This requires QT5 and libxkbcommon to be installed.
This requires QT5, libinput and libxkbcommon to be installed.

View file

@ -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 {} \;

View file

@ -1,10 +1,10 @@
PRGNAM="mkvtoolnix"
VERSION="9.5.0"
VERSION="12.0.0"
HOMEPAGE="https://www.bunkus.org/videotools/mkvtoolnix"
DOWNLOAD="https://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-9.5.0.tar.xz"
MD5SUM="565ba79a494ed25f18840be9bebbd45f"
DOWNLOAD="https://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-12.0.0.tar.xz"
MD5SUM="36eeea3e8afb28cf6d929e900363c283"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
REQUIRES="wxPython"
MAINTAINER="Ozan Türkyılmaz"
EMAIL="ozan.turkyilmaz@gmail.com"