summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Pielmeier <billie@gentoo.org>2010-07-09 19:06:56 +0000
committerDaniel Pielmeier <billie@gentoo.org>2010-07-09 19:06:56 +0000
commit7b279845b66f0c4126ae632fe971221715d19021 (patch)
tree6c4e5857771c4ffb97d527214a28de29a32faab4 /media-sound/rubyripper
parentppc64 stable wrt #326339 (diff)
downloadgentoo-2-7b279845b66f0c4126ae632fe971221715d19021.tar.gz
gentoo-2-7b279845b66f0c4126ae632fe971221715d19021.tar.bz2
gentoo-2-7b279845b66f0c4126ae632fe971221715d19021.zip
Version bump. Add myself to maintainers. Fixes bugs #299210 and #327233.
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'media-sound/rubyripper')
-rw-r--r--media-sound/rubyripper/ChangeLog10
-rw-r--r--media-sound/rubyripper/metadata.xml5
-rw-r--r--media-sound/rubyripper/rubyripper-0.6.0.ebuild67
3 files changed, 80 insertions, 2 deletions
diff --git a/media-sound/rubyripper/ChangeLog b/media-sound/rubyripper/ChangeLog
index 8ca235e0698a..e228029d5edf 100644
--- a/media-sound/rubyripper/ChangeLog
+++ b/media-sound/rubyripper/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/rubyripper
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/rubyripper/ChangeLog,v 1.30 2009/12/06 12:14:58 graaff Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rubyripper/ChangeLog,v 1.31 2010/07/09 19:06:56 billie Exp $
+
+*rubyripper-0.6.0 (09 Jul 2010)
+
+ 09 Jul 2010; Daniel Pielmeier <billie@gentoo.org>
+ +rubyripper-0.6.0.ebuild, metadata.xml:
+ Version bump. Add myself to maintainers. Fixes bugs #299210 and #327233.
06 Dec 2009; Hans de Graaff <graaff@gentoo.org>
rubyripper-0.5.5-r1.ebuild, rubyripper-0.5.7.ebuild:
diff --git a/media-sound/rubyripper/metadata.xml b/media-sound/rubyripper/metadata.xml
index 54abe29b8e2d..4f33f5b14fb1 100644
--- a/media-sound/rubyripper/metadata.xml
+++ b/media-sound/rubyripper/metadata.xml
@@ -2,8 +2,13 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sound</herd>
+ <maintainer>
+ <email>billie@gentoo.org</email>
+ <name>Daniel Pielmeier</name>
+ </maintainer>
<use>
<flag name="cli">Build command line interface rubyripper</flag>
+ <flag name="cdrdao">Add support for advanced toc scanning using <pkg>app-cdr/cdrdao</pkg></flag>
<flag name="normalize">Add support for normalizing audio file volume levels</flag>
<flag name="wav">Add support for wavegain</flag>
</use>
diff --git a/media-sound/rubyripper/rubyripper-0.6.0.ebuild b/media-sound/rubyripper/rubyripper-0.6.0.ebuild
new file mode 100644
index 000000000000..267102b28b3e
--- /dev/null
+++ b/media-sound/rubyripper/rubyripper-0.6.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rubyripper/rubyripper-0.6.0.ebuild,v 1.1 2010/07/09 19:06:56 billie Exp $
+
+EAPI=2
+
+VIRTUALX_REQUIRED=always
+USE_RUBY=ruby18
+
+inherit ruby-ng virtualx
+
+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 cdrdao flac +gtk +mp3 normalize +vorbis wav"
+
+ILINGUAS="bg de es fr hu it nl ru se"
+
+for lingua in $ILINGUAS; do
+ IUSE="${IUSE} linguas_${lingua}"
+done
+
+RDEPEND="virtual/eject
+ media-sound/cd-discid
+ media-sound/cdparanoia
+ cdrdao? ( app-cdr/cdrdao )
+ 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 ) )"
+DEPEND="${RDEPEND}"
+
+ruby_add_rdepend ">=dev-ruby/ruby-gettext-2.1.0-r1
+ >=dev-ruby/rcairo-1.8.1[svg]
+ gtk? ( >=dev-ruby/ruby-gtk2-0.19.3 )"
+
+# fix for bug 203737
+RUBY_PATCHES=( "${FILESDIR}/${PN}-0.5.2-require-rubygems.patch" )
+
+each_ruby_configure() {
+ 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"
+
+ # Force virtualmake to use configure instead of econf
+ maketype=./configure
+ virtualmake ${myconf}
+}
+
+each_ruby_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}