pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/rip Initial import of rip-1.07, a command-line b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e51f9a62a97
branches:  trunk
changeset: 482052:9e51f9a62a97
user:      ben <ben%pkgsrc.org@localhost>
date:      Tue Oct 19 03:13:11 2004 +0000

description:
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:

 audio/rip/DESCR            |   4 ++++
 audio/rip/MESSAGE          |  17 +++++++++++++++++
 audio/rip/Makefile         |  32 ++++++++++++++++++++++++++++++++
 audio/rip/PLIST            |   9 +++++++++
 audio/rip/distinfo         |   5 +++++
 audio/rip/patches/patch-aa |  22 ++++++++++++++++++++++
 6 files changed, 89 insertions(+), 0 deletions(-)

diffs (113 lines):

diff -r 56603fc08d5a -r 9e51f9a62a97 audio/rip/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/rip/DESCR   Tue Oct 19 03:13:11 2004 +0000
@@ -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 -r 56603fc08d5a -r 9e51f9a62a97 audio/rip/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/rip/MESSAGE Tue Oct 19 03:13:11 2004 +0000
@@ -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 -r 56603fc08d5a -r 9e51f9a62a97 audio/rip/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/rip/Makefile        Tue Oct 19 03:13:11 2004 +0000
@@ -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@localhost
+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 -r 56603fc08d5a -r 9e51f9a62a97 audio/rip/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/rip/PLIST   Tue Oct 19 03:13:11 2004 +0000
@@ -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 -r 56603fc08d5a -r 9e51f9a62a97 audio/rip/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/rip/distinfo        Tue Oct 19 03:13:11 2004 +0000
@@ -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 -r 56603fc08d5a -r 9e51f9a62a97 audio/rip/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/rip/patches/patch-aa        Tue Oct 19 03:13:11 2004 +0000
@@ -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 );
+   }



Home | Main Index | Thread Index | Old Index