ChangeLog

# ChangeLog for games-fps/tenebrae
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/tenebrae/ChangeLog,v 1.10 2007/07/02 17:39:11 nyhm Exp $

02 Jul 2007; Tristan Heaven
+files/tenebrae-1.04-exec-stack.patch, tenebrae-1.04.ebuild:
remove need for an executable stack

22 Feb 2007; Piotr JaroszyƄski ChangeLog:
Transition to Manifest2.

05 Dec 2006; Chris Gianelloni tenebrae-1.04.ebuild:
Removing old virtual/x11 dependency.

20 Mar 2006; tenebrae-1.04.ebuild:
Modular X dependency fix, bug #123115 by P. Nienaber. Thanks UncleOwen

26 Sep 2005; Chris Gianelloni tenebrae-1.04.ebuild:
Making games last on inherit line.

25 Dec 2004; Mike Frysinger +files/1.04-glhax.patch,
-files/1.04-nvidia-opengl.patch, tenebrae-1.04.ebuild:
Update the opengl patch #75526.

03 Jun 2004; Aron Griffis tenebrae-1.04.ebuild:
Fix use invocation

02 Aug 2003; Chris Gianelloni tenebrae-1.04.ebuild:
Fixed to use mirror://sourceforge

*tenebrae-1.04 (15 Jul 2003)

15 Jul 2003; Mike Frysinger :
Initial import. Ebuild submitted by me.

Manifest

AUX 1.04-glhax.patch 1091 RMD160 e43743b9172fb2497bba7d463db9fd1b53c2dfbf SHA1 f4cb8ef97294c9d78dfa6183e76f1ce268202474 SHA256 d856ea6bc1c5093d9d37997066b063761e46427fda9d6e4c817c227e2b42a8b6
AUX tenebrae-1.04-exec-stack.patch 642 RMD160 ddb22f84e2daf1f2eee27ad13e30b7175aab2e4f SHA1 3df0fd513eb05e63ac83e897aef0cff51b7dcbb5 SHA256 d04cbf31f16929b27040ea9f4e599db2ea4e14b696708034ae523ff406de011c
DIST tenebrae-1.04.tbz2 625988 RMD160 bc1c10a607619c5a6849e51dcd15f130b45fee87 SHA1 bc6ee34bb583d16c493a3e88f43bd24598a34907 SHA256 61277ecb41dc7c4adbfbad81cd5bfd69e3d63a8e7b41a4860bd879011a735f6c
DIST tenebraedata.zip 3989498 RMD160 2524c6b483d52bc2aca97e8c626bf324023442e3 SHA1 9edc109d204e314d344ee982f2e66cc473bb809f SHA256 35db2e1dfe917ec5e62d8ad50fb5ccc73418a7dc3ef1e16cba9eb01f1e1177b8
EBUILD tenebrae-1.04.ebuild 1641 RMD160 e81a24821842c27443e29b575778dc0263714871 SHA1 38aa300d097c35e6fc5c6ff5afccc7f824b0ba3e SHA256 1b7fc28ea058ab22eb710cf73fd05fec7e26c8d3d0db3b58daf3ebfe2d7c8c09
MISC ChangeLog 1310 RMD160 8552a31514c58688181dae978d807b277cb9286f SHA1 e099ba7615f1b13a0b3aae1bb8d2305c856327a5 SHA256 d57585b0247bf23d9b49bc4e547a9b846066e10fdc351a172f548dfda98c6ca2
MISC metadata.xml 535 RMD160 dc577d8e694987191c2dd42bbb40ad2f01452fae SHA1 3cf32fbcba2c238cb84740d6c22fc3e0f5f692c1 SHA256 f67ad81390e2ee2e5582b15bcc878e804028acce9a240f3885e3634a86a4fc1c

files

metadata.xml




games

Tenebrae is a modification of the quake source that adds stencil shadows
and per pixel lights to quake. Stencil shadows allow for realistic
shadow effects on every object in the game world. Per pixel lighting
allows you to have fine surface details correctly lit. These are
essentially the same algorithms as used by the new Doom game.

tenebrae-1.04.ebuild

# Copyright 1999-2007 Gentoo Foundation
# 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.12 2007/07/02 17:39:11 nyhm Exp $

#ECVS_SERVER="cvs.tenebrae.sourceforge.net:/cvsroot/tenebrae"
#ECVS_MODULE="tenebrae_0"
#inherit cvs
inherit eutils games

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"
IUSE=""

RDEPEND="virtual/opengl
virtual/glu
media-libs/libpng
x11-libs/libXxf86vm
x11-libs/libXxf86dga"
# sdl? ( media-libs/libsdl )"
DEPEND="${RDEPEND}
x11-proto/xextproto
x11-proto/xf86dgaproto
x11-proto/xf86vidmodeproto
app-arch/unzip"

S=${WORKDIR}

src_unpack() {
if [[ -z ${ECVS_MODULE} ]] ; then
unpack ${A}
else
cvs_src_unpack
fi
cd tenebrae_0
epatch \
"${FILESDIR}"/${PV}-glhax.patch \
"${FILESDIR}"/${P}-exec-stack.patch
cd linux
sed "s:-mpentiumpro -O6:${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}/quake1" 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 || die "newgamesbin"
insinto "${GAMES_DATADIR}/quake1/tenebrae"
doins "${WORKDIR}"/tenebrae/* || die "doins data"
dodoc tenebrae_0/linux/README "${WORKDIR}"/Tenebrae_Readme.txt
prepgamesdirs
}