diff options
author | Ben de Groot <yngwin@gentoo.org> | 2008-04-01 16:21:21 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2008-04-01 16:21:21 +0000 |
commit | 97707ffa3ce1deced5105f562cb6c94a50db37c4 (patch) | |
tree | bd8f473f22aafe52282ea95726e92f8d2cbdaa46 /media-sound/rubyripper | |
parent | Add ~alpha/~ia64/~sparc wrt #215709 (diff) | |
download | historical-97707ffa3ce1deced5105f562cb6c94a50db37c4.tar.gz historical-97707ffa3ce1deced5105f562cb6c94a50db37c4.tar.bz2 historical-97707ffa3ce1deced5105f562cb6c94a50db37c4.zip |
Version bump for media-sound/rubyripper
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'media-sound/rubyripper')
4 files changed, 95 insertions, 0 deletions
diff --git a/media-sound/rubyripper/Manifest b/media-sound/rubyripper/Manifest index aab25590f1f5..5668120bd3b2 100644 --- a/media-sound/rubyripper/Manifest +++ b/media-sound/rubyripper/Manifest @@ -1,11 +1,15 @@ AUX rubyripper-0.4.4-desktopfile.patch 645 RMD160 16f2f4840e61f69ca88c0ce440e6fe6c6e2e8af5 SHA1 7a8d6ead7ef11085cf5a09a26c143546b53a895e SHA256 482d9feed5d544fa3d3732d6b61f46416034c3c78bc0124c4a21874f1e8018c5 AUX rubyripper-0.4.4-editor-environment.patch 919 RMD160 9d0546aa4a7881dd00650ba9a65ad80508410ba8 SHA1 648620ebeab15935e9e6ff27923adef91c5f3f83 SHA256 197ada7aa5e1d0651e1d9d4dc6ebe0d04d524c779bd58c653dd4c84086e5f978 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 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 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 1703 RMD160 076fd8831c3ddf2d99acae928e162f271bf9fbbc SHA1 018cfd73b8db8474376e2b7d0cbfb7b81921b10a SHA256 0ee6937986505946ea71b1b2a906992cec8e84b9c0f75fb1091d8460e7089ed3 MISC ChangeLog 2602 RMD160 2000042ba2f79a0803f43a92387c14df4f58731c SHA1 e73bbd2af109049d22e4274ec5310d7585207c59 SHA256 193eb72c7d6b9df68842cc81cb2e99ed7d9f455d0c89c01d521117dd55fd6494 MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b diff --git a/media-sound/rubyripper/files/rubyripper-0.5.0-editor-environment.patch b/media-sound/rubyripper/files/rubyripper-0.5.0-editor-environment.patch new file mode 100644 index 000000000000..78ba645a47c8 --- /dev/null +++ b/media-sound/rubyripper/files/rubyripper-0.5.0-editor-environment.patch @@ -0,0 +1,15 @@ +--- a/rubyripper_gtk2.rb 2008-04-01 17:05:12.000000000 +0200 ++++ b/rubyripper_gtk2.rb 2008-04-01 17:05:59.000000000 +0200 +@@ -35,10 +35,10 @@ + end + + def editor # look for default editor +- if installed('mousepad') : return 'mousepad' #Xfce4 editor ++ if ENV['EDITOR'] : return ENV['EDITOR'] + elsif installed('kwrite') : return 'kwrite' #Kde editor + elsif installed('gedit') : return 'gedit' #Gnome editor +- elsif ENV['EDITOR'] : return ENV['EDITOR'] ++ elsif installed('mousepad') : return 'mousepad' #Xfce4 editor + else puts "No editor found. Please tell the developer which editor you use!" ; return 'unknown' + end + end diff --git a/media-sound/rubyripper/files/rubyripper-0.5.0-require-rubygems.patch b/media-sound/rubyripper/files/rubyripper-0.5.0-require-rubygems.patch new file mode 100644 index 000000000000..10ebbafef2d5 --- /dev/null +++ b/media-sound/rubyripper/files/rubyripper-0.5.0-require-rubygems.patch @@ -0,0 +1,10 @@ +--- a/rr_lib.rb 2008-01-23 20:32:09.000000000 +0100 ++++ b/rr_lib.rb 2008-04-01 17:38:14.000000000 +0200 +@@ -22,6 +22,7 @@ + $rr_version = '0.5.0' #application wide setting + + begin ++ require 'rubygems' + require 'gettext' + rescue LoadError + puts "RubyGems is not found. Please install ruby-gettext." diff --git a/media-sound/rubyripper/rubyripper-0.5.0.ebuild b/media-sound/rubyripper/rubyripper-0.5.0.ebuild new file mode 100644 index 000000000000..4d96539bcf3a --- /dev/null +++ b/media-sound/rubyripper/rubyripper-0.5.0.ebuild @@ -0,0 +1,66 @@ +# 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.0.ebuild,v 1.1 2008/04/01 16:21:20 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 ~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}" + + # honour EDITOR environment variable first + epatch "${FILESDIR}/${P}-editor-environment.patch" + # fix for bug 203737 + epatch "${FILESDIR}/${P}-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" + + ./configure ${myconf} || die "./configure failed" + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" +} |