summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-06-30 12:42:34 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-30 12:42:34 +0700
commit7d177c47b2bd7665a9d330f62b2693d51524ea93 (patch)
tree88a2506282d81ec23afcb4edf651c6dc595ea86e /audio
parent2f00f0bcb8eaa9716fd68782acd986351312e3df (diff)
downloadslackbuilds-7d177c47b2bd7665a9d330f62b2693d51524ea93.tar.gz
audio/mp4tools: Update DEP.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/mp4tools/audiorip_fix_mplayer.diff11
-rw-r--r--audio/mp4tools/mp4tools.SlackBuild12
-rw-r--r--audio/mp4tools/mp4tools.info2
3 files changed, 19 insertions, 6 deletions
diff --git a/audio/mp4tools/audiorip_fix_mplayer.diff b/audio/mp4tools/audiorip_fix_mplayer.diff
new file mode 100644
index 0000000000..638d063bce
--- /dev/null
+++ b/audio/mp4tools/audiorip_fix_mplayer.diff
@@ -0,0 +1,11 @@
+--- mp4tools 2010-10-18 01:45:43.000000000 +0200
++++ mp4tools 2010-12-19 11:18:22.751055457 +0100
+@@ -182,7 +182,7 @@
+ {
+ [ -n "$3" ] && AF="-af $3"
+ green "Ripping Audio"
+- mplayer "$1" -benchmark -vo null -ao "pcm:fast:file=$2" $AF $MSG
++ mplayer "$1" -benchmark -vc null -vo null -ao "pcm:fast:file=$2" $AF $MSG
+ }
+
+ #aacenc <infile> <outfile>
diff --git a/audio/mp4tools/mp4tools.SlackBuild b/audio/mp4tools/mp4tools.SlackBuild
index 6a9ed5822b..278c567c57 100644
--- a/audio/mp4tools/mp4tools.SlackBuild
+++ b/audio/mp4tools/mp4tools.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for mp4tools.
#
-# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,12 +24,12 @@
PRGNAM=mp4tools
VERSION=${VERSION:-0.6.8}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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=i686 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -70,6 +70,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -Np0 < $CWD/audiorip_fix_mplayer.diff || true
+
mkdir -p $PKG/usr/bin
make INSTDIR=$PKG/usr
diff --git a/audio/mp4tools/mp4tools.info b/audio/mp4tools/mp4tools.info
index 953d4aa718..b60ca16025 100644
--- a/audio/mp4tools/mp4tools.info
+++ b/audio/mp4tools/mp4tools.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://ppa.launchpad.net/teknoraver/ppa/ubuntu/pool/main/m/mp4tools/mp
MD5SUM="21ecc4d840b4f611d41126d84505645a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="opencore-amr gpac faac aacplusenc"
+REQUIRES="opencore-amr gpac faac aacplusenc nero-aac"
MAINTAINER="Edinaldo P. Silva"
EMAIL="edps.mundognu@gmail.com"