summaryrefslogtreecommitdiffstats
path: root/multimedia/makemkv/makemkv.SlackBuild
diff options
context:
space:
mode:
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