summaryrefslogtreecommitdiffstats
path: root/multimedia/makemkv/makemkv.SlackBuild
diff options
context:
space:
mode:
author T3slider <t3slider@gmail.com>2014-09-03 08:09:36 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-06 00:02:50 +0700
commitfb227be2239807c12321306a6cf266823e0de8f3 (patch)
tree3c766d2b7bb46c389b89ba1e046054541afb3580 /multimedia/makemkv/makemkv.SlackBuild
parentd096717ede5fb0dbc7cd8fbffceddec9cd5abcb7 (diff)
downloadslackbuilds-fb227be2239807c12321306a6cf266823e0de8f3.tar.gz
slackbuilds-fb227be2239807c12321306a6cf266823e0de8f3.tar.xz
multimedia/makemkv: Updated for version 1.8.13.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/makemkv/makemkv.SlackBuild')
-rw-r--r--multimedia/makemkv/makemkv.SlackBuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/multimedia/makemkv/makemkv.SlackBuild b/multimedia/makemkv/makemkv.SlackBuild
index 745750c514..fd7e0897b7 100644
--- a/multimedia/makemkv/makemkv.SlackBuild
+++ b/multimedia/makemkv/makemkv.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=makemkv
-VERSION=${VERSION:-1.8.12}
+VERSION=${VERSION:-1.8.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,6 +67,9 @@ fi
# to spoof this, you should ensure those packages are not installed!)
FAKELIBS=${FAKELIBS:-no}
+# Include 32-bit mmdtsdec for decoding DTS-HD Master Audio on 64-bit systems?
+MULTILIB=${MULTILIB:-no}
+
set -e
rm -rf $PKG
@@ -122,14 +125,11 @@ sed -i "s/^\(install:\).*/\1/" Makefile
# We will not leave CPU detection up to the makefile here just in case...
make install ARCH=$ARCHDIR ARCH_OK=1 DESTDIR=$PKG
-# Remove the 32-bit mmdtsdec binary on 64-bit systems. The author of MakeMKV
-# claims that this will work on 64-bit systems as well -- see here.
-# http://www.makemkv.com/dtshd/
-# This is however a 32-bit binary linking to /lib/ld-linux.so.2 which will not
-# work on pure Slackware64. makemkvcon may do some clever things to get around
-# this on 64-bit systems but right now audio transcoding is crashing even for
-# DTS-HD core audio, so I cannot test it.
-if [ "$ARCH" = "x86_64" ]; then
+# Remove the 32-bit mmdtsdec binary on 64-bit systems unless MULTILIB=yes
+# See http://www.makemkv.com/dtshd/ for setup information.
+# Despite claims of the developer, mmdtsdec will *not* work on pure 64-bit
+# systems.
+if [ "$ARCH" = "x86_64" -a "$MULTILIB" = "no" ]; then
rm -f $PKG/usr/bin/mmdtsdec
fi