summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-12-04 22:11:21 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-12-04 22:11:21 +0000
commite74236070a1c0898ab192c7e08eb526f8268bd0d (patch)
tree031b4b6b2d4e8da7923bf85a4941398aa10d38e8 /media-sound/rubyripper
parentAdd a doruby function to install ruby files in the right place without reinve... (diff)
downloadgentoo-2-e74236070a1c0898ab192c7e08eb526f8268bd0d.tar.gz
gentoo-2-e74236070a1c0898ab192c7e08eb526f8268bd0d.tar.bz2
gentoo-2-e74236070a1c0898ab192c7e08eb526f8268bd0d.zip
Version bump.
(Portage version: 2.1.2_rc2-r5)
Diffstat (limited to 'media-sound/rubyripper')
-rw-r--r--media-sound/rubyripper/ChangeLog7
-rw-r--r--media-sound/rubyripper/files/digest-rubyripper-0.33
-rw-r--r--media-sound/rubyripper/rubyripper-0.3.ebuild47
3 files changed, 56 insertions, 1 deletions
diff --git a/media-sound/rubyripper/ChangeLog b/media-sound/rubyripper/ChangeLog
index f1c6d6495d99..991e8d8d361a 100644
--- a/media-sound/rubyripper/ChangeLog
+++ b/media-sound/rubyripper/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/rubyripper
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/rubyripper/ChangeLog,v 1.3 2006/11/21 12:58:15 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rubyripper/ChangeLog,v 1.4 2006/12/04 22:11:21 flameeyes Exp $
+
+*rubyripper-0.3 (04 Dec 2006)
+
+ 04 Dec 2006; Diego Pettenò <flameeyes@gentoo.org> +rubyripper-0.3.ebuild:
+ Version bump.
21 Nov 2006; Diego Pettenò <flameeyes@gentoo.org> metadata.xml:
Give this back to sound herd.
diff --git a/media-sound/rubyripper/files/digest-rubyripper-0.3 b/media-sound/rubyripper/files/digest-rubyripper-0.3
new file mode 100644
index 000000000000..ebdb04538036
--- /dev/null
+++ b/media-sound/rubyripper/files/digest-rubyripper-0.3
@@ -0,0 +1,3 @@
+MD5 9022f8dd8e66a373df33e5f6a7fad595 rubyripper-0.3.tar.bz2 31459
+RMD160 50dd5b35b379ec82ecaee2bcfb05f7a06181a9b3 rubyripper-0.3.tar.bz2 31459
+SHA256 60479b284dbe1bd592c0d3bc093912eb2b0b33a04f7ec84e8b576e33ba0b8f88 rubyripper-0.3.tar.bz2 31459
diff --git a/media-sound/rubyripper/rubyripper-0.3.ebuild b/media-sound/rubyripper/rubyripper-0.3.ebuild
new file mode 100644
index 000000000000..81b76b3e02bf
--- /dev/null
+++ b/media-sound/rubyripper/rubyripper-0.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/rubyripper/rubyripper-0.3.ebuild,v 1.1 2006/12/04 22:11:21 flameeyes Exp $
+
+inherit ruby
+
+DESCRIPTION="A secure audio ripper for linux"
+HOMEPAGE="http://rubyforge.org/projects/rubyripper/"
+SRC_URI="http://rubyforge.org/frs/download.php/15318/${P}.tar.bz2"
+IUSE="flac mp3 vorbis"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+RDEPEND="dev-ruby/ruby-libglade2
+ virtual/cdrtools
+ virtual/eject
+ media-sound/cd-discid
+ media-sound/cdparanoia
+ flac? ( media-libs/flac )
+ mp3? ( media-sound/lame )
+ vorbis? ( media-sound/vorbis-tools )"
+
+SLOT="0"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e 's|./rr_lib.rb|/usr/share/rubyripper/rr_lib.rb|' rubyripper_cli.rb rubyripper_gtk2.rb || die "sed failed"
+ sed -i -e 's|rubyripper.glade|/usr/share/rubyripper/rubyripper.glade|' rubyripper_gtk2.rb || die "sed failed"
+}
+
+src_install() {
+ cd "${S}"
+ newbin rubyripper_cli.rb rrip-cli
+ newbin rubyripper_gtk2.rb rrip-gui
+ dodir /usr/share/rubyripper
+ insinto /usr/share/rubyripper
+ doins rubyripper.glade
+ doruby rr_lib.rb
+}
+
+pkg_postinst() {
+ echo ""
+ einfo "Rubyripper now has cli and gui versions, which are installed"
+ einfo "as rrip-cli and rrip-gui respectively."
+ echo ""
+}