diff options
author | Ben de Groot <yngwin@gentoo.org> | 2009-01-30 20:00:28 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2009-01-30 20:00:28 +0000 |
commit | e9fbd29938484245df677109bdac77960951aafe (patch) | |
tree | 8ac8ddc62ec1e1f0177b226ffaf88c58f17a38b6 /media-sound/rubyripper | |
parent | keyword ~x86-fbsd (diff) | |
download | gentoo-2-e9fbd29938484245df677109bdac77960951aafe.tar.gz gentoo-2-e9fbd29938484245df677109bdac77960951aafe.tar.bz2 gentoo-2-e9fbd29938484245df677109bdac77960951aafe.zip |
Version bump
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'media-sound/rubyripper')
-rw-r--r-- | media-sound/rubyripper/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/rubyripper/rubyripper-0.5.5.ebuild | 64 |
2 files changed, 71 insertions, 2 deletions
diff --git a/media-sound/rubyripper/ChangeLog b/media-sound/rubyripper/ChangeLog index 096c3ed20b3e..bc4e3cef8b40 100644 --- a/media-sound/rubyripper/ChangeLog +++ b/media-sound/rubyripper/ChangeLog @@ -1,6 +1,11 @@ # 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.21 2008/11/05 21:48:03 yngwin Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/rubyripper/ChangeLog,v 1.22 2009/01/30 20:00:28 yngwin Exp $ + +*rubyripper-0.5.5 (30 Jan 2009) + + 30 Jan 2009; Ben de Groot <yngwin@gentoo.org> +rubyripper-0.5.5.ebuild: + Version bump *rubyripper-0.5.4 (05 Nov 2008) diff --git a/media-sound/rubyripper/rubyripper-0.5.5.ebuild b/media-sound/rubyripper/rubyripper-0.5.5.ebuild new file mode 100644 index 000000000000..547c2ccf886f --- /dev/null +++ b/media-sound/rubyripper/rubyripper-0.5.5.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/rubyripper/rubyripper-0.5.5.ebuild,v 1.1 2009/01/30 20:00:28 yngwin Exp $ + +EAPI="1" + +inherit ruby 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 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}/${PN}-0.5.2-require-rubygems.patch" +} + +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" + + Xeconf ${myconf} || die "./configure failed" + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" +} |