summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDugan Chen <thedoogster [at] gmail [dot] com>2015-11-09 23:02:22 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-09 23:02:38 +0700
commitfeb7c35163eaf264075a45b8a45f3ee2ebf5cd18 (patch)
tree67adde05cec3987a2ea8cab2b59532cc78bf33d4
parent5be3a742558a649d9eceb07b43dd1dfd71a5904f (diff)
downloadslackbuilds-feb7c35163eaf264075a45b8a45f3ee2ebf5cd18.tar.gz
audio/morituri: Update DEPS and added patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--audio/morituri/README2
-rw-r--r--audio/morituri/morituri.SlackBuild5
-rw-r--r--audio/morituri/morituri.info2
-rw-r--r--audio/morituri/rip_U.patch23
4 files changed, 29 insertions, 3 deletions
diff --git a/audio/morituri/README b/audio/morituri/README
index af0669756f..1df473eb0e 100644
--- a/audio/morituri/README
+++ b/audio/morituri/README
@@ -1,4 +1,4 @@
morituri is a CD ripper aiming for accuracy over speed. Its features
are to compare with Exact Audio Copy on Windows.
-pycdaudio is a an optional but recommended runtime dependency.
+pycdio is a an optional but recommended runtime dependency.
diff --git a/audio/morituri/morituri.SlackBuild b/audio/morituri/morituri.SlackBuild
index 5d5285017f..f52e198227 100644
--- a/audio/morituri/morituri.SlackBuild
+++ b/audio/morituri/morituri.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=morituri
VERSION=${VERSION:-0.2.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,6 +69,9 @@ 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 {} \;
+# https://github.com/thomasvs/morituri/issues/89
+patch -p1 --verbose < $CWD/rip_U.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/audio/morituri/morituri.info b/audio/morituri/morituri.info
index 3dcada182b..8a50188593 100644
--- a/audio/morituri/morituri.info
+++ b/audio/morituri/morituri.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://thomas.apestaart.org/download/morituri/morituri-0.2.3.tar.bz2"
MD5SUM="9587255fc9b357942e700b9fda4c6ddf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gst-python"
+REQUIRES="cddb-py gst-python pysetuptools"
MAINTAINER="Dugan Chen"
EMAIL="thedoogster [at] gmail [dot] com"
diff --git a/audio/morituri/rip_U.patch b/audio/morituri/rip_U.patch
new file mode 100644
index 0000000000..d1fcd8afe6
--- /dev/null
+++ b/audio/morituri/rip_U.patch
@@ -0,0 +1,23 @@
+From 01f07c5ad90563dc258eba4134a2544d192d0a49 Mon Sep 17 00:00:00 2001
+From: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
+Date: Sun, 5 Oct 2014 16:40:59 -0400
+Subject: [PATCH] make sure rip cd rip -U works
+
+---
+ morituri/rip/cd.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/morituri/rip/cd.py b/morituri/rip/cd.py
+index eaf5da4..c787d3f 100644
+--- a/morituri/rip/cd.py
++++ b/morituri/rip/cd.py
+@@ -123,7 +123,8 @@ def do(self, args):
+ "full table's AR URL %s differs from toc AR URL %s" % (
+ self.itable.getAccurateRipURL(), self.ittoc.getAccurateRipURL())
+
+- self.program.metadata.discid = self.ittoc.getMusicBrainzDiscId()
++ if self.program.metadata:
++ self.program.metadata.discid = self.ittoc.getMusicBrainzDiscId()
+
+ # result
+