diff options
author | Patrick Zimmermann (moHiJ) <patrick@zakweb.de> | 2006-07-24 18:31:49 +0000 |
---|---|---|
committer | Patrick Zimmermann (moHiJ) <patrick@zakweb.de> | 2006-07-24 18:31:49 +0000 |
commit | 72fffec5c856f4757ce1b4725b2ae2a5c9779ee7 (patch) | |
tree | 1836ae7ade30d422f559ba53d64654ea741a1c4b /dev-games | |
parent | profiles/use.local.desc: Added nojoyevents for OIS (diff) | |
download | sunrise-reviewed-72fffec5c856f4757ce1b4725b2ae2a5c9779ee7.tar.gz sunrise-reviewed-72fffec5c856f4757ce1b4725b2ae2a5c9779ee7.tar.bz2 sunrise-reviewed-72fffec5c856f4757ce1b4725b2ae2a5c9779ee7.zip |
dev-games/ois: New Ebuild for bug 129365 thanks to Matt Hamilton
svn path=/sunrise/; revision=686
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/ois/ChangeLog | 7 | ||||
-rw-r--r-- | dev-games/ois/Manifest | 16 | ||||
-rw-r--r-- | dev-games/ois/files/digest-ois-0.7.2 | 3 | ||||
-rw-r--r-- | dev-games/ois/metadata.xml | 5 | ||||
-rw-r--r-- | dev-games/ois/ois-0.7.2.ebuild | 63 |
5 files changed, 94 insertions, 0 deletions
diff --git a/dev-games/ois/ChangeLog b/dev-games/ois/ChangeLog new file mode 100644 index 000000000..e09839d84 --- /dev/null +++ b/dev-games/ois/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-games/ois +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 24 Jul 2006; Patrick Zimmermann (moHiJ) <patrick@zakweb.de> ChangeLog: + New Ebuild for bug 129365 thanks to Matt Hamilton + diff --git a/dev-games/ois/Manifest b/dev-games/ois/Manifest new file mode 100644 index 000000000..ffdde9253 --- /dev/null +++ b/dev-games/ois/Manifest @@ -0,0 +1,16 @@ +DIST ois-0-7-2.tar.gz 743541 RMD160 a6338632258d4ced31769a5a8fb4c4000109af14 SHA1 fe06091da736d21c37cb818708b2c3140830bd3d SHA256 bd56d42f13869ab32d2af0f9a37ea330ee7a9c1376f0c7ca9693796910d8b5df +EBUILD ois-0.7.2.ebuild 1623 RMD160 a38b535dbcf39ad1a53084d221b01b0eb2ad9667 SHA1 75fd50ed7f0ccd430fa99f95e4c7fe09b2e058de SHA256 59e19e80fdd37152e8d92eafb990c8630f80eb09f05e7dfdb9a5628c2075b1ac +MD5 04d50454620a9b3ed57c5dd3b150b295 ois-0.7.2.ebuild 1623 +RMD160 a38b535dbcf39ad1a53084d221b01b0eb2ad9667 ois-0.7.2.ebuild 1623 +SHA256 59e19e80fdd37152e8d92eafb990c8630f80eb09f05e7dfdb9a5628c2075b1ac ois-0.7.2.ebuild 1623 +MISC ChangeLog 240 RMD160 06faa4c17bd385c3ef93c0b401ffce88729a5897 SHA1 425d5d4ee98a5c9b3da1ca014ffed9028bf835e5 SHA256 fac1e18a3e2e15189c54be9e36f1bc88e845496fee71e70a4e39fa32f69748ad +MD5 3b9726e07c31f01574a8bfbee5d46c87 ChangeLog 240 +RMD160 06faa4c17bd385c3ef93c0b401ffce88729a5897 ChangeLog 240 +SHA256 fac1e18a3e2e15189c54be9e36f1bc88e845496fee71e70a4e39fa32f69748ad ChangeLog 240 +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 +MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 +RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 +SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170 +MD5 6a4ab619f7433fd6e2c2269d9a6606c4 files/digest-ois-0.7.2 229 +RMD160 3dedf5c591d0d645e772217eb12a8259465c0435 files/digest-ois-0.7.2 229 +SHA256 0a9be701d28a203e81fa87ae71d9b3019560bb2f7a091010763d601f8cc34a00 files/digest-ois-0.7.2 229 diff --git a/dev-games/ois/files/digest-ois-0.7.2 b/dev-games/ois/files/digest-ois-0.7.2 new file mode 100644 index 000000000..0a7c45b98 --- /dev/null +++ b/dev-games/ois/files/digest-ois-0.7.2 @@ -0,0 +1,3 @@ +MD5 50795ce0a34cd72b6a34d38ec25583f5 ois-0-7-2.tar.gz 743541 +RMD160 a6338632258d4ced31769a5a8fb4c4000109af14 ois-0-7-2.tar.gz 743541 +SHA256 bd56d42f13869ab32d2af0f9a37ea330ee7a9c1376f0c7ca9693796910d8b5df ois-0-7-2.tar.gz 743541 diff --git a/dev-games/ois/metadata.xml b/dev-games/ois/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/dev-games/ois/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>maintainer-wanted</herd> +</pkgmetadata> diff --git a/dev-games/ois/ois-0.7.2.ebuild b/dev-games/ois/ois-0.7.2.ebuild new file mode 100644 index 000000000..645c3c462 --- /dev/null +++ b/dev-games/ois/ois-0.7.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils autotools + +DESCRIPTION="Object-oriented Input System - A cross-platform C++ input handling library" +HOMEPAGE="http://www.wreckedgames.com/wiki/index.php/WreckedLibs:OIS" +SRC_URI="mirror://sourceforge/wgois/${PN}-${PV//./-}.tar.gz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~x86" +IUSE="nojoyevents" +S=${WORKDIR}/ois + +RDEPEND="x11-libs/libXaw + x11-libs/libX11" + +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + eautoreconf + sed -i -e 's:/usr/local:/usr:' demos/ogre/common/plugins.cfg +} + +src_compile() { + if use nojoyevents ; then + myconf= --disable-joyevents + fi + + if !( has_version '>=dev-games/cegui-0.4.0' && ! built_with_use dev-games/ogre sdl ) ; then + myconf= ${myconf} --disable-ogre + fi + + econf ${myconf} || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + rm demos/Make* + rm demos/ogre/Make* + insinto /usr/share/doc/${PF} + doins -r demos + exeinto /usr/share/doc/${PF}/demos + doexe demos/.libs/{FFConsoleTest,ConsoleApp} + if has_version '>=dev-games/cegui-0.4.0' && ! built_with_use dev-games/ogre sdl ; then + exeinto /usr/share/doc/${PF}/demos/ogre/common/ + doexe demos/ogre/.libs/{ForceFeedback,ActionMap} + fi +} + +pkg_postinst() { + if has_version '>=dev-games/cegui-0.4.0' && ! built_with_use dev-games/ogre sdl ; then + elog "If you want the Ogre demos, you have to install Ogre without SDL and CEGui." + elog "USE=-sdl && emerge ogre cegui" + elog "Then just remerge this package." + fi +} |