summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorT3slider <t3slider@gmail.com>2012-08-03 15:25:05 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-08-14 22:30:16 -0500
commitc4620fc249e381e1bc7ac1fb42836db61628d189 (patch)
tree190be379ac15ad4f9764e2f63da36bacf537b922
parentcf329de5841a58823c8de1c4044b8cbaa51d9cf1 (diff)
downloadslackbuilds-c4620fc249e381e1bc7ac1fb42836db61628d189.tar.gz
multimedia/makemkv: Updated for version 1.7.6.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
-rw-r--r--multimedia/makemkv/makemkv.SlackBuild27
-rw-r--r--multimedia/makemkv/makemkv.info8
2 files changed, 22 insertions, 13 deletions
diff --git a/multimedia/makemkv/makemkv.SlackBuild b/multimedia/makemkv/makemkv.SlackBuild
index 1c61f6471b..db4627ad4e 100644
--- a/multimedia/makemkv/makemkv.SlackBuild
+++ b/multimedia/makemkv/makemkv.SlackBuild
@@ -23,12 +23,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=makemkv
-VERSION=${VERSION:-1.7.4}
+VERSION=${VERSION:-1.7.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAM=makemkv_v
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -60,9 +58,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
# Build the open source component first...
-rm -rf ${SRCNAM}${VERSION}_oss
-tar xvf $CWD/${SRCNAM}${VERSION}_oss.tar.gz
-cd ${SRCNAM}${VERSION}_oss
+rm -rf ${PRGNAM}-oss-${VERSION}
+tar xvf $CWD/${PRGNAM}-oss-${VERSION}.tar.gz
+cd ${PRGNAM}-oss-${VERSION}
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -76,9 +74,9 @@ make -f makefile.linux install LIBDIR="\${PREFIX}/lib${LIBDIRSUFFIX}" DESTDIR=$P
# Now extract/copy the closed source component...
cd $TMP
-rm -rf ${SRCNAM}${VERSION}_bin
-tar xvf $CWD/${SRCNAM}${VERSION}_bin.tar.gz
-cd ${SRCNAM}${VERSION}_bin
+rm -rf ${PRGNAM}-bin-${VERSION}
+tar xvf $CWD/${PRGNAM}-bin-${VERSION}.tar.gz
+cd ${PRGNAM}-bin-${VERSION}
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -94,6 +92,17 @@ sed -i "s/^\(install:\).*/\1/" makefile.linux
# We will not leave CPU detection up to the makefile here just in case...
make -f makefile.linux 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
+ rm -f $PKG/usr/bin/mmdtsdec
+fi
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/multimedia/makemkv/makemkv.info b/multimedia/makemkv/makemkv.info
index 51b5b7b9de..39a624fdf2 100644
--- a/multimedia/makemkv/makemkv.info
+++ b/multimedia/makemkv/makemkv.info
@@ -1,10 +1,10 @@
PRGNAM="makemkv"
-VERSION="1.7.4"
+VERSION="1.7.6"
HOMEPAGE="http://www.makemkv.com/"
-DOWNLOAD="http://www.makemkv.com/download/makemkv_v1.7.4_oss.tar.gz http://www.makemkv.com/download/makemkv_v1.7.4_bin.tar.gz"
-MD5SUM="f8a7c902d47bc93eaf90b7e14a3886ea 11de3a3876b59df8b6b58f2e6e4dc3c6"
+DOWNLOAD="http://www.makemkv.com/download/makemkv-oss-1.7.6.tar.gz http://www.makemkv.com/download/makemkv-bin-1.7.6.tar.gz"
+MD5SUM="7e5224fe56a885fdb9c8b00f081883c6 b93d54a7ae2a4e85c746281c112125e0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="T3slider"
EMAIL="t3slider@gmail.com"
-APPROVED="dsomero"
+APPROVED="Erik Hanson"