summaryrefslogtreecommitdiff
path: root/audio/rip
diff options
context:
space:
mode:
authorben <ben>2004-10-19 03:13:11 +0000
committerben <ben>2004-10-19 03:13:11 +0000
commit2599cc69143c839d76126ad059e71ebe6c5a9dc3 (patch)
tree286ab4721c3ac458869a2dc94275e555d146bebf /audio/rip
parent3c8ea4dc04e53c0d72f3e1f08d9bed8cc7a30bf2 (diff)
downloadpkgsrc-2599cc69143c839d76126ad059e71ebe6c5a9dc3.tar.gz
Initial import of rip-1.07, a command-line based audio CD ripper and
encoder. Provided by Leonard Schmidt in PR#27269 and PR#27290. rip is a wrapper for rippers and encoders which provides a common interface for ripping any CD audio track and encoding it into MP3, Ogg Vorbis, or FLAC. Manual and CDDB based renaming schemes are available for naming and tagging your ripped tracks.
Diffstat (limited to 'audio/rip')
-rw-r--r--audio/rip/DESCR4
-rw-r--r--audio/rip/MESSAGE17
-rw-r--r--audio/rip/Makefile32
-rw-r--r--audio/rip/PLIST9
-rw-r--r--audio/rip/distinfo5
-rw-r--r--audio/rip/patches/patch-aa22
6 files changed, 89 insertions, 0 deletions
diff --git a/audio/rip/DESCR b/audio/rip/DESCR
new file mode 100644
index 00000000000..0e7a1e4ad08
--- /dev/null
+++ b/audio/rip/DESCR
@@ -0,0 +1,4 @@
+rip is a wrapper for rippers and encoders which provides a common
+interface for ripping any CD audio track and encoding it into
+MP3, Ogg Vorbis, or FLAC. Manual and CDDB based renaming schemes
+are available for naming and tagging your ripped tracks.
diff --git a/audio/rip/MESSAGE b/audio/rip/MESSAGE
new file mode 100644
index 00000000000..832d3058d9b
--- /dev/null
+++ b/audio/rip/MESSAGE
@@ -0,0 +1,17 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2004/10/19 03:13:11 ben Exp $
+
+To actually use rip, you need to install at least one of the
+following rippers and encoders:
+
+Rippers:
+ - audio/cdparanoia
+ - sysutils/cdrecord (includes cdda2wav)
+
+Encoders:
+ - audio/bladeenc
+ - audio/flac
+ - audio/gogo
+ - audio/lame
+ - audio/vorbis-tools (includes oggenc)
+===========================================================================
diff --git a/audio/rip/Makefile b/audio/rip/Makefile
new file mode 100644
index 00000000000..165e04249bf
--- /dev/null
+++ b/audio/rip/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/19 03:13:11 ben Exp $
+#
+
+DISTNAME= rip-1.07
+CATEGORIES= audio perl5
+MASTER_SITES= http://rip.sourceforge.net/download/
+
+MAINTAINER= lems@gmx.net
+HOMEPAGE= http://rip.sourceforge.net/
+COMMENT= Command-line based audio CD ripper and encoder
+
+DEPENDS+= p5-CDDB_get>=2.23:../../audio/p5-CDDB_get
+DEPENDS+= p5-MP3-Info>=1.00:../../audio/p5-MP3-Info
+
+NO_BUILDLINK= yes
+USE_PERL5= yes
+NO_BUILD= # defined
+
+DOCFILES= BUGS CHANGELOG COPYING FAQ INSTALLING README
+DOCDIR= ${PREFIX}/share/doc/rip
+
+post-patch:
+ ${PERL5} -pi -ne "s|#!/usr/bin/perl|#!${PERL5}|" ${WRKSRC}/rip
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/rip ${PREFIX}/bin/rip
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ for i in ${DOCFILES}; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$i ${DOCDIR}; \
+ done
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/rip/PLIST b/audio/rip/PLIST
new file mode 100644
index 00000000000..65d8a374ef7
--- /dev/null
+++ b/audio/rip/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/10/19 03:13:11 ben Exp $
+bin/rip
+share/doc/rip/BUGS
+share/doc/rip/CHANGELOG
+share/doc/rip/COPYING
+share/doc/rip/FAQ
+share/doc/rip/INSTALLING
+share/doc/rip/README
+@dirrm share/doc/rip
diff --git a/audio/rip/distinfo b/audio/rip/distinfo
new file mode 100644
index 00000000000..48d9cb90c37
--- /dev/null
+++ b/audio/rip/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/10/19 03:13:11 ben Exp $
+
+SHA1 (rip-1.07.tar.gz) = a7b60dbc5dbaf5ca0d24c9e554fa3e5885bbccb1
+Size (rip-1.07.tar.gz) = 110261 bytes
+SHA1 (patch-aa) = bb98665178ed40baebb08b087551d690a549b09b
diff --git a/audio/rip/patches/patch-aa b/audio/rip/patches/patch-aa
new file mode 100644
index 00000000000..a5345d0ced8
--- /dev/null
+++ b/audio/rip/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/10/19 03:13:11 ben Exp $
+
+--- rip.orig 2004-10-08 17:11:28.000000000 +0000
++++ rip 2004-10-08 17:12:08.000000000 +0000
+@@ -128,7 +128,7 @@
+
+
+ my %config; # Configuration passed to CDDB/CDDB_get
+-my $dev = "/dev/cdrom"; # CDROM device to read (used by -d/--dev)
++my $dev = "/dev/rcd0d"; # CDROM device to read (used by -d/--dev)
+ $config{CD_DEVICE} = $dev; # Device that has the audio CD
+ $config{CDDB_HOST} = "freedb.freedb.org"; # CDDB host to find the server on
+ $config{CDDB_PORT} = 888; # CDDB port the CDDB server is using
+@@ -343,7 +343,7 @@
+ print rcFile "# Only when debug is set to \"\" is the errorFile removed after each rip.\n";
+ print rcFile "debug = \"\"\n\n";
+ print rcFile "# The default device to find the CD in.\n";
+- print rcFile "dev = \"/dev/cdrom\"\n\n";
++ print rcFile "dev = \"/dev/rcd0d\"\n\n";
+
+ close( rcFile );
+ }