summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-05-23 14:11:23 +0000
committerMamoru Komachi <usata@gentoo.org>2004-05-23 14:11:23 +0000
commitfb5c143557e4539be1a6343b4d465284b170af57 (patch)
tree70af8361990268bb8c05386fd808451d235d593a /dev-ruby/ruby-sdl
parentProduction ready on ppc (diff)
downloadhistorical-fb5c143557e4539be1a6343b4d465284b170af57.tar.gz
historical-fb5c143557e4539be1a6343b4d465284b170af57.tar.bz2
historical-fb5c143557e4539be1a6343b4d465284b170af57.zip
Initial import. Ebuild submitted by John Croisant <jcroisan@insightbb.com>, closing bug #44641
Diffstat (limited to 'dev-ruby/ruby-sdl')
-rw-r--r--dev-ruby/ruby-sdl/ChangeLog10
-rw-r--r--dev-ruby/ruby-sdl/Manifest4
-rw-r--r--dev-ruby/ruby-sdl/files/digest-ruby-sdl-0.9.11
-rw-r--r--dev-ruby/ruby-sdl/metadata.xml5
-rw-r--r--dev-ruby/ruby-sdl/ruby-sdl-0.9.1.ebuild62
5 files changed, 82 insertions, 0 deletions
diff --git a/dev-ruby/ruby-sdl/ChangeLog b/dev-ruby/ruby-sdl/ChangeLog
new file mode 100644
index 000000000000..5c4203f1d67c
--- /dev/null
+++ b/dev-ruby/ruby-sdl/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/ruby-sdl
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-sdl/ChangeLog,v 1.1 2004/05/23 14:11:23 usata Exp $
+
+*ruby-sdl-0.9.1 (23 May 2004)
+
+ 23 May 2004; Mamoru KOMACHI <usata@gentoo.org> ruby-sdl-0.9.1.ebuild:
+ Initial import. Ebuild submitted by John Croisant <jcroisan@insightbb.com>,
+ closing bug #44641
+
diff --git a/dev-ruby/ruby-sdl/Manifest b/dev-ruby/ruby-sdl/Manifest
new file mode 100644
index 000000000000..f23b818efb7f
--- /dev/null
+++ b/dev-ruby/ruby-sdl/Manifest
@@ -0,0 +1,4 @@
+MD5 6b803110078eceb271764edbf1d7e561 ruby-sdl-0.9.1.ebuild 1991
+MD5 fd2f1d7d029f96faa8979a047c3f29d5 ChangeLog 418
+MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157
+MD5 0b52a2a9fbae810899355937f269d79a files/digest-ruby-sdl-0.9.1 64
diff --git a/dev-ruby/ruby-sdl/files/digest-ruby-sdl-0.9.1 b/dev-ruby/ruby-sdl/files/digest-ruby-sdl-0.9.1
new file mode 100644
index 000000000000..c6af2ffa31df
--- /dev/null
+++ b/dev-ruby/ruby-sdl/files/digest-ruby-sdl-0.9.1
@@ -0,0 +1 @@
+MD5 6c0d59dabf41ce545966fb0a905f9173 rubysdl-0.9.1.tar.gz 82054
diff --git a/dev-ruby/ruby-sdl/metadata.xml b/dev-ruby/ruby-sdl/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/ruby-sdl/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>
diff --git a/dev-ruby/ruby-sdl/ruby-sdl-0.9.1.ebuild b/dev-ruby/ruby-sdl/ruby-sdl-0.9.1.ebuild
new file mode 100644
index 000000000000..e40fdc44bdd6
--- /dev/null
+++ b/dev-ruby/ruby-sdl/ruby-sdl-0.9.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-sdl/ruby-sdl-0.9.1.ebuild,v 1.1 2004/05/23 14:11:23 usata 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
+}
+