summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-05 03:02:14 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-05 03:02:14 +0000
commit3dedc510fb477d7a1806fcd938ca4a8dec0432c7 (patch)
treece7df8aa7905d1edd6a02991d14c8e5c41194e05 /games-fps/quakeforge
parentthis eclass is a horrible horrible hack, dont let anyone use it anymore (diff)
downloadgentoo-2-3dedc510fb477d7a1806fcd938ca4a8dec0432c7.tar.gz
gentoo-2-3dedc510fb477d7a1806fcd938ca4a8dec0432c7.tar.bz2
gentoo-2-3dedc510fb477d7a1806fcd938ca4a8dec0432c7.zip
remove amd64 since its too unstable to be considered usuable #62538
(Portage version: 2.0.51.21)
Diffstat (limited to 'games-fps/quakeforge')
-rw-r--r--games-fps/quakeforge/files/0.5.4-alsa.patch27
-rw-r--r--games-fps/quakeforge/files/0.5.4-com-parse.patch15
-rw-r--r--games-fps/quakeforge/files/digest-quakeforge-0.5.41
-rw-r--r--games-fps/quakeforge/quakeforge-0.5.4.ebuild129
-rw-r--r--games-fps/quakeforge/quakeforge-0.5.5.ebuild6
5 files changed, 3 insertions, 175 deletions
diff --git a/games-fps/quakeforge/files/0.5.4-alsa.patch b/games-fps/quakeforge/files/0.5.4-alsa.patch
deleted file mode 100644
index 9bde50b38f63..000000000000
--- a/games-fps/quakeforge/files/0.5.4-alsa.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -ur quakeforge-0.5.4/configure quakeforge-0.5.4-fixed/configure
---- quakeforge-0.5.4/configure 2003-07-17 21:25:53.000000000 -0500
-+++ quakeforge-0.5.4-fixed/configure 2004-01-22 23:20:32.000000000 -0600
-@@ -17032,7 +17032,7 @@
-
- #include <sys/asoundlib.h>
- #if defined(SND_LIB_MAJOR) && defined(SND_LIB_MINOR)
--#if SND_LIB_MAJOR > 0 || (SND_LIB_MAJOR == 0 && SND_LIB_MINOR == 5)
-+#if SND_LIB_MAJOR == 0 && SND_LIB_MINOR == 5
- QF_maGiC_VALUE
- #endif
- #endif
-diff -ur quakeforge-0.5.4/libs/audio/targets/snd_alsa_0_9.c quakeforge-0.5.4-fixed/libs/audio/targets/snd_alsa_0_9.c
---- quakeforge-0.5.4/libs/audio/targets/snd_alsa_0_9.c 2003-04-14 21:34:17.000000000 -0500
-+++ quakeforge-0.5.4-fixed/libs/audio/targets/snd_alsa_0_9.c 2004-01-22 23:18:36.000000000 -0600
-@@ -34,6 +34,11 @@
-
- #include <stdio.h>
- #include <dlfcn.h>
-+#include <alsa/version.h>
-+#if SND_LIB_MAJOR==1
-+#define ALSA_PCM_OLD_HW_PARAMS_API
-+#define ALSA_PCM_NEW_HW_PARAMS_API
-+#endif
- #include <alsa/asoundlib.h>
-
- #include "QF/cvar.h"
diff --git a/games-fps/quakeforge/files/0.5.4-com-parse.patch b/games-fps/quakeforge/files/0.5.4-com-parse.patch
deleted file mode 100644
index 3e42cff8d152..000000000000
--- a/games-fps/quakeforge/files/0.5.4-com-parse.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- quakeforge-0.5.4/libs/util/idparse.c 2003-05-26 15:14:18.000000000 -0400
-+++ quakeforge/libs/util/idparse.c 2003-07-27 18:00:25.000000000 -0400
-@@ -107,8 +107,11 @@
- skipwhite:
- while (isspace ((byte) *data))
- data++;
-- if (!*data)
-+ if (!*data) {
-+ dstring_clearstr (_com_token);
-+ com_token = _com_token->str;
- return 0;
-+ }
- if (data[0] == '/' && data[1] == '/') {
- while (*data && *data != '\n')
- data++;
diff --git a/games-fps/quakeforge/files/digest-quakeforge-0.5.4 b/games-fps/quakeforge/files/digest-quakeforge-0.5.4
deleted file mode 100644
index 8490bfc27e77..000000000000
--- a/games-fps/quakeforge/files/digest-quakeforge-0.5.4
+++ /dev/null
@@ -1 +0,0 @@
-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
deleted file mode 100644
index fe78cf912cd1..000000000000
--- a/games-fps/quakeforge/quakeforge-0.5.4.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# 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.12 2004/06/24 22:46:12 agriffis Exp $
-
-inherit eutils 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 amd64 ~ppc"
-IUSE="debug 3dfx fbcon opengl sdl svga X ncurses oggvorbis zlib ipv6 xv dga xmms alsa oss"
-RESTRICT="nouserpriv"
-
-RDEPEND="!amd64? ( 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}
- epatch ${FILESDIR}/${PV}-com-parse.patch
- epatch ${FILESDIR}/${PV}-alsa.patch
-# 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 ! 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 --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 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}
-
- 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 \
- --disable-optimize \
- ${debugopts} \
- --with-global-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"
-}
diff --git a/games-fps/quakeforge/quakeforge-0.5.5.ebuild b/games-fps/quakeforge/quakeforge-0.5.5.ebuild
index a7a58c63ff0a..ea8d4b22653b 100644
--- a/games-fps/quakeforge/quakeforge-0.5.5.ebuild
+++ b/games-fps/quakeforge/quakeforge-0.5.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quakeforge/quakeforge-0.5.5.ebuild,v 1.4 2004/12/29 00:18:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quakeforge/quakeforge-0.5.5.ebuild,v 1.5 2005/05/05 03:02:14 vapier Exp $
inherit eutils games
@@ -10,11 +10,11 @@ SRC_URI="mirror://sourceforge/quake/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
+KEYWORDS="ppc x86"
IUSE="debug 3dfx fbcon opengl sdl svga X ncurses oggvorbis zlib ipv6 xv dga xmms alsa oss"
RESTRICT="nouserpriv"
-RDEPEND="!amd64? ( 3dfx? ( media-libs/glide-v3 ) )
+RDEPEND="3dfx? ( media-libs/glide-v3 )
opengl? ( virtual/opengl )
sdl? ( media-libs/libsdl )
svga? ( media-libs/svgalib )