summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorOzan Türkyılmaz <ozan.turkyilmaz@gmail.com>2017-05-22 01:32:53 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-27 07:30:41 +0700
commit07e0da4f1be96b3e679c980115081efc19e2e69a (patch)
treeaebb162ada666a80aa11c65a0f2b01e9ce86e2e7 /multimedia
parent06b8827d570ddf0d25273410244212419b0b000a (diff)
downloadslackbuilds-07e0da4f1be96b3e679c980115081efc19e2e69a.tar.gz
multimedia/mkvtoolnix: Updated for version 12.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mkvtoolnix/README2
-rw-r--r--multimedia/mkvtoolnix/mkvtoolnix.SlackBuild26
-rw-r--r--multimedia/mkvtoolnix/mkvtoolnix.info8
3 files changed, 17 insertions, 19 deletions
diff --git a/multimedia/mkvtoolnix/README b/multimedia/mkvtoolnix/README
index 585c42b0a9..1e8ab5548b 100644
--- a/multimedia/mkvtoolnix/README
+++ b/multimedia/mkvtoolnix/README
@@ -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.
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 {} \;
diff --git a/multimedia/mkvtoolnix/mkvtoolnix.info b/multimedia/mkvtoolnix/mkvtoolnix.info
index fabe1b7eec..a7df6cd20c 100644
--- a/multimedia/mkvtoolnix/mkvtoolnix.info
+++ b/multimedia/mkvtoolnix/mkvtoolnix.info
@@ -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"