/[gentoo-x86]/media-sound/rubyripper/rubyripper-0.6.2-r1.ebuild
Gentoo

Contents of /media-sound/rubyripper/rubyripper-0.6.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Oct 17 03:18:39 2012 UTC (21 months ago) by phajdan.jr
Branch: MAIN
Changes since 1.2: +2 -2 lines
x86 stable wrt bug #436848

(Portage version: 2.1.11.9/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/rubyripper/rubyripper-0.6.2-r1.ebuild,v 1.2 2012/10/03 11:45:16 ago Exp $
4
5 EAPI=4
6
7 VIRTUALX_REQUIRED=always
8 VIRTUALX_COMMAND=./configure
9 USE_RUBY="ruby18 ruby19"
10
11 inherit ruby-ng virtualx
12
13 DESCRIPTION="A secure audio ripper for Linux"
14 HOMEPAGE="http://code.google.com/p/rubyripper"
15 SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"
16
17 LICENSE="GPL-3"
18 SLOT="0"
19 KEYWORDS="amd64 x86"
20 IUSE="cli cdrdao flac +gtk +mp3 normalize +vorbis wav"
21
22 ILINGUAS="bg de es fr hu it nl ru se"
23
24 for lingua in $ILINGUAS; do
25 IUSE="${IUSE} linguas_${lingua}"
26 done
27
28 RDEPEND="media-sound/cdparanoia
29 media-sound/cd-discid
30 virtual/eject
31 cdrdao? ( app-cdr/cdrdao )
32 flac? ( media-libs/flac )
33 vorbis? ( media-sound/vorbis-tools )
34 mp3? ( media-sound/lame )
35 wav? ( media-sound/wavpack )
36 normalize? ( media-sound/normalize )
37 wav? ( media-sound/wavegain )
38 vorbis? ( media-sound/vorbisgain )
39 mp3? ( media-sound/mp3gain )"
40 DEPEND="${RDEPEND}"
41
42 ruby_add_rdepend ">=dev-ruby/ruby-gettext-2.1.0-r1
43 gtk? ( >=dev-ruby/ruby-gtk2-0.19.3 )"
44
45 # fix for bug 203737
46 RUBY_PATCHES=( "${FILESDIR}/${PN}-0.5.2-require-rubygems.patch" )
47
48 each_ruby_configure() {
49 local myconf=--prefix=/usr
50 local enable_linguas
51
52 for lingua in $ILINGUAS; do
53 use linguas_$lingua && enable_linguas="${enable_linguas},${lingua}"
54 done
55
56 [[ -n ${enable_linguas} ]] && myconf="${myconf} --enable-lang=${enable_linguas#,}"
57
58 use gtk && myconf="${myconf} --enable-gtk2"
59 use cli && myconf="${myconf} --enable-cli"
60
61 virtualmake ${myconf}
62 }
63
64 each_ruby_install() {
65 default
66 }

  ViewVC Help
Powered by ViewVC 1.1.20