summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2005-06-27 14:02:51 +0000
committerCaleb Tennis <caleb@gentoo.org>2005-06-27 14:02:51 +0000
commit2e0d9e78e1f09e3940697dc77718d2cf12b6bd12 (patch)
tree1cd6c183dcd4eb2a12d81d454cbd36c18995773a /dev-ruby/ruby-sdl
parentFixed DEPEND (X->!noxft). Thanks to nelchael for reporting. (diff)
downloadhistorical-2e0d9e78e1f09e3940697dc77718d2cf12b6bd12.tar.gz
historical-2e0d9e78e1f09e3940697dc77718d2cf12b6bd12.tar.bz2
historical-2e0d9e78e1f09e3940697dc77718d2cf12b6bd12.zip
version bump (96707)
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-ruby/ruby-sdl')
-rw-r--r--dev-ruby/ruby-sdl/ChangeLog9
-rw-r--r--dev-ruby/ruby-sdl/Manifest4
-rw-r--r--dev-ruby/ruby-sdl/files/digest-ruby-sdl-0.9.51
-rw-r--r--dev-ruby/ruby-sdl/ruby-sdl-0.9.5.ebuild62
4 files changed, 73 insertions, 3 deletions
diff --git a/dev-ruby/ruby-sdl/ChangeLog b/dev-ruby/ruby-sdl/ChangeLog
index ac99eae7fc28..61ec6a79e8a0 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-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-sdl/ChangeLog,v 1.2 2004/06/25 02:03:02 agriffis Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-sdl/ChangeLog,v 1.3 2005/06/27 14:02:51 caleb Exp $
+
+*ruby-sdl-0.9.5 (27 Jun 2005)
+
+ 27 Jun 2005; Caleb Tennis <caleb@gentoo.org> +ruby-sdl-0.9.5.ebuild:
+ Version bump
*ruby-sdl-0.9.1 (23 May 2004)
diff --git a/dev-ruby/ruby-sdl/Manifest b/dev-ruby/ruby-sdl/Manifest
index 2102e198041b..71bb165ea835 100644
--- a/dev-ruby/ruby-sdl/Manifest
+++ b/dev-ruby/ruby-sdl/Manifest
@@ -1,4 +1,6 @@
MD5 7bf0f9d9372798a3d8bec08bf158a11b ruby-sdl-0.9.1.ebuild 1985
-MD5 a434a3793aad9365c73d693cf3492c35 ChangeLog 412
+MD5 b3f1b4d198689d27bd781c4b78145d75 ruby-sdl-0.9.5.ebuild 1982
+MD5 b1d633324b9e7935baed0582ebd908f2 ChangeLog 527
MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157
MD5 0b52a2a9fbae810899355937f269d79a files/digest-ruby-sdl-0.9.1 64
+MD5 1c0da400a4a71323b8343c6bb6a69d4c files/digest-ruby-sdl-0.9.5 64
diff --git a/dev-ruby/ruby-sdl/files/digest-ruby-sdl-0.9.5 b/dev-ruby/ruby-sdl/files/digest-ruby-sdl-0.9.5
new file mode 100644
index 000000000000..fc6e8df82d6c
--- /dev/null
+++ b/dev-ruby/ruby-sdl/files/digest-ruby-sdl-0.9.5
@@ -0,0 +1 @@
+MD5 7536f9e948b988d41e782c9e1ff80d31 rubysdl-0.9.5.tar.gz 96942
diff --git a/dev-ruby/ruby-sdl/ruby-sdl-0.9.5.ebuild b/dev-ruby/ruby-sdl/ruby-sdl-0.9.5.ebuild
new file mode 100644
index 000000000000..c35cca47a9e3
--- /dev/null
+++ b/dev-ruby/ruby-sdl/ruby-sdl-0.9.5.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-sdl/ruby-sdl-0.9.5.ebuild,v 1.1 2005/06/27 14:02:51 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 () {
+ einstall || 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
+}