audio/morituri: Update DEPS and added patch.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dugan Chen 2015-11-09 23:02:22 +07:00 committed by Willy Sudiarto Raharjo
parent 5be3a74255
commit feb7c35163
4 changed files with 29 additions and 3 deletions

View file

@ -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.

View file

@ -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 \

View file

@ -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"

View file

@ -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