aboutsummaryrefslogtreecommitdiff
path: root/audio/ripit
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-06-04 22:37:22 +0000
committerWill Andrews <will@FreeBSD.org>2000-06-04 22:37:22 +0000
commitc0fb3d8a67c976dd94488f1fd4d5a500e8eda4b4 (patch)
treec0eb103f6cd2c0ce25ab6dac0996452489f510cc /audio/ripit
parent26856dea2115d420ddd426a84c6cadffffc94dcf (diff)
downloadports-c0fb3d8a67c976dd94488f1fd4d5a500e8eda4b4.tar.gz
ports-c0fb3d8a67c976dd94488f1fd4d5a500e8eda4b4.zip
Update to 1.8, which adds support for gogo.
PR: 18972 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=29185
Diffstat (limited to 'audio/ripit')
-rw-r--r--audio/ripit/Makefile3
-rw-r--r--audio/ripit/distinfo2
-rw-r--r--audio/ripit/files/patch-aa42
3 files changed, 10 insertions, 37 deletions
diff --git a/audio/ripit/Makefile b/audio/ripit/Makefile
index 7bc1893c98b2..a4b0890a7171 100644
--- a/audio/ripit/Makefile
+++ b/audio/ripit/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ripit
-PORTVERSION= 1.6
+PORTVERSION= 1.8
CATEGORIES= audio
MASTER_SITES= http://www.initio.no/~oyvindmo/distfiles/
@@ -14,6 +14,7 @@ MAINTAINER= oyvindmo@initio.no
RUN_DEPENDS= bladeenc:${PORTSDIR}/audio/bladeenc \
lame:${PORTSDIR}/audio/lame \
+ gogo:${PORTSDIR}/audio/gogo \
tosha:${PORTSDIR}/audio/tosha \
cdda2wav:${PORTSDIR}/sysutils/cdrecord \
cda:${PORTSDIR}/audio/xmcd
diff --git a/audio/ripit/distinfo b/audio/ripit/distinfo
index c5140a53ad84..cf89ba828a0c 100644
--- a/audio/ripit/distinfo
+++ b/audio/ripit/distinfo
@@ -1 +1 @@
-MD5 (ripit-1.6.tar.gz) = b46334c00712b65f6b59ad23caab2b94
+MD5 (ripit-1.8.tar.gz) = f2cf29b275525e1c91fe726479e71172
diff --git a/audio/ripit/files/patch-aa b/audio/ripit/files/patch-aa
index 6d4e646f7f63..7d8ed2514712 100644
--- a/audio/ripit/files/patch-aa
+++ b/audio/ripit/files/patch-aa
@@ -1,5 +1,5 @@
---- ripit.pl.orig Fri Apr 21 12:11:23 2000
-+++ ripit.pl Fri Apr 21 12:16:20 2000
+--- ripit.pl.orig Fri Jun 2 23:17:16 2000
++++ ripit.pl Fri Jun 2 23:18:58 2000
@@ -26,12 +26,12 @@
# User configurable variables
#
@@ -9,39 +9,11 @@
+$cddev = "/dev/rcd0c"; # CD Audio device
+$outputdir = "/home/mp3/"; # Where the MP3s should go
$bitrate = 160; # Bitrate for MP3s
- $encoder = 1; # 0 - Bladeenc, 1 - Lame
+-$encoder = 1; # 0 - Bladeenc, 1 - Lame, 2 - Gogo
++$encoder = 2; # 0 - Bladeenc, 1 - Lame, 2 - Gogo
$encopt = ""; # options for mp3 encoder
--$cdripper = 0; # 0 - cdparanoia, 1 - cdda2wav
-+$cdripper = 2; # 0 - cdparanoia, 1 - cdda2wav, 2 - tosha
+-$cdripper = 0; # 0 - cdparanoia, 1 - cdda2wav,
++$cdripper = 2; # 0 - cdparanoia, 1 - cdda2wav,
+ # 2 - tosha, 3 - cdd
$cdopt = ""; # options for cdaudio ripper
- $use_underscore = 0; # Use _ instead of spaces in filenames (1 yes, 0 no)
-@@ -340,12 +340,18 @@
- die "cdparanoia failed on $tracklist[$_ - 1]";
- }
- }
-- else {
-+ elsif ($cdripper == 1) {
- if (system("cdda2wav -D $cddev -Q -H $cdopt -t $riptrackno \"$riptrackname.rip\"")) {
- &printflush(RIPLOG,"cdda2wav failed on $tracklist[$_ - 1]\n");
- die "cdda2wav failed on $tracklist[$_ - 1]";
- }
- }
-+ else {
-+ if (system("tosha -d $cddev -f wav -t $riptrackno -o \"$riptrackname.rip\"")) {
-+ &printflush(RIPLOG,"tosha failed on $tracklist[$_ - 1]\n");
-+ die "tosha failed on $tracklist[$_ - 1]";
-+ }
-+ }
-
- # Rename rip file to a wav for encoder
- rename "$riptrackname.rip","$riptrackname.wav";
-@@ -380,7 +386,7 @@
- print "\nMP3 Encoding track ".$ncount." of ".($#seltrack + 1)."\n";
- &printflush(RIPLOG,"Encoding $tracklist[$_ - 1]...\n");
-
-- # Keep looping until the file appears, ie wait for cdparanoia
-+ # Keep looping until the file appears, ie wait for cdripper
- # timeout after 30 minutes
- $x=0;
- while( ! -r "$riptrackname.wav" ){