aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2018-08-07 09:07:07 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2018-08-07 09:07:07 +0000
commit0cbe1c5661212a0d001cc765ffb65289249f375c (patch)
tree8dd42a3e1eff4d1adcc2348753c80109d380d46f /audio
parentd7f0078caad0ed65054c76b63608811de17d754a (diff)
downloadports-0cbe1c5661212a0d001cc765ffb65289249f375c.tar.gz
ports-0cbe1c5661212a0d001cc765ffb65289249f375c.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/abcde/Makefile7
-rw-r--r--audio/abcde/files/patch-abcde17
2 files changed, 10 insertions, 14 deletions
diff --git a/audio/abcde/Makefile b/audio/abcde/Makefile
index a1c7c0e39ab5..85fe1689b3d3 100644
--- a/audio/abcde/Makefile
+++ b/audio/abcde/Makefile
@@ -3,10 +3,11 @@
PORTNAME= abcde
DISTVERSION= 2.9.2
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://abcde.einval.com/download/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= arved@FreeBSD.org
COMMENT= Front-end shell script to encode CDs in flac/mp3/ogg/speex format
LICENSE= ART10 GPLv2
@@ -41,10 +42,8 @@ MPP_RUN_DEPENDS= mpcenc:audio/musepack
MUSICBRAINZ_DESC= Enable MusicBrainz DiscID support
MUSICBRAINZ_USES= perl5
MUSICBRAINZ_USE_PERL5= run
-MUSICBRAINZ_RUN_DEPENDS=p5-Digest-SHA>=0:security/p5-Digest-SHA \
- p5-Getopt-Long>=0:devel/p5-Getopt-Long \
+MUSICBRAINZ_RUN_DEPENDS= \
p5-MusicBrainz-DiscID>=0:audio/p5-MusicBrainz-DiscID \
- p5-Pod-Usage>=0:devel/p5-Pod-Usage \
p5-WebService-MusicBrainz>=1:www/p5-WebService-MusicBrainz
NORMALIZE_DESC= Enable normalize support
NORMALIZE_RUN_DEPENDS= normalize:audio/normalize
diff --git a/audio/abcde/files/patch-abcde b/audio/abcde/files/patch-abcde
index 32e99793ccaf..3084bcc4293e 100644
--- a/audio/abcde/files/patch-abcde
+++ b/audio/abcde/files/patch-abcde
@@ -1,14 +1,11 @@
---- abcde.orig 2018-03-15 16:01:58 UTC
-+++ abcde
-@@ -2108,7 +2108,10 @@ do_discid ()
+--- abcde.orig 2018-08-07 10:53:58.070134000 +0200
++++ abcde 2018-08-07 10:54:34.101817000 +0200
+@@ -2110,7 +2110,7 @@
+ CDPARANOIAAUDIOTRACKS="$TRACKS"
LEADOUT="$(echo "$CDPARANOIAOUTPUT" | grep -Eo '^TOTAL[[:space:]]+([[:digit:]]+)' | get_last)"
- OFFSETS="$(echo "$CDPARANOIAOUTPUT" | sed -n -e's/^ .* \([0-9]\+\) \[.*/\1/p')"
-- makeids
-+ case "$CDDBMETHOD" in
-+ cddb) TRACKINFO=$($CDDISCID "$CDROM") ;;
-+ musicbrainz) TRACKINFO=$($MUSICBRAINZ --command id --device "$CDROM") ;;
-+ esac
+- OFFSETS="$(echo "$CDPARANOIAOUTPUT" | sed -n -e's/^ .* \([0-9]\+\) \[.*/\1/p')"
++ OFFSETS="$(echo "$CDPARANOIAOUTPUT" | awk '/^ +.*\[/ {print $4}')"
+ makeids
;;
*)
- # Calculate the cddb discid in all