1 |
commit: e0a50a97fae498f0e6819c280a141f717b70d2f0 |
2 |
Author: D G Turner <digitall <AT> scummvm <DOT> org> |
3 |
AuthorDate: Sat Dec 26 16:00:39 2020 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 27 10:48:27 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0a50a97 |
7 |
|
8 |
media-sound/rip: Bump for FreeDB to GnuDB Migration Patch |
9 |
|
10 |
Bug: https://bugs.gentoo.org/761724 |
11 |
|
12 |
Signed-off-by: David G Turner <digitall <AT> scummvm.org> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/18817 |
14 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
15 |
|
16 |
.../rip/files/rip-1.07-change-to-gnudb-org.patch | 15 ++++++++++++ |
17 |
media-sound/rip/rip-1.07-r1.ebuild | 28 ++++++++++++++++++++++ |
18 |
2 files changed, 43 insertions(+) |
19 |
|
20 |
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 |
21 |
new file mode 100644 |
22 |
index 00000000000..faf3d762d2a |
23 |
--- /dev/null |
24 |
+++ b/media-sound/rip/files/rip-1.07-change-to-gnudb-org.patch |
25 |
@@ -0,0 +1,15 @@ |
26 |
+--- rip-1.07/rip 2003-01-16 06:51:14.000000000 +0000 |
27 |
++++ rip-1.07/rip 2020-12-26 01:19:08.093961072 +0000 |
28 |
+@@ -130,9 +130,9 @@ |
29 |
+ my %config; # Configuration passed to CDDB/CDDB_get |
30 |
+ my $dev = "/dev/cdrom"; # CDROM device to read (used by -d/--dev) |
31 |
+ $config{CD_DEVICE} = $dev; # Device that has the audio CD |
32 |
+-$config{CDDB_HOST} = "freedb.freedb.org"; # CDDB host to find the server on |
33 |
+-$config{CDDB_PORT} = 888; # CDDB port the CDDB server is using |
34 |
+-$config{CDDB_MODE} = "http"; # CDDB mode can be: cddb, http |
35 |
++$config{CDDB_HOST} = "gnudb.gnudb.org"; # CDDB host to find the server on |
36 |
++$config{CDDB_PORT} = 8880; # CDDB port the CDDB server is using |
37 |
++$config{CDDB_MODE} = "cddb"; # CDDB mode can be: cddb, http |
38 |
+ $config{input} = 1; # User interaction: 1 = true, 0 = false |
39 |
+ $config{HELLO_ID} = "greg my.net rip $version"; # HELLO string to give CDDB server |
40 |
+ |
41 |
|
42 |
diff --git a/media-sound/rip/rip-1.07-r1.ebuild b/media-sound/rip/rip-1.07-r1.ebuild |
43 |
new file mode 100644 |
44 |
index 00000000000..c84749041b3 |
45 |
--- /dev/null |
46 |
+++ b/media-sound/rip/rip-1.07-r1.ebuild |
47 |
@@ -0,0 +1,28 @@ |
48 |
+# Copyright 1999-2020 Gentoo Authors |
49 |
+# Distributed under the terms of the GNU General Public License v2 |
50 |
+ |
51 |
+EAPI=7 |
52 |
+ |
53 |
+DESCRIPTION="A command-line based audio CD ripper and mp3 encoder" |
54 |
+SRC_URI="http://rip.sourceforge.net/download/${P}.tar.gz" |
55 |
+HOMEPAGE="http://rip.sourceforge.net" |
56 |
+ |
57 |
+LICENSE="GPL-2" |
58 |
+SLOT="0" |
59 |
+KEYWORDS="amd64 ppc ppc64 sparc x86" |
60 |
+ |
61 |
+RDEPEND="media-sound/cdparanoia |
62 |
+ virtual/eject |
63 |
+ dev-lang/perl |
64 |
+ >=dev-perl/CDDB_get-2.10 |
65 |
+ >=dev-perl/MP3-Info-0.91 |
66 |
+ || ( media-sound/vorbis-tools media-sound/lame media-libs/flac media-sound/bladeenc )" |
67 |
+ |
68 |
+PATCHES=( |
69 |
+ "${FILESDIR}/${P}-change-to-gnudb-org.patch" |
70 |
+) |
71 |
+ |
72 |
+src_install() { |
73 |
+ dobin rip |
74 |
+ einstalldocs |
75 |
+} |