summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-04-04 23:25:31 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-04-04 23:25:31 +0000
commit237eae8d4b866e089b401f90083f33fde4868528 (patch)
tree162e4e1f41006497822119269aacda3c63555900 /games-strategy
parentClean up. (diff)
downloadhistorical-237eae8d4b866e089b401f90083f33fde4868528.tar.gz
historical-237eae8d4b866e089b401f90083f33fde4868528.tar.bz2
historical-237eae8d4b866e089b401f90083f33fde4868528.zip
version bump (bug #46073); patch from upstream submitted by BigBug
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/scorched3d/ChangeLog5
-rw-r--r--games-strategy/scorched3d/Manifest13
-rw-r--r--games-strategy/scorched3d/files/37-GLEXT.patch10
-rw-r--r--games-strategy/scorched3d/files/digest-scorched3d-371
-rw-r--r--games-strategy/scorched3d/scorched3d-37.ebuild54
5 files changed, 77 insertions, 6 deletions
diff --git a/games-strategy/scorched3d/ChangeLog b/games-strategy/scorched3d/ChangeLog
index e24950d87cf7..9f5740910e31 100644
--- a/games-strategy/scorched3d/ChangeLog
+++ b/games-strategy/scorched3d/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-strategy/scorched3d
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/ChangeLog,v 1.7 2004/01/16 21:32:53 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/ChangeLog,v 1.8 2004/04/04 23:25:31 mr_bones_ Exp $
+
+ 04 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> scorched3d-37.ebuild:
+ version bump (bug #46073); patch from upstream submitted by BigBug
16 Jan 2004; Michael Sterrett <mr_bones_@gentoo.org> scorched3d-36.2.ebuild:
Add new mysql support to ebuild
diff --git a/games-strategy/scorched3d/Manifest b/games-strategy/scorched3d/Manifest
index 07e70aae11a0..59cf057baa45 100644
--- a/games-strategy/scorched3d/Manifest
+++ b/games-strategy/scorched3d/Manifest
@@ -1,8 +1,11 @@
-MD5 ef73ee63e040bba23508d1f7706294f9 files/digest-scorched3d-36 71
-MD5 cf77a284bcc636dffcbe3a16f23dd1fa files/digest-scorched3d-36.1 73
-MD5 3b65a01b73e3738bf3c06a27eb3276cd files/digest-scorched3d-36.2 73
-MD5 91c698d3e8f554e55625aa1965c5134c ChangeLog 936
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 09b776a7e1df7170e4111fd9f5fc4e5a ChangeLog 1083
MD5 2855129f21c768327067f103a884cf11 scorched3d-36.ebuild 1162
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 fdeb2ce10a213ce2a95775030ec25db1 scorched3d-37.ebuild 1429
MD5 6c623b333beba6dfc5ff99769ffa0ad3 scorched3d-36.1.ebuild 1164
MD5 b4f362bfbb31e32b1a8862efa2a534bd scorched3d-36.2.ebuild 1586
+MD5 bf37ba272f5fc422e42646617544ef00 files/37-GLEXT.patch 466
+MD5 ef73ee63e040bba23508d1f7706294f9 files/digest-scorched3d-36 71
+MD5 cf77a284bcc636dffcbe3a16f23dd1fa files/digest-scorched3d-36.1 73
+MD5 3b65a01b73e3738bf3c06a27eb3276cd files/digest-scorched3d-36.2 73
+MD5 cb46314a3bc6f592f19a9798d01fa5b1 files/digest-scorched3d-37 71
diff --git a/games-strategy/scorched3d/files/37-GLEXT.patch b/games-strategy/scorched3d/files/37-GLEXT.patch
new file mode 100644
index 000000000000..161af64ae77c
--- /dev/null
+++ b/games-strategy/scorched3d/files/37-GLEXT.patch
@@ -0,0 +1,10 @@
+--- src/GLEXT/GLStateExtension.h.orig 2004-03-26 18:32:17.000000000 +0200
++++ src/GLEXT/GLStateExtension.h 2004-04-04 22:13:11.000000000 +0300
+@@ -37,6 +37,7 @@
+ typedef void (* PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
+ typedef void (* PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
+ typedef void (* PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
++typedef void (* PFNGLUNLOCKARRAYSEXTPROC) ();
+ #endif
+
+ class GLStateExtension
diff --git a/games-strategy/scorched3d/files/digest-scorched3d-37 b/games-strategy/scorched3d/files/digest-scorched3d-37
new file mode 100644
index 000000000000..162e8bebe206
--- /dev/null
+++ b/games-strategy/scorched3d/files/digest-scorched3d-37
@@ -0,0 +1 @@
+MD5 9e544ef83f5d61f7c4db9d8c605fb776 Scorched3D-37-src.tar.gz 18309912
diff --git a/games-strategy/scorched3d/scorched3d-37.ebuild b/games-strategy/scorched3d/scorched3d-37.ebuild
new file mode 100644
index 000000000000..c9c0c495fa77
--- /dev/null
+++ b/games-strategy/scorched3d/scorched3d-37.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/scorched3d/scorched3d-37.ebuild,v 1.1 2004/04/04 23:25:31 mr_bones_ Exp $
+
+inherit eutils games
+
+DESCRIPTION="Multi-player tank battle in 3D (OpenGL)"
+HOMEPAGE="http://www.scorched3d.co.uk/"
+SRC_URI="mirror://sourceforge/scorched3d/Scorched3D-${PV}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc"
+IUSE="mysql"
+
+RDEPEND=">=media-libs/libsdl-1.0.1
+ media-libs/sdl-net
+ media-libs/sdl-mixer
+ >=x11-libs/wxGTK-2.3.4
+ dev-games/ode
+ >=sys-libs/zlib-1.1.4
+ mysql? ( dev-db/mysql )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+S="${WORKDIR}/scorched"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-GLEXT.patch
+}
+
+src_compile() {
+ egamesconf \
+ --exec_prefix="${GAMES_PREFIX}" \
+ --datadir="${GAMES_DATADIR}/${PN}" \
+ `use_with mysql` \
+ || die
+ sed -i \
+ "s:/usr/games/scorched3d/:${GAMES_DATADIR}/${PN}/:" \
+ src/scorched/Makefile \
+ || die "sed src/scorched/Makefile failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ dogamesbin src/scorched/scorched3d || die "dogamesbin failed"
+ dodoc AUTHORS README TODO documentation/*.txt || die "dodoc failed"
+ dodir "${GAMES_DATADIR}/${PN}"
+ cp -R data/ "${D}${GAMES_DATADIR}/${PN}" || die "cp failed (data)"
+ cp README "${D}${GAMES_DATADIR}/${PN}" || die "cp failed (README)"
+ prepgamesdirs
+}