summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2006-04-13 11:56:16 +0000
committerCaleb Tennis <caleb@gentoo.org>2006-04-13 11:56:16 +0000
commit69bdbd11c4322cbc56612ebe4a1b9bef43b7cd3a (patch)
tree6a67fe2c3355361f7f04ae913ee91800367dbbb9 /dev-ruby/ruby-sdl
parentVersion bump (diff)
downloadhistorical-69bdbd11c4322cbc56612ebe4a1b9bef43b7cd3a.tar.gz
historical-69bdbd11c4322cbc56612ebe4a1b9bef43b7cd3a.tar.bz2
historical-69bdbd11c4322cbc56612ebe4a1b9bef43b7cd3a.zip
Bump to add sge dep now that it's in portage
Package-Manager: portage-2.1_pre7-r2
Diffstat (limited to 'dev-ruby/ruby-sdl')
-rw-r--r--dev-ruby/ruby-sdl/ChangeLog7
-rw-r--r--dev-ruby/ruby-sdl/files/digest-ruby-sdl-1.0.0-r13
-rw-r--r--dev-ruby/ruby-sdl/ruby-sdl-1.0.0-r1.ebuild62
3 files changed, 71 insertions, 1 deletions
diff --git a/dev-ruby/ruby-sdl/ChangeLog b/dev-ruby/ruby-sdl/ChangeLog
index 17d19fa29e31..644ee0b5eeea 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.8 2006/03/30 03:53:20 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-sdl/ChangeLog,v 1.9 2006/04/13 11:56:16 caleb Exp $
+
+*ruby-sdl-1.0.0-r1 (13 Apr 2006)
+
+ 13 Apr 2006; Caleb Tennis <caleb@gentoo.org> +ruby-sdl-1.0.0-r1.ebuild:
+ Bump to add sge dep now that it's in portage
30 Mar 2006; Aron Griffis <agriffis@gentoo.org> ruby-sdl-1.0.0.ebuild:
Mark 1.0.0 ~ia64
diff --git a/dev-ruby/ruby-sdl/files/digest-ruby-sdl-1.0.0-r1 b/dev-ruby/ruby-sdl/files/digest-ruby-sdl-1.0.0-r1
new file mode 100644
index 000000000000..5c2ae23e2fa1
--- /dev/null
+++ b/dev-ruby/ruby-sdl/files/digest-ruby-sdl-1.0.0-r1
@@ -0,0 +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/ruby-sdl-1.0.0-r1.ebuild b/dev-ruby/ruby-sdl/ruby-sdl-1.0.0-r1.ebuild
new file mode 100644
index 000000000000..3f7e20d73148
--- /dev/null
+++ b/dev-ruby/ruby-sdl/ruby-sdl-1.0.0-r1.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.0.0-r1.ebuild,v 1.1 2006/04/13 11:56:16 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="~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
+}