summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner <digitall@scummvm.org>2020-12-26 16:00:39 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2020-12-27 11:48:27 +0100
commite0a50a97fae498f0e6819c280a141f717b70d2f0 (patch)
treee5946504e35137dc1fab6f34da9bb99c7097f429 /media-sound/rip
parentsys-fs/iprutils: drop no-op IUSE="static-libs" (diff)
downloadgentoo-e0a50a97fae498f0e6819c280a141f717b70d2f0.tar.gz
gentoo-e0a50a97fae498f0e6819c280a141f717b70d2f0.tar.bz2
gentoo-e0a50a97fae498f0e6819c280a141f717b70d2f0.zip
media-sound/rip: Bump for FreeDB to GnuDB Migration Patch
Bug: https://bugs.gentoo.org/761724 Signed-off-by: David G Turner <digitall@scummvm.org> Closes: https://github.com/gentoo/gentoo/pull/18817 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/rip')
-rw-r--r--media-sound/rip/files/rip-1.07-change-to-gnudb-org.patch15
-rw-r--r--media-sound/rip/rip-1.07-r1.ebuild28
2 files changed, 43 insertions, 0 deletions
diff --git a/media-sound/rip/files/rip-1.07-change-to-gnudb-org.patch b/media-sound/rip/files/rip-1.07-change-to-gnudb-org.patch
new file mode 100644
index 000000000000..faf3d762d2a0
--- /dev/null
+++ b/media-sound/rip/files/rip-1.07-change-to-gnudb-org.patch
@@ -0,0 +1,15 @@
+--- rip-1.07/rip 2003-01-16 06:51:14.000000000 +0000
++++ rip-1.07/rip 2020-12-26 01:19:08.093961072 +0000
+@@ -130,9 +130,9 @@
+ my %config; # Configuration passed to CDDB/CDDB_get
+ my $dev = "/dev/cdrom"; # 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
+-$config{CDDB_MODE} = "http"; # CDDB mode can be: cddb, http
++$config{CDDB_HOST} = "gnudb.gnudb.org"; # CDDB host to find the server on
++$config{CDDB_PORT} = 8880; # CDDB port the CDDB server is using
++$config{CDDB_MODE} = "cddb"; # CDDB mode can be: cddb, http
+ $config{input} = 1; # User interaction: 1 = true, 0 = false
+ $config{HELLO_ID} = "greg my.net rip $version"; # HELLO string to give CDDB server
+
diff --git a/media-sound/rip/rip-1.07-r1.ebuild b/media-sound/rip/rip-1.07-r1.ebuild
new file mode 100644
index 000000000000..c84749041b37
--- /dev/null
+++ b/media-sound/rip/rip-1.07-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A command-line based audio CD ripper and mp3 encoder"
+SRC_URI="http://rip.sourceforge.net/download/${P}.tar.gz"
+HOMEPAGE="http://rip.sourceforge.net"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 sparc x86"
+
+RDEPEND="media-sound/cdparanoia
+ virtual/eject
+ dev-lang/perl
+ >=dev-perl/CDDB_get-2.10
+ >=dev-perl/MP3-Info-0.91
+ || ( media-sound/vorbis-tools media-sound/lame media-libs/flac media-sound/bladeenc )"
+
+PATCHES=(
+ "${FILESDIR}/${P}-change-to-gnudb-org.patch"
+)
+
+src_install() {
+ dobin rip
+ einstalldocs
+}