summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2008-08-07 00:54:16 +0000
committerBen de Groot <yngwin@gentoo.org>2008-08-07 00:54:16 +0000
commitfca3f502b15c30ac3a96ce1ca2962fa488cdffa3 (patch)
treebef70485f208ac3f42ef95859680c076a9b7f03b /media-sound/rubyripper
parentVersion bump thanks to Vieri (bug #234074). (diff)
downloadhistorical-fca3f502b15c30ac3a96ce1ca2962fa488cdffa3.tar.gz
historical-fca3f502b15c30ac3a96ce1ca2962fa488cdffa3.tar.bz2
historical-fca3f502b15c30ac3a96ce1ca2962fa488cdffa3.zip
Version bump
Package-Manager: portage-2.2_rc6/cvs/Linux 2.6.26-hg1 i686
Diffstat (limited to 'media-sound/rubyripper')
-rw-r--r--media-sound/rubyripper/ChangeLog8
-rw-r--r--media-sound/rubyripper/Manifest5
-rw-r--r--media-sound/rubyripper/files/rubyripper-0.5.2-require-rubygems.patch10
-rw-r--r--media-sound/rubyripper/rubyripper-0.5.2.ebuild67
4 files changed, 88 insertions, 2 deletions
diff --git a/media-sound/rubyripper/ChangeLog b/media-sound/rubyripper/ChangeLog
index 13889df91b84..6ad2f3a99f6f 100644
--- a/media-sound/rubyripper/ChangeLog
+++ b/media-sound/rubyripper/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/rubyripper
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/rubyripper/ChangeLog,v 1.18 2008/04/21 15:23:28 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rubyripper/ChangeLog,v 1.19 2008/08/07 00:54:15 yngwin Exp $
+
+*rubyripper-0.5.2 (07 Aug 2008)
+
+ 07 Aug 2008; Ben de Groot <yngwin@gentoo.org>
+ +files/rubyripper-0.5.2-require-rubygems.patch, +rubyripper-0.5.2.ebuild:
+ Version bump
21 Apr 2008; Raúl Porcel <armin76@gentoo.org> rubyripper-0.5.0.ebuild:
Add ~sparc
diff --git a/media-sound/rubyripper/Manifest b/media-sound/rubyripper/Manifest
index e8aa23781f86..cd1bc195b125 100644
--- a/media-sound/rubyripper/Manifest
+++ b/media-sound/rubyripper/Manifest
@@ -3,13 +3,16 @@ AUX rubyripper-0.4.4-editor-environment.patch 919 RMD160 9d0546aa4a7881dd00650ba
AUX rubyripper-0.4.4-iconinstall.patch 4787 RMD160 89b1e91f7bb5dcd236184732e2e96456a8d048b9 SHA1 ca13e3f6412a27af525974d6f30e391bd2599ce9 SHA256 4eb160c401d50fe08155014b9fa5d7542eb83eb68c8ce4dd6e2b866a748ea869
AUX rubyripper-0.5.0-editor-environment.patch 624 RMD160 5fcec29ed2f7cf913a11baae5130aedeb8fd433a SHA1 aca72e5e02c651a517c2f9b6179ab26a097abca0 SHA256 a7383e6b3d1445967e9c611c64b3533270f4ea24da8b44ccba2f23e4fa351d8b
AUX rubyripper-0.5.0-require-rubygems.patch 303 RMD160 b65ba4110f37cf0bd2d87662a8eabaa5585213b1 SHA1 11b8962a861deca1b53b917f77c72f46da134a05 SHA256 808e8ae530317f6ddc1e2ca0b09a88ea8ae5f7823c68f8f72735fe3f74ea6ce0
+AUX rubyripper-0.5.2-require-rubygems.patch 274 RMD160 ce9fb0f7885abcd1753f5d1d98a4c2273cfb7bbf SHA1 4973d70d6a901aed770c4c811d6ed5bedf48e551 SHA256 16c7cedf958580bb64656d60f0cd4e7d3a8c017a496f86ce9ed2a3aed04d556e
DIST rubyripper-0.3.tar.bz2 31459 RMD160 50dd5b35b379ec82ecaee2bcfb05f7a06181a9b3 SHA1 0879c65c206982e8b27bb1e463e7dc19d475b0a2 SHA256 60479b284dbe1bd592c0d3bc093912eb2b0b33a04f7ec84e8b576e33ba0b8f88
DIST rubyripper-0.4.2.tar.bz2 41450 RMD160 57530c174aa4e3cfdfc4a4ea042090d750a5598a SHA1 7f833ab4d6ff394b0fac5371a575dcadfb2a7dfd SHA256 fc8e269a66107195849bd9ffeb574af9c0d832e4a6bd07ae1af20786a72915ff
DIST rubyripper-0.4.4.tar.bz2 65649 RMD160 f54a2bf0492f151f6e7895c2bd917a3d95d4af21 SHA1 1b39792cd2d8c957ae93f8fc5c721084475a691e SHA256 c7e9129ff3ea3cae652db129180941b6ccc35f9f282b34e8160060b0e486d937
DIST rubyripper-0.5.0.tar.bz2 84123 RMD160 54186a3c2ba31a2f98d41fe8c2c449ddc0358575 SHA1 27fa2cdfe02d7d7ab4be3e7fc53df462aee61ea8 SHA256 797b65c9d21cf2a61cec23fe9bc0753c6e412580d2f616899a7fa0de2355f690
+DIST rubyripper-0.5.2.tar.bz2 83516 RMD160 23a3e3be9c3793390fd8da70af519c0948f9cd6a SHA1 f427bfb2965e537b3c6fe8100ffb987211a1e5fa SHA256 f4eeb59a579db2524a99d8fef66d51594819b224c29058ad92a3d0ee6f4f06a8
EBUILD rubyripper-0.3.ebuild 1157 RMD160 b28efe4cdd8d1d1873b6790cb2488c347e6f354c SHA1 7f4dd926c11ea5be041c8651e441d1ebf11d5164 SHA256 a99ec84aa9993ecf03caad8e8a316549bb1916d4c88e699a6f514c547d1a1f51
EBUILD rubyripper-0.4.2-r1.ebuild 979 RMD160 c57e3979a275bb702859435405167261564d4c43 SHA1 cb8acb01b42d28c5d746a0ad8e9b3b3fc85791ec SHA256 3e71b443bc15ca8d5d8fcff90c1753dc8788c09e9a1f7d6c6df0183e8a9a9108
EBUILD rubyripper-0.4.4.ebuild 1526 RMD160 d185cc6f303452d964cc50b845760b647d622c92 SHA1 f6ff295243677db52cf66ff1d5f804a16170bab5 SHA256 983c6327a7d9e2a99059f64ecf1894ad96b7f32e3b8fa834f7c54a367cdda910
EBUILD rubyripper-0.5.0.ebuild 1711 RMD160 daf5fce090c64532b9471739974cb5d59e02bcab SHA1 aab5beefc2ac7fed9f534df7b534e98fa1aa70a2 SHA256 1e6bc00b1f06bef6dbe9ec9670d31329993dfa2d455de21033a224c4794d0152
-MISC ChangeLog 2937 RMD160 e8ef94d2307371dc0c51aa3b33207378ea185add SHA1 ed5f72dc41a3d02066790d857240aaf963520180 SHA256 8b33bc65302e2b6dfab0e527d92192695de229b6387c62e277b52b7e7cf670e5
+EBUILD rubyripper-0.5.2.ebuild 1721 RMD160 e77f9ce039c9836254ab37b79e14747831f9ec1b SHA1 180f632b7257d92bf827504d5d72832aa5c391e1 SHA256 5e1cbc588f1621d04aa5832e5602587bd7224c6c020b464b9b8b67abb31abdbb
+MISC ChangeLog 3109 RMD160 28d3c6143336c3c59d3d5d4eb12524826c4b962c SHA1 1b25590a3c3dea1e1615e2123c9e0fdb55f279e9 SHA256 18a72d1a90a8a7781c7fe1be6f2cacc145d08725af037a92c8725dec0e4bd129
MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
diff --git a/media-sound/rubyripper/files/rubyripper-0.5.2-require-rubygems.patch b/media-sound/rubyripper/files/rubyripper-0.5.2-require-rubygems.patch
new file mode 100644
index 000000000000..7d3a9968e78f
--- /dev/null
+++ b/media-sound/rubyripper/files/rubyripper-0.5.2-require-rubygems.patch
@@ -0,0 +1,10 @@
+--- rr_lib.rb.orig 2008-08-07 02:26:12.000000000 +0200
++++ rr_lib.rb 2008-08-07 02:26:40.000000000 +0200
+@@ -22,6 +22,7 @@
+ $rr_version = '0.5.2' #application wide setting
+
+ begin
++ require 'rubygems'
+ require 'gettext'
+ include GetText
+ bindtextdomain("rubyripper")
diff --git a/media-sound/rubyripper/rubyripper-0.5.2.ebuild b/media-sound/rubyripper/rubyripper-0.5.2.ebuild
new file mode 100644
index 000000000000..ca9dfa16ee6b
--- /dev/null
+++ b/media-sound/rubyripper/rubyripper-0.5.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rubyripper/rubyripper-0.5.2.ebuild,v 1.1 2008/08/07 00:54:15 yngwin Exp $
+
+EAPI="1"
+
+inherit ruby
+
+DESCRIPTION="A secure audio ripper for Linux"
+HOMEPAGE="http://code.google.com/p/rubyripper"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="cli flac +gtk +mp3 normalize +vorbis wav"
+ILINGUAS="de es hu nl ru"
+
+for lingua in $ILINGUAS; do
+ IUSE="${IUSE} linguas_${lingua}"
+done
+
+DEPEND="dev-ruby/ruby-gettext"
+RDEPEND="gtk? ( dev-ruby/ruby-gtk2 )
+ dev-ruby/ruby-gettext
+ virtual/eject
+ media-sound/cd-discid
+ media-sound/cdparanoia
+ flac? ( media-libs/flac )
+ mp3? ( media-sound/lame )
+ vorbis? ( media-sound/vorbis-tools )
+ normalize? ( media-sound/normalize
+ mp3? ( media-sound/mp3gain )
+ vorbis? ( media-sound/vorbisgain )
+ wav? ( media-sound/wavegain ) )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # fix for bug 203737
+ epatch "${FILESDIR}/${P}-require-rubygems.patch"
+
+ # our wavgain is named wavegain
+ sed -i -e "s:wavgain:wavegain:g" "${S}"/configure || die "sed failed"
+}
+
+src_compile() {
+ local myconf="--prefix=/usr"
+ local enable_linguas=""
+
+ for lingua in $ILINGUAS; do
+ use linguas_$lingua && enable_linguas="${enable_linguas},${lingua}"
+ done
+
+ [[ -n ${enable_linguas} ]] && myconf="${myconf} --enable-lang=${enable_linguas#,}"
+
+ use gtk && myconf="${myconf} --enable-gtk2"
+ use cli && myconf="${myconf} --enable-cli"
+
+ ./configure ${myconf} || die "./configure failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}