summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-02-22 10:18:56 +0000
committerMike Frysinger <vapier@gentoo.org>2004-02-22 10:18:56 +0000
commit82fdc07d71c01236fdc231f003a6f9667f1b474f (patch)
tree54d4554976044047245df5067c734a3a7dbb3946 /games-fps
parentmetadata (diff)
downloadgentoo-2-82fdc07d71c01236fdc231f003a6f9667f1b474f.tar.gz
gentoo-2-82fdc07d71c01236fdc231f003a6f9667f1b474f.tar.bz2
gentoo-2-82fdc07d71c01236fdc231f003a6f9667f1b474f.zip
sgl support #41997
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/quakeforge/ChangeLog5
-rw-r--r--games-fps/quakeforge/quakeforge-0.5.4.ebuild21
2 files changed, 15 insertions, 11 deletions
diff --git a/games-fps/quakeforge/ChangeLog b/games-fps/quakeforge/ChangeLog
index b43fd4f19750..43d6e26fca5a 100644
--- a/games-fps/quakeforge/ChangeLog
+++ b/games-fps/quakeforge/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for games-fps/quakeforge
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quakeforge/ChangeLog,v 1.2 2003/09/10 16:05:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quakeforge/ChangeLog,v 1.3 2004/02/22 10:18:56 vapier Exp $
*quakeforge-0.5.4 (18 Jul 2003)
+ 22 Feb 2004; Mike Frysinger <vapier@gentoo.org> :
+ Add optional support for the sgl client #41997 by Kevin J Meagher.
+
18 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
Version bump + clean up all use option selections + add more optional support + games.eclass.
diff --git a/games-fps/quakeforge/quakeforge-0.5.4.ebuild b/games-fps/quakeforge/quakeforge-0.5.4.ebuild
index 45fb37bfb391..3ad5d71843ce 100644
--- a/games-fps/quakeforge/quakeforge-0.5.4.ebuild
+++ b/games-fps/quakeforge/quakeforge-0.5.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 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.8 2004/02/20 06:35:23 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quakeforge/quakeforge-0.5.4.ebuild,v 1.9 2004/02/22 10:18:56 vapier Exp $
inherit eutils games
@@ -52,18 +52,19 @@ src_compile() {
#fi
local debugopts
- [ `use debug` ] \
+ use debug \
&& debugopts="--enable-debug --disable-optimize --enable-profile" \
|| debugopts="--disable-debug --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"
+ use 3dfx && clients="${clients},3dfx"
+ use fbcon && clients="${clients},fbdev"
+ use opengl && clients="${clients},glx"
+ use sdl && clients="${clients},sdl,sdl32"
+ use sdl && use opengl && clients="${clients},sgl"
+ 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}
@@ -71,7 +72,7 @@ src_compile() {
local tools=${QF_TOOLS:-all}
local svgaconf # use old school way for broken conf opts
- [ `use svga` ] \
+ use svga \
&& svgaconf="--with-svga=/usr" \
|| svgaconf="--without-svga"