summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-09 18:10:15 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-09 18:10:15 +0000
commitad69522f5e6b57d5350a46ebda16dbe091d0e4b6 (patch)
tree1580e46b57d69a004ab7bafb3f19590605890684 /games-fps/tenebrae
parentNew version 'n cleanup (diff)
downloadhistorical-ad69522f5e6b57d5350a46ebda16dbe091d0e4b6.tar.gz
historical-ad69522f5e6b57d5350a46ebda16dbe091d0e4b6.tar.bz2
historical-ad69522f5e6b57d5350a46ebda16dbe091d0e4b6.zip
games-fps uNF uNF uNF
Diffstat (limited to 'games-fps/tenebrae')
-rw-r--r--games-fps/tenebrae/ChangeLog11
-rw-r--r--games-fps/tenebrae/Manifest4
-rw-r--r--games-fps/tenebrae/files/1.04-nvidia-opengl.patch56
-rw-r--r--games-fps/tenebrae/files/digest-tenebrae-1.042
-rw-r--r--games-fps/tenebrae/tenebrae-1.04.ebuild57
5 files changed, 130 insertions, 0 deletions
diff --git a/games-fps/tenebrae/ChangeLog b/games-fps/tenebrae/ChangeLog
new file mode 100644
index 000000000000..a9a9d6c43288
--- /dev/null
+++ b/games-fps/tenebrae/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-games/tenebrae
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/tenebrae/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+ 02 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org> tenebrae-1.04.ebuild:
+ Fixed to use mirror://sourceforge
+
+*tenebrae-1.04 (15 Jul 2003)
+
+ 15 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-fps/tenebrae/Manifest b/games-fps/tenebrae/Manifest
new file mode 100644
index 000000000000..dc7cb84fe0da
--- /dev/null
+++ b/games-fps/tenebrae/Manifest
@@ -0,0 +1,4 @@
+MD5 101db2b4d5a51dc6f63c6c5433dee3c0 files/digest-tenebrae-1.04 125
+MD5 af27eea7293c16e6182d5d0099bf0ba6 files/1.04-nvidia-opengl.patch 2587
+MD5 8d6f64264885521c9a649f85936a6fbb tenebrae-1.04.ebuild 1490
+MD5 6de1d0b6cd04ead84834920192b7a0f9 ChangeLog 458
diff --git a/games-fps/tenebrae/files/1.04-nvidia-opengl.patch b/games-fps/tenebrae/files/1.04-nvidia-opengl.patch
new file mode 100644
index 000000000000..7f1ec7f722c6
--- /dev/null
+++ b/games-fps/tenebrae/files/1.04-nvidia-opengl.patch
@@ -0,0 +1,56 @@
+--- glquake.h 2003-07-14 17:06:01.000000000 -0400
++++ ../../glquake.h 2003-07-15 02:24:09.000000000 -0400
+@@ -483,7 +483,7 @@
+
+ #endif /* !__APPLE__ && !MACOSX */
+
+-#ifndef GL_VERSION_1_3
++//#ifndef GL_VERSION_1_3
+ typedef void (APIENTRY * PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
+ typedef void (APIENTRY * PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
+ typedef void (APIENTRY * PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
+@@ -518,7 +518,7 @@
+ typedef void (APIENTRY * PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
+ typedef void (APIENTRY * PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
+ typedef void (APIENTRY * PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
+-#endif
++//#endif
+
+ extern PFNGLACTIVETEXTUREARBPROC qglActiveTextureARB;
+ extern PFNGLCLIENTACTIVETEXTUREARBPROC qglClientActiveTextureARB;
+@@ -657,7 +657,7 @@
+ #endif /* !__APPLE__ && !MACOSX */
+
+ // - DC -
+-#if !defined(SDL) && !defined (__glx__)
++//#if !defined(SDL) && !defined (__glx__)
+ typedef void (APIENTRY * PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
+ typedef void (APIENTRY * PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
+ typedef void (APIENTRY * PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
+@@ -671,7 +671,7 @@
+ typedef void (APIENTRY * PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
+ typedef void (APIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
+ typedef void (APIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
+-#endif
++//#endif
+
+ extern PFNGLCOMBINERPARAMETERFVNVPROC qglCombinerParameterfvNV;
+ extern PFNGLCOMBINERPARAMETERIVNVPROC qglCombinerParameterivNV;
+@@ -892,7 +892,7 @@
+
+ //PENTA: VERTEX_PROGRAM
+
+-#ifndef GL_NV_vertex_program
++//#ifndef GL_NV_vertex_program
+ /* NV_vertex_program */
+ #define GL_VERTEX_PROGRAM_NV 0x8620
+ #define GL_VERTEX_STATE_PROGRAM_NV 0x8621
+@@ -1042,7 +1042,7 @@
+ typedef void (APIENTRY * PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
+ typedef void (APIENTRY * PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
+ typedef void (APIENTRY * PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v);
+-#endif
++//#endif
+
+ extern PFNGLAREPROGRAMSRESIDENTNVPROC qglAreProgramsResidentNV ;
+ extern PFNGLBINDPROGRAMNVPROC qglBindProgramNV ;
diff --git a/games-fps/tenebrae/files/digest-tenebrae-1.04 b/games-fps/tenebrae/files/digest-tenebrae-1.04
new file mode 100644
index 000000000000..45ea21bb6d94
--- /dev/null
+++ b/games-fps/tenebrae/files/digest-tenebrae-1.04
@@ -0,0 +1,2 @@
+MD5 b0769654088b4b9f46e69503ff453ec2 tenebraedata.zip 3989498
+MD5 7ca8eadff6ff7d70de0e275ce93f9cd7 tenebrae-1.04.tbz2 625988
diff --git a/games-fps/tenebrae/tenebrae-1.04.ebuild b/games-fps/tenebrae/tenebrae-1.04.ebuild
new file mode 100644
index 000000000000..3b1351f22ddf
--- /dev/null
+++ b/games-fps/tenebrae/tenebrae-1.04.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/tenebrae/tenebrae-1.04.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+#ECVS_SERVER="cvs.tenebrae.sourceforge.net:/cvsroot/tenebrae"
+#ECVS_MODULE="tenebrae_0"
+#inherit cvs
+inherit games eutils
+
+DESCRIPTION="adds stencil shadows and per pixel lights to quake"
+HOMEPAGE="http://tenebrae.sourceforge.net/"
+SRC_URI="mirror://sourceforge/tenebrae/tenebraedata.zip
+ mirror://gentoo/${P}.tbz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="virtual/opengl
+ virtual/x11
+ media-libs/libpng
+ sys-libs/zlib"
+# sdl? ( media-libs/libsdl )"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ #cvs_src_unpack
+ cd tenebrae_0
+ local gl="`ls -al /usr/include/GL/gl.h | awk '{print $NF}' | cut -d/ -f5`"
+ [ "${gl}" == "nvidia" ] && epatch ${FILESDIR}/${PV}-nvidia-opengl.patch
+ cd linux
+ sed "s:-mpentiumpro:${CFLAGS}:" Makefile.i386linux > Makefile
+ #if [ `use sdl` ] ; then
+ # cd ../sdl
+ # ./autogen.sh
+ #fi
+}
+
+src_compile() {
+ cd ${S}/tenebrae_0/linux
+ make MASTER_DIR=${GAMES_DATADIR}/quake-data build_release || die
+ #if [ `use sdl` ] ; then
+ # cd ${S}/tenebrae_0/sdl
+ # egamesconf || die
+ # make || die
+ #fi
+}
+
+src_install() {
+ newgamesbin tenebrae_0/linux/release*/bin/tenebrae.run tenebrae
+ insinto ${GAMES_DATADIR}/quake-data/tenebrae
+ doins ${WORKDIR}/tenebrae/*
+ dodoc tenebrae_0/linux/README ${WORKDIR}/Tenebrae_Readme.txt
+ prepgamesdirs
+}