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/quakeforge
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/quakeforge')
-rw-r--r--games-fps/quakeforge/ChangeLog39
-rw-r--r--games-fps/quakeforge/Manifest3
-rw-r--r--games-fps/quakeforge/files/digest-quakeforge-0.5.41
-rw-r--r--games-fps/quakeforge/quakeforge-0.5.4.ebuild124
4 files changed, 167 insertions, 0 deletions
diff --git a/games-fps/quakeforge/ChangeLog b/games-fps/quakeforge/ChangeLog
new file mode 100644
index 000000000000..9a9e1f063bc1
--- /dev/null
+++ b/games-fps/quakeforge/ChangeLog
@@ -0,0 +1,39 @@
+# ChangeLog for app-games/quakeforge
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quakeforge/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*quakeforge-0.5.4 (18 Jul 2003)
+
+ 18 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump + clean up all use option selections + add more optional support + games.eclass.
+
+*quakeforge-0.5.2-r1 (20 Mar 2003)
+
+ 20 Mar 2003; Graham Forest <vladimir@gentoo.org> quakeforge-0.5.2-r1.ebuild:
+ Removed usage of pic USE flag
+
+*quakeforge-0.5.2 (03 Oct 2002)
+
+ 03 Oct 2002; Mike Frysinger <vapier@gentoo.org> quakeforge-0.5.2.ebuild :
+ Finally updated quakeforge :) #8647 ... added to the install process (docs)
+ Updated SRC_URI to point to sourceforge now since its a *real* release
+
+*quakeforge-0.5.0_pre20020906 (9 Sep 2002)
+
+ 09 Sep 2002; Seemant Kulleen <seemant@gentoo.org>
+ quakeforge-0.5.0_pre20020906.ebuild
+ files/digest-quakeforge-0.5.0_pre20020906 :
+
+ compile bug with gcc-3.2 and ipv6 solved. Ebuild submitted by: SpanKY
+ (vapier@netzero.com) in bug #5596 reported by onilinken@hotmail.com (Linken)
+
+*quakeforge-0.5.0 (21 julio 2002)
+
+ 22 Aug 2002; J. Alberto Su�rez L�pez <bass@gentoo.org> quakeforge-0.5.0.ebuild :
+ Now SRC_URI i direct to the tarball of quakeforge in Gentoo mirrors,
+ and not to the hourly created in the official homepage.
+ Aclaration: before the tarball used was the _same_ of now.
+
+ 21 Jul 2002; Jose Alberto Su�rez L�pez <bass@gentoo.org> quakeforge-0.5.0.ebuild :
+ First Relase.
+
diff --git a/games-fps/quakeforge/Manifest b/games-fps/quakeforge/Manifest
new file mode 100644
index 000000000000..c37506bf2b97
--- /dev/null
+++ b/games-fps/quakeforge/Manifest
@@ -0,0 +1,3 @@
+MD5 9c030982a53a047a1c9283072893e947 files/digest-quakeforge-0.5.4 70
+MD5 81e7c3f97fc6ee826a651233d95aceff ChangeLog 1560
+MD5 7380bc07561208539e3449bafd6d29fb quakeforge-0.5.4.ebuild 3769
diff --git a/games-fps/quakeforge/files/digest-quakeforge-0.5.4 b/games-fps/quakeforge/files/digest-quakeforge-0.5.4
new file mode 100644
index 000000000000..8490bfc27e77
--- /dev/null
+++ b/games-fps/quakeforge/files/digest-quakeforge-0.5.4
@@ -0,0 +1 @@
+MD5 63d56b50fddfe81c877e67981d4c013f quakeforge-0.5.4.tar.bz2 1769864
diff --git a/games-fps/quakeforge/quakeforge-0.5.4.ebuild b/games-fps/quakeforge/quakeforge-0.5.4.ebuild
new file mode 100644
index 000000000000..9f6a37d3fdaa
--- /dev/null
+++ b/games-fps/quakeforge/quakeforge-0.5.4.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quakeforge/quakeforge-0.5.4.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games
+
+DESCRIPTION="A new 3d engine based off of id Softwares's legendary Quake and QuakeWorld game engine"
+HOMEPAGE="http://www.quakeforge.org/"
+SRC_URI="mirror://sourceforge/quake/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="debug 3dfx fbcon opengl sdl svga X ncurses oggvorbis zlib ipv6 xv dga xmms alsa oss"
+
+RDEPEND="3dfx? ( media-libs/glide-v3 )
+ opengl? ( virtual/opengl )
+ sdl? ( media-libs/libsdl )
+ svga? ( media-libs/svgalib )
+ X? ( virtual/x11 )
+ ncurses? ( sys-libs/ncurses )
+ oggvorbis? ( media-libs/libogg media-libs/libvorbis )
+ zlib? ( sys-libs/zlib )
+ xv? ( virtual/x11 )
+ dga? ( virtual/x11 )
+ xmms? ( media-sound/xmms )
+ alsa? ( media-libs/alsa-lib )"
+DEPEND="${RDEPEND}
+ sys-devel/bison
+ sys-devel/flex"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i \
+ -e 's:heavy=.*:heavy=:' \
+ -e 's:light=.*:light=:' \
+ -e 's:MORE_CFLAGS=".*":MORE_CFLAGS="":' \
+ configure || die "removing static cflags from configure"
+}
+
+src_compile() {
+ #i should do this at some point :x ... i guess if you disable all shared stuff
+ #and enable all the static options explicitly, static works ... (or so ive been told)
+ #if [ -z "`use static`" ] ; then
+ # myconf="${myconf} --enable-shared=yes --enable-static=no"
+ #else
+ # myconf="${myconf} --enable-shared=no --enable-static=yes"
+ #fi
+
+ local debugopts
+ [ `use debug` ] \
+ && debugopts="--enable-debug --disable-optimize --enable-profile" \
+ || debugopts="--disable-debug --enable-optimize --disable-profile"
+
+ local clients=${QF_CLIENTS}
+ [ `use 3dfx` ] && clients="${clients},3dfx"
+ [ `use fbcon` ] && clients="${clients},fbdev"
+ [ `use opengl` ] && clients="${clients},glx"
+ [ `use sdl` ] && clients="${clients},sdl,sdl32"
+ [ `use svga` ] && clients="${clients},svga"
+ [ `use X` ] && clients="${clients},x11"
+ [ `use X` ] && [ `use opengl` ] && clients="${clients},wgl"
+ [ "${clients:0:1}" == "," ] && clients=${clients:1}
+
+ local servers=${QF_SERVERS:-master,nq,qw}
+
+ local tools=${QF_TOOLS:-all}
+
+ local svgaconf # use old school way for broken conf opts
+ [ `use svga` ] \
+ && svgaconf="--with-svga=/usr" \
+ || svgaconf="--without-svga"
+
+ addpredict ${GAMES_LIBDIR}
+ egamesconf \
+ `use_enable ncurses curses` \
+ `use_enable oggvorbis vorbis` \
+ `use_enable zlib` \
+ `use_with ipv6` \
+ `use_with fbcon fbdev` \
+ ${svgaconf} \
+ `use_with X x` \
+ `use_enable xv vidmode` \
+ `use_enable dga` \
+ `use_enable sdl` \
+ `use_enable xmms` \
+ `use_enable alsa` \
+ `use_enable oss` \
+ --enable-sound \
+ ${debugopts} \
+ --with-user-cfg=${GAMES_SYSCONFDIR}/quakeforge.conf \
+ --with-sharepath=${GAMES_DATADIR}/quake-data \
+ --with-clients=${clients} \
+ --with-servers=${servers} \
+ --with-tools=${tools} \
+ || die
+ make || die "make failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "install failed"
+ mv ${D}/${GAMES_PREFIX}/include ${D}/usr/
+ dodoc ChangeLog INSTALL NEWS TODO doc/*
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ echo
+ einfo "Before you can play, you must make sure"
+ einfo "QuakeForge can find your Quake .pak files"
+ echo
+ einfo "You have 2 choices to do this"
+ einfo "1 Copy pak*.pak files to ${GAMES_DATADIR}/quake-data/id1"
+ einfo "2 Symlink pak*.pak files in ${GAMES_DATADIR}/quake-data/id1"
+ echo
+ einfo "Example:"
+ einfo "my pak*.pak files are in /mnt/secondary/Games/Quake/Id1/"
+ einfo "ln -s /mnt/secondary/Games/Quake/Id1/pak0.pak ${GAMES_DATADIR}/quake-data/id1/pak0.pak"
+ echo
+ einfo "You only need pak0.pak to play the demo version,"
+ einfo "the others are needed for registered version"
+}