summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Pielmeier <billie@gentoo.org>2012-01-18 19:43:08 +0000
committerDaniel Pielmeier <billie@gentoo.org>2012-01-18 19:43:08 +0000
commit30c8228c3e3ce02b2a5af755eda3ab3032472344 (patch)
tree40857b77cf87b9aa7c603e21e058323a09349836 /media-sound/rubyripper/rubyripper-0.6.2.ebuild
parentremove old (diff)
downloadgentoo-2-30c8228c3e3ce02b2a5af755eda3ab3032472344.tar.gz
gentoo-2-30c8228c3e3ce02b2a5af755eda3ab3032472344.tar.bz2
gentoo-2-30c8228c3e3ce02b2a5af755eda3ab3032472344.zip
Version bump. Remove old.
(Portage version: 2.1.10.41/cvs/Linux i686)
Diffstat (limited to 'media-sound/rubyripper/rubyripper-0.6.2.ebuild')
-rw-r--r--media-sound/rubyripper/rubyripper-0.6.2.ebuild65
1 files changed, 65 insertions, 0 deletions
diff --git a/media-sound/rubyripper/rubyripper-0.6.2.ebuild b/media-sound/rubyripper/rubyripper-0.6.2.ebuild
new file mode 100644
index 000000000000..68e2ecf8ff8c
--- /dev/null
+++ b/media-sound/rubyripper/rubyripper-0.6.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rubyripper/rubyripper-0.6.2.ebuild,v 1.1 2012/01/18 19:43:08 billie Exp $
+
+EAPI=2
+
+VIRTUALX_REQUIRED=always
+VIRTUALX_COMMAND=./configure
+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 ~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
+ 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"
+
+ virtualmake ${myconf}
+}
+
+each_ruby_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}