summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-07-23 12:39:34 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-07-23 12:39:34 +0000
commit27a226bf072ab1479462fd76588fefe78cda623c (patch)
tree62302eaf220bb052785c69617e904ffe573204ad /games-fps
parentStable on sparc wrt #186288 (diff)
downloadgentoo-2-27a226bf072ab1479462fd76588fefe78cda623c.tar.gz
gentoo-2-27a226bf072ab1479462fd76588fefe78cda623c.tar.bz2
gentoo-2-27a226bf072ab1479462fd76588fefe78cda623c.zip
Moved from games-fps/blackshades-cvs
(Portage version: 2.1.3_rc9)
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/blackshades/ChangeLog73
-rw-r--r--games-fps/blackshades/Manifest25
-rw-r--r--games-fps/blackshades/blackshades-20031110-r1.ebuild67
-rw-r--r--games-fps/blackshades/files/blackshades-freealut.patch11
-rw-r--r--games-fps/blackshades/files/blackshades-gcc42.patch35
-rw-r--r--games-fps/blackshades/files/digest-blackshades-20031110-r16
-rw-r--r--games-fps/blackshades/metadata.xml5
7 files changed, 222 insertions, 0 deletions
diff --git a/games-fps/blackshades/ChangeLog b/games-fps/blackshades/ChangeLog
new file mode 100644
index 000000000000..f232d5e1d28c
--- /dev/null
+++ b/games-fps/blackshades/ChangeLog
@@ -0,0 +1,73 @@
+# ChangeLog for games-fps/blackshades
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/blackshades/ChangeLog,v 1.1 2007/07/23 12:39:34 nyhm Exp $
+
+*blackshades-20031110-r1 (23 Jul 2007)
+
+ 23 Jul 2007; Tristan Heaven <nyhm@gentoo.org>
+ +files/blackshades-freealut.patch, +files/blackshades-gcc42.patch,
+ +metadata.xml, +blackshades-20031110-r1.ebuild:
+ Moved from games-fps/blackshades-cvs
+
+ 13 Jun 2007; Tristan Heaven <nyhm@gentoo.org>
+ +files/blackshades-cvs-gcc42.patch, blackshades-cvs-20031110-r1.ebuild:
+ Patch for gcc-4.2
+
+ 07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org>
+ blackshades-cvs-20031110-r1.ebuild:
+ Change all instances of [ to [[.
+
+ 06 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+ blackshades-cvs-20031110-r1.ebuild:
+ Removing specific version of openal since the older CVS snapshot versions
+ have been removed from the tree for some time now.
+
+ 23 Sep 2006; <blubb@gentoo.org> blackshades-cvs-20031110-r1.ebuild:
+ stable on amd64
+
+*blackshades-cvs-20031110-r1 (11 May 2006)
+
+ 11 May 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+ +files/blackshades-cvs-freealut.patch,
+ +blackshades-cvs-20031110-r1.ebuild:
+ Added patch to make blackshades-cvs work with the latest openal versions and
+ closing bug #132815.
+
+ 12 Feb 2006; <Tupone@gentoo.org> blackshades-cvs-20031110.ebuild:
+ modular X dependency fix
+
+ 23 Oct 2005; Michael Sterrett <mr_bones_@gentoo.org>
+ blackshades-cvs-20031110.ebuild:
+ desktop entry; tidy install; quoting
+
+ 02 Mar 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+ blackshades-cvs-20031110.ebuild:
+ Marking ~amd64... blame zakk.
+
+ 13 Jun 2004; David Holm <dholm@gentoo.org> blackshades-cvs-20031110.ebuild:
+ Added to ~ppc.
+
+ 10 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ blackshades-cvs-20031110.ebuild:
+ don't rdepend on sed; media-libs/glut -> virtual/glut
+
+ 10 Apr 2004; Chris Gianelloni <wolf31o2@gentoo.org>
+ blackshades-cvs-20031110.ebuild:
+ Adding media-libs/glut to RDEPEND. Closing bug #47446.
+
+*blackshades-cvs-20031110 (10 Nov 2003)
+
+ 10 Nov 2003; Mike Frysinger <vapier@gentoo.org> :
+ CVS snapshot so we dont keep overloading cvs server.
+
+*blackshades-cvs-20030712 (12 Jul 2003)
+
+ 03 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Fixed SRC_URI to point to a better texture tarball ... zakk pointed out my mistake ;)
+
+ 29 Jul 2003; Michael Sterrett <msterret@gentoo.org>
+ blackshades-cvs-20030712.ebuild:
+ sed the Makefile in src_unpack instead of src_compile; depend on sed >= 4
+
+ 12 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me for #21249.
diff --git a/games-fps/blackshades/Manifest b/games-fps/blackshades/Manifest
new file mode 100644
index 000000000000..1db023bf5d98
--- /dev/null
+++ b/games-fps/blackshades/Manifest
@@ -0,0 +1,25 @@
+AUX blackshades-freealut.patch 370 RMD160 a68103f4bc6a3fb5362f22ef52141ab7086e49fd SHA1 42a52ca9394e5736a2890d7cb3bd703bbda3ffa8 SHA256 0d85cc82982ac57b79678e964598dfc65e3718005ba0cf7fff8461aed569ec32
+MD5 c3f12dbd9674dbbe7b04d78fde1e8e72 files/blackshades-freealut.patch 370
+RMD160 a68103f4bc6a3fb5362f22ef52141ab7086e49fd files/blackshades-freealut.patch 370
+SHA256 0d85cc82982ac57b79678e964598dfc65e3718005ba0cf7fff8461aed569ec32 files/blackshades-freealut.patch 370
+AUX blackshades-gcc42.patch 654 RMD160 07bb2c4d0c512602626497048891e3d0365ae73c SHA1 1672d762a1a0765c2d14370fa4c369477d078a45 SHA256 d7b94be1d45eb75f554793f054c48f17e3ce5d34479180fbe83d3bf9a767a50c
+MD5 a329a51283792152d6767368f29d0638 files/blackshades-gcc42.patch 654
+RMD160 07bb2c4d0c512602626497048891e3d0365ae73c files/blackshades-gcc42.patch 654
+SHA256 d7b94be1d45eb75f554793f054c48f17e3ce5d34479180fbe83d3bf9a767a50c files/blackshades-gcc42.patch 654
+DIST Textures.tar.bz2 340110 RMD160 6fa3072a7a013649093da0d586e69be3bba02b54 SHA1 78f18061a65d656c345f981bbca27ed3375b52c0 SHA256 084f4592e1c83a0ae79a14823f59fe210dc6ae83ff35111972d3b0239b276607
+DIST blackshades-20031110.tar.bz2 765970 RMD160 8ed3b2c3d683bbd3c0e56179d8d69b71c9642ad9 SHA1 65f0810615a96816dad90dd43fde8f604fb4c6b2 SHA256 2fd16d4b1c7a5b48854040e2a7857089fc0cbd7d72d489005530b89b769fd003
+EBUILD blackshades-20031110-r1.ebuild 1996 RMD160 67fdfc0f725c5b2381b021cd8420b731c4a57988 SHA1 e18b026ce33716a6ba66d3927ff43f0aa65144ca SHA256 1b0a078d312f80afde282ffc3c9d0f68dca4113618ba0a64cec9e0d04dd3f6a6
+MD5 42b27ea46eb8cc8e0386af5a94c291fc blackshades-20031110-r1.ebuild 1996
+RMD160 67fdfc0f725c5b2381b021cd8420b731c4a57988 blackshades-20031110-r1.ebuild 1996
+SHA256 1b0a078d312f80afde282ffc3c9d0f68dca4113618ba0a64cec9e0d04dd3f6a6 blackshades-20031110-r1.ebuild 1996
+MISC ChangeLog 2670 RMD160 b6d5a044eccd93d9588261096df818f79d46cf6a SHA1 c0286959c21fa23039f1e77534caf91f952730a9 SHA256 39ee018d98729a892e162421e5dbe2584f3b7b141ceb53ef218cfd8464343a99
+MD5 ca77c1f7923dbbb39717de2b82376555 ChangeLog 2670
+RMD160 b6d5a044eccd93d9588261096df818f79d46cf6a ChangeLog 2670
+SHA256 39ee018d98729a892e162421e5dbe2584f3b7b141ceb53ef218cfd8464343a99 ChangeLog 2670
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
+SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
+MD5 84e3538657e4d4b4f2acfd47144e4494 files/digest-blackshades-20031110-r1 494
+RMD160 550d63181e9e39868b53e6fa9c102ca9d5411a1a files/digest-blackshades-20031110-r1 494
+SHA256 99550789989b8b04e3115cf7378ce18cd0c4653ff5a670700581993b320e482e files/digest-blackshades-20031110-r1 494
diff --git a/games-fps/blackshades/blackshades-20031110-r1.ebuild b/games-fps/blackshades/blackshades-20031110-r1.ebuild
new file mode 100644
index 000000000000..22d377cd5fbc
--- /dev/null
+++ b/games-fps/blackshades/blackshades-20031110-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/blackshades/blackshades-20031110-r1.ebuild,v 1.1 2007/07/23 12:39:34 nyhm Exp $
+
+#ECVS_PASS="anonymous"
+#ECVS_SERVER="icculus.org:/cvs/cvsroot"
+ECVS_MODULE="blackshades"
+#inherit cvs
+inherit eutils games
+
+DESCRIPTION="you control a psychic bodyguard, and try to protect the VIP"
+HOMEPAGE="http://www.wolfire.com/blackshades.html http://www.icculus.org/blackshades/"
+SRC_URI="http://filesingularity.timedoctor.org/Textures.tar.bz2
+ mirror://gentoo/blackshades-${PV}.tar.bz2"
+
+LICENSE="blackshades"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+DEPEND="virtual/opengl
+ virtual/glu
+ media-libs/libvorbis
+ media-libs/openal
+ media-libs/freealut
+ media-libs/libsdl"
+
+S=${WORKDIR}/${ECVS_MODULE}
+
+src_unpack() {
+ if [[ -z "${ECVS_SERVER}" ]] ; then
+ unpack blackshades-${PV}.tar.bz2
+ else
+ cvs_src_unpack
+ fi
+ cd "${WORKDIR}"
+ unpack Textures.tar.bz2
+ cd "${S}"
+ rm -rf Data/Textures
+ mv "${WORKDIR}"/Textures Data/ || die "mv failed"
+ sed -i \
+ -e "/^CFLAGS/s:-O2 -Wall -g:-Wall ${CXXFLAGS}:" Makefile \
+ || die "sed Makefile failed"
+ find "${S}" -type d -name CVS -exec rm -rf \{\} \; 2> /dev/null
+ find "${S}/Data/Textures" -type f -name ".*" -exec rm -f \{\} \;
+ find "${S}/Data/" -type f -exec chmod a-x \{\} \;
+ # Glut is not really needed, but there is an include in the source
+ # We patch it
+ sed -i \
+ -e "/glut.h/d" Source/Decals.h \
+ || die "removing glut include failed"
+ epatch \
+ "${FILESDIR}"/${PN}-freealut.patch \
+ "${FILESDIR}"/${PN}-gcc42.patch
+}
+
+src_install() {
+ games_make_wrapper blackshades blackshades-bin "${GAMES_DATADIR}/${PN}"
+ newgamesbin objs/blackshades blackshades-bin || die "newgamesbin failed"
+
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r Data/ || die "doins failed"
+
+ dodoc IF_THIS_IS_A_README_YOU_HAVE_WON Readme TODO uDevGame_Readme
+ make_desktop_entry blackshades "Black Shades"
+ prepgamesdirs
+}
diff --git a/games-fps/blackshades/files/blackshades-freealut.patch b/games-fps/blackshades/files/blackshades-freealut.patch
new file mode 100644
index 000000000000..4c0324fa3b06
--- /dev/null
+++ b/games-fps/blackshades/files/blackshades-freealut.patch
@@ -0,0 +1,11 @@
+--- Makefile
++++ Makefile
+@@ -8,7 +8,7 @@
+
+ CFLAGS := -O2 -Wall -g $(shell sdl-config --cflags) -I$(SRCDIR) -include Source/Support.h
+ CXXFLAGS := $(CFLAGS)
+-LDFLAGS := $(shell sdl-config --libs) -lGL -lGLU -lopenal # -framework QuickTime
++LDFLAGS := $(shell sdl-config --libs) -lGL -lGLU -lopenal -lalut # -framework QuickTime
+
+ # Don't want ogg?
+ #CFLAGS += -DNOOGG
diff --git a/games-fps/blackshades/files/blackshades-gcc42.patch b/games-fps/blackshades/files/blackshades-gcc42.patch
new file mode 100644
index 000000000000..fecf8f67d82c
--- /dev/null
+++ b/games-fps/blackshades/files/blackshades-gcc42.patch
@@ -0,0 +1,35 @@
+--- Source/GameDraw.cpp
++++ Source/GameDraw.cpp
+@@ -36,7 +36,7 @@
+
+ /*********************> DrawGLScene() <*****/
+
+-int Game::DrawGLScene(GLvoid)
++int Game::DrawGLScene(void)
+
+ {
+
+--- Source/Game.h
++++ Source/Game.h
+@@ -75,8 +75,8 @@
+
+ //GL functions
+ GLvoid ReSizeGLScene(float fov, float near);
+- int DrawGLScene(GLvoid);
+- int InitGL(GLvoid);
++ int DrawGLScene(void);
++ int InitGL(void);
+ void LoadingScreen(float percent);
+
+ //Game Functions
+--- Source/GameInitDispose.cpp
++++ Source/GameInitDispose.cpp
+@@ -3913,7 +3913,7 @@
+
+
+
+-int Game::InitGL(GLvoid)
++int Game::InitGL(void)
+
+ {
+
diff --git a/games-fps/blackshades/files/digest-blackshades-20031110-r1 b/games-fps/blackshades/files/digest-blackshades-20031110-r1
new file mode 100644
index 000000000000..b1f552daec7f
--- /dev/null
+++ b/games-fps/blackshades/files/digest-blackshades-20031110-r1
@@ -0,0 +1,6 @@
+MD5 3fcee1f31c0a062ed7a0d8d6aafc1b06 Textures.tar.bz2 340110
+RMD160 6fa3072a7a013649093da0d586e69be3bba02b54 Textures.tar.bz2 340110
+SHA256 084f4592e1c83a0ae79a14823f59fe210dc6ae83ff35111972d3b0239b276607 Textures.tar.bz2 340110
+MD5 15635e23702a292d97f4cb97410ebb83 blackshades-20031110.tar.bz2 765970
+RMD160 8ed3b2c3d683bbd3c0e56179d8d69b71c9642ad9 blackshades-20031110.tar.bz2 765970
+SHA256 2fd16d4b1c7a5b48854040e2a7857089fc0cbd7d72d489005530b89b769fd003 blackshades-20031110.tar.bz2 765970
diff --git a/games-fps/blackshades/metadata.xml b/games-fps/blackshades/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-fps/blackshades/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>games</herd>
+</pkgmetadata>