diff options
author | Caleb Tennis <caleb@gentoo.org> | 2006-05-12 19:59:31 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2006-05-12 19:59:31 +0000 |
commit | 47910e4c3e729c034bfd694d25c06eedc94f169e (patch) | |
tree | 81da30d2104de060a534e9d7605b464c8fe86be8 /dev-ruby/ruby-sdl | |
parent | Don't use the sub platform trick (diff) | |
download | gentoo-2-47910e4c3e729c034bfd694d25c06eedc94f169e.tar.gz gentoo-2-47910e4c3e729c034bfd694d25c06eedc94f169e.tar.bz2 gentoo-2-47910e4c3e729c034bfd694d25c06eedc94f169e.zip |
version bump
(Portage version: 2.1_pre10-r5)
Diffstat (limited to 'dev-ruby/ruby-sdl')
-rw-r--r-- | dev-ruby/ruby-sdl/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/ruby-sdl/files/digest-ruby-sdl-1.0.0 | 2 | ||||
-rw-r--r-- | dev-ruby/ruby-sdl/files/digest-ruby-sdl-1.1.0 | 3 | ||||
-rw-r--r-- | dev-ruby/ruby-sdl/ruby-sdl-1.1.0.ebuild | 62 |
4 files changed, 73 insertions, 1 deletions
diff --git a/dev-ruby/ruby-sdl/ChangeLog b/dev-ruby/ruby-sdl/ChangeLog index 644ee0b5eeea..e31f01034110 100644 --- a/dev-ruby/ruby-sdl/ChangeLog +++ b/dev-ruby/ruby-sdl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/ruby-sdl # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-sdl/ChangeLog,v 1.9 2006/04/13 11:56:16 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-sdl/ChangeLog,v 1.10 2006/05/12 19:59:31 caleb Exp $ + +*ruby-sdl-1.1.0 (12 May 2006) + + 12 May 2006; Caleb Tennis <caleb@gentoo.org> +ruby-sdl-1.1.0.ebuild: + version bump *ruby-sdl-1.0.0-r1 (13 Apr 2006) diff --git a/dev-ruby/ruby-sdl/files/digest-ruby-sdl-1.0.0 b/dev-ruby/ruby-sdl/files/digest-ruby-sdl-1.0.0 index 7d40a5d0802f..5c2ae23e2fa1 100644 --- a/dev-ruby/ruby-sdl/files/digest-ruby-sdl-1.0.0 +++ b/dev-ruby/ruby-sdl/files/digest-ruby-sdl-1.0.0 @@ -1 +1,3 @@ MD5 890327a24c2e5598a95e8ed7ffd0fd1c rubysdl-1.0.0.tar.gz 97431 +RMD160 5b328df23c32c519d4c03095b41df6cd0cbba9dc rubysdl-1.0.0.tar.gz 97431 +SHA256 7bc2d6573534948c9638e0737a2d0c8d1ca79d59d008dce860563073e4013bea rubysdl-1.0.0.tar.gz 97431 diff --git a/dev-ruby/ruby-sdl/files/digest-ruby-sdl-1.1.0 b/dev-ruby/ruby-sdl/files/digest-ruby-sdl-1.1.0 new file mode 100644 index 000000000000..a8a02e756813 --- /dev/null +++ b/dev-ruby/ruby-sdl/files/digest-ruby-sdl-1.1.0 @@ -0,0 +1,3 @@ +MD5 89611f36b8b40439f40382537bc3f9c6 rubysdl-1.1.0.tar.gz 246530 +RMD160 950b029fd86bc8b3e1b65b86500ae06614dc5df0 rubysdl-1.1.0.tar.gz 246530 +SHA256 308ef8d14c8395391e68491e87aaa1283292680e9032794543b9f6083019fc30 rubysdl-1.1.0.tar.gz 246530 diff --git a/dev-ruby/ruby-sdl/ruby-sdl-1.1.0.ebuild b/dev-ruby/ruby-sdl/ruby-sdl-1.1.0.ebuild new file mode 100644 index 000000000000..1e702cc98450 --- /dev/null +++ b/dev-ruby/ruby-sdl/ruby-sdl-1.1.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-sdl/ruby-sdl-1.1.0.ebuild,v 1.1 2006/05/12 19:59:31 caleb Exp $ + +MY_P="${P/-/}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Ruby/SDL: Ruby bindings for SDL" +HOMEPAGE="http://www.kmc.gr.jp/~ohai/rubysdl.en.html" +SRC_URI="http://www.kmc.gr.jp/~ohai/rubysdl/${MY_P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~ia64 ~ppc ~x86" + +# Optional libraries, not in Portage as of writing: +# SGE -- ebuild submitted, not yet in portage CVS +# SDLSKK -- http://www.kmc.gr.jp/~ohai/ + +# local USE flags "image mixer sge" +IUSE="image mixer truetype mpeg" + +RDEPEND="virtual/ruby + >=media-libs/libsdl-1.2.5 + truetype? ( >=media-libs/sdl-ttf-2.0.6 ) + image? ( >=media-libs/sdl-image-1.2.2 ) + mixer? ( >=media-libs/sdl-mixer-1.2.4 ) + mpeg? ( >=media-libs/smpeg-0.4.4-r1 )" +# sge? ( >=media-libs/sge ) + +src_compile() { + ruby extconf.rb || die "extconf.rb failed" + emake || die "emake failed" +} + +src_install () { + make DESTDIR=${D} install || die "einstall failed" + + dodoc rubysdl_const_list.txt README.en + insinto /usr/share/doc/${P} + doins rubysdl_doc.en.rd + insinto /usr/share/doc/${P}/sample + doins sample/* +} + +pkg_postinst () { + if ! use image || ! use mixer || ! use truetype || ! use mpeg ; then + echo "" + ewarn "If any of the following packages are not installed, Ruby/SDL" + ewarn "will be missing some functionality. This is ok, but may" + ewarn "cause errors in Ruby/SDL programs that need these libraries:" + ewarn "" + ewarn "\tmedia-libs/sdl-image\tImage loading (PNG, JPEG, etc.)" + ewarn "\tmedia-libs/sdl-mixer\tSound mixing" + ewarn "\tmedia-libs/sdl-ttf\tTrueType Fonts" + #ewarn "\tmedia-libs/sge\t\tVarious cool graphics extensions" + ewarn "\tmedia-libs/smpeg\tMPEG playback (including mp3)" + ewarn "" + ewarn "If you need the functionality offered by these libraries," + ewarn "emerge the desired libraries, then re-emerge dev-ruby/rubysdl" + echo "" + fi +} |