diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-11-30 06:03:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-11-30 06:03:38 +0000 |
commit | 20305c64b394378ccde67be59674d0d564ad558b (patch) | |
tree | b2283ea5bb18a1849d923a4ad8527e5fe220dde0 /games-fps | |
parent | ver bump #33889 (diff) | |
download | gentoo-2-20305c64b394378ccde67be59674d0d564ad558b.tar.gz gentoo-2-20305c64b394378ccde67be59674d0d564ad558b.tar.bz2 gentoo-2-20305c64b394378ccde67be59674d0d564ad558b.zip |
now in quake2-icculus
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/quake2-relnev/ChangeLog | 22 | ||||
-rw-r--r-- | games-fps/quake2-relnev/Manifest | 9 | ||||
-rw-r--r-- | games-fps/quake2-relnev/files/0.15-Makefile-gcc3.patch | 19 | ||||
-rw-r--r-- | games-fps/quake2-relnev/files/0.15-Makefile-optflags.patch | 10 | ||||
-rw-r--r-- | games-fps/quake2-relnev/files/README-postinstall | 69 | ||||
-rw-r--r-- | games-fps/quake2-relnev/files/digest-quake2-relnev-0.15 | 2 | ||||
-rw-r--r-- | games-fps/quake2-relnev/files/q2ded.start | 3 | ||||
-rw-r--r-- | games-fps/quake2-relnev/files/quake2.start | 3 | ||||
-rw-r--r-- | games-fps/quake2-relnev/files/sdlquake2.start | 3 | ||||
-rw-r--r-- | games-fps/quake2-relnev/quake2-relnev-0.15.ebuild | 132 |
10 files changed, 0 insertions, 272 deletions
diff --git a/games-fps/quake2-relnev/ChangeLog b/games-fps/quake2-relnev/ChangeLog deleted file mode 100644 index 6b2717c5614e..000000000000 --- a/games-fps/quake2-relnev/ChangeLog +++ /dev/null @@ -1,22 +0,0 @@ -# ChangeLog for games-fps/quake2-relnev -# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/quake2-relnev/ChangeLog,v 1.2 2003/09/10 16:08:31 vapier Exp $ - -*quake2-relnev-0.15 (29 Jun 2003) - - 30 Jun 2003; Mike Frysinger <vapier@gentoo.org> : - renamed (whoops) and added support to build qmax & normal binary. - - 29 Jun 2003; Mike Frysinger <vapier@gentoo.org> : - Reworked and cleaned up to close #8222. - All optional features are supported and qmax has been added. - -*quake2-0.15.1 (18 Nov 2002) - - 18 Nov 2002; Mike Frysinger <vapier@gentoo.org> : - Version bump from lundy. - -*quake2-0.14.1 (06 Nov 2002) - - 06 Nov 2002; Mike Frysinger <vapier@gentoo.org> : - Initial import. Ebuild submitted by Mike Lundy <novas007@gmx.net>. diff --git a/games-fps/quake2-relnev/Manifest b/games-fps/quake2-relnev/Manifest deleted file mode 100644 index 97e50e66e3fc..000000000000 --- a/games-fps/quake2-relnev/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -MD5 ad5de2e8c5c06b69b3b5a2dd926a758f files/0.15-Makefile-optflags.patch 260 -MD5 2219e82edb75f4e2a9fa232afc365c5d files/0.15-Makefile-gcc3.patch 787 -MD5 b4df11798b5b2777a1097c4d9a61c0df files/sdlquake2.start 46 -MD5 2baa3c18b4ee41b7174014771b692f80 files/quake2.start 43 -MD5 705532a27c8fcec984b7f5273c726901 files/README-postinstall 2661 -MD5 da3eb5b7690c63cbf1f2796f2e3aa969 files/q2ded.start 42 -MD5 d1eaa9430228f2926baf4d828fb48ba8 files/digest-quake2-relnev-0.15 121 -MD5 9e4f9e507c59659f9eea13e6d30dddb4 quake2-relnev-0.15.ebuild 3659 -MD5 ecddf52aa45b2df83597b5d2607fe42c ChangeLog 799 diff --git a/games-fps/quake2-relnev/files/0.15-Makefile-gcc3.patch b/games-fps/quake2-relnev/files/0.15-Makefile-gcc3.patch deleted file mode 100644 index 938baba52061..000000000000 --- a/games-fps/quake2-relnev/files/0.15-Makefile-gcc3.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- Makefile.orig 2003-01-23 17:26:45.000000000 -0500 -+++ Makefile 2003-01-23 17:26:54.000000000 -0500 -@@ -82,12 +82,12 @@ - endif - - ifeq ($(ARCH),i386) --RELEASE_CFLAGS=$(BASE_CFLAGS) -O2 -ffast-math -funroll-loops -malign-loops=2 \ -- -malign-jumps=2 -malign-functions=2 -g -+RELEASE_CFLAGS=$(BASE_CFLAGS) -O2 -ffast-math -funroll-loops -falign-loops=2 \ -+ -falign-jumps=2 -falign-functions=2 -g - # compiler bugs with gcc 2.96 and 3.0.1 can cause bad builds with heavy opts. - #RELEASE_CFLAGS=$(BASE_CFLAGS) -O6 -m486 -ffast-math -funroll-loops \ --# -fomit-frame-pointer -fexpensive-optimizations -malign-loops=2 \ --# -malign-jumps=2 -malign-functions=2 -+# -fomit-frame-pointer -fexpensive-optimizations -falign-loops=2 \ -+# -falign-jumps=2 -falign-functions=2 - endif - - VERSION=3.21+rCVS diff --git a/games-fps/quake2-relnev/files/0.15-Makefile-optflags.patch b/games-fps/quake2-relnev/files/0.15-Makefile-optflags.patch deleted file mode 100644 index 71a674a2e63f..000000000000 --- a/games-fps/quake2-relnev/files/0.15-Makefile-optflags.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- Makefile.orig 2003-06-28 22:04:22.000000000 -0400 -+++ Makefile 2003-06-28 22:04:54.000000000 -0400 -@@ -342,6 +342,7 @@ - TARGETS += $(BUILDDIR)/ref_softaa.$(SHLIBEXT) - endif - -+RELEASE_CFLAGS += $(OPTCFLAGS) - all: build_debug build_release - - build_debug: diff --git a/games-fps/quake2-relnev/files/README-postinstall b/games-fps/quake2-relnev/files/README-postinstall deleted file mode 100644 index 20bae30ad469..000000000000 --- a/games-fps/quake2-relnev/files/README-postinstall +++ /dev/null @@ -1,69 +0,0 @@ -This was taken from the README file in the source distribution -and cleaned up a bit. Read all of this, or at least skim it. Please? - -Note: -1. If you install a new compile of quake2, you'll lose your savegames. I'm -sorry. Don't upgrade in the middle of a single-player game. - -To install the Quake2 demo data: --------------------------------- -1. download ftp://ftp.idsoftware.com/idstuff/quake2/q2-314-demo-x86.exe -2. unzip -L q2-314-demo-x86.exe into a temp directory -3. cp baseq2/pak0.pak to /usr/share/games/quake2/baseq2/pak0.pak - -=============================================================================== - -To install the Quake2 gamedata from game CD: -------------------------------- -(assuming the cdrom is mounted at /cdrom) - -1. cp /cdrom/Install/Data/baseq2/pak0.pak /usr/share/games/quake2/baseq2/ - -2. cp /cdrom/Install/Data/baseq2/video/ /usr/share/games/quake2/baseq2/ - (optional) - -3. Download ftp://ftp.idsoftware.com/idstuff/quake2/q2-3.20-x86-full.exe - and extract the contents to a temporary directory (use unzip -L, as this - is a standard zip file). - -4. cp <temp directory>/baseq2/pak1.pak /usr/share/games/quake2/baseq2/ -5. cp <temp directory>/baseq2/pak2.pak /usr/share/games/quake2/baseq2/ -6. cp <temp directory>/baseq2/players/ /usr/share/games/quake2/baseq2/ - -7. if you really want to use the crakhor model, you can find the - skins/sounds on websites like http://www.mike-d.com/games/modskins.html - (optional) - -=============================================================================== - -Capture The Flag: ------------ -To run Capture The Flag, you need to do the following: - -1. Download ftp://ftp.idsoftware.com/idstuff/quake2/q2-3.20-x86-full-ctf.exe -2. unzip that file (using unzip -L) into a temp directory -3. cp <temp directory>/ctf /usr/share/games/quake2/ - -Execute quake2 with: - -quake2 +set game ctf +set dedicated 1 - -- or -- -q2ded +set game ctf -=============================================================================== - -Joystick Support: ------------------ -Joystick should function on all compatible SDL platforms using the sdlquake2 -binary as well as on linux using the linux kernel joystick API. - -Joystick obeys the same free-look/strafe rules as mouse. You can set these in -the options menu. - -There are four command line settings for joystick: -1. j_invert_y [1],0 if set to zero pulling back on the joystick points down -2. j_lr_axis [0] set the axis which controls left right movement -3. j_ud_axis [1] set the axis which controls up down (in free-look) or - forward back (freelock off) -4. j_throttle [3] set the axis which controls the players forward backward - throttle (if free-look is true) - diff --git a/games-fps/quake2-relnev/files/digest-quake2-relnev-0.15 b/games-fps/quake2-relnev/files/digest-quake2-relnev-0.15 deleted file mode 100644 index 82a726e09d3b..000000000000 --- a/games-fps/quake2-relnev/files/digest-quake2-relnev-0.15 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 9e16f29db33715f2f9420b5bb31e6263 quake2-r0.15.tar.gz 2660511 -MD5 04d3f1fb7fb4dada7175a41f4595c7eb maxpak.pak 3282742 diff --git a/games-fps/quake2-relnev/files/q2ded.start b/games-fps/quake2-relnev/files/q2ded.start deleted file mode 100644 index b6be9f77f4b8..000000000000 --- a/games-fps/quake2-relnev/files/q2ded.start +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -cd GENTOO_LIBDIR -./q2ded "${@}" diff --git a/games-fps/quake2-relnev/files/quake2.start b/games-fps/quake2-relnev/files/quake2.start deleted file mode 100644 index 26da947220be..000000000000 --- a/games-fps/quake2-relnev/files/quake2.start +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -cd GENTOO_LIBDIR -./quake2 "${@}" diff --git a/games-fps/quake2-relnev/files/sdlquake2.start b/games-fps/quake2-relnev/files/sdlquake2.start deleted file mode 100644 index e8007eb1bdf8..000000000000 --- a/games-fps/quake2-relnev/files/sdlquake2.start +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -cd GENTOO_LIBDIR -./sdlquake2 "${@}" diff --git a/games-fps/quake2-relnev/quake2-relnev-0.15.ebuild b/games-fps/quake2-relnev/quake2-relnev-0.15.ebuild deleted file mode 100644 index 9619ae22c586..000000000000 --- a/games-fps/quake2-relnev/quake2-relnev-0.15.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/quake2-relnev/quake2-relnev-0.15.ebuild,v 1.4 2003/11/12 22:41:59 vapier Exp $ - -inherit games eutils gcc - -MY_P=quake2-r${PV} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="The icculus.org linux port of iD's quake2 engine" -SRC_URI="http://icculus.org/quake2/files/${MY_P}.tar.gz - !noqmax? ( http://icculus.org/quake2/files/maxpak.pak )" -HOMEPAGE="http://icculus.org/quake2/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ppc sparc" -IUSE="svga X sdl aalib opengl noqmax" - -# default to X11 if svga/X/sdl/aalib are not in USE -DEPEND="svga? ( media-libs/svgalib ) - arts? ( kde-base/arts ) - X? ( virtual/x11 ) - sdl? ( media-libs/libsdl ) - aalib? ( media-libs/aalib ) - opengl? ( virtual/opengl ) - || ( svga? ( "" ) X? ( "" ) sdl? ( "" ) aalib? ( "" ) virtual/x11 )" - -src_unpack() { - unpack ${MY_P}.tar.gz - cd ${S} - [ `gcc-major-version` == 3 ] && epatch ${FILESDIR}/${PV}-Makefile-gcc3.patch - epatch ${FILESDIR}/${PV}-Makefile-optflags.patch -} - -yesno() { - for f in $@ ; do - [ `use $f` ] || { echo NO ; return 1 ; } - done - echo YES - return 0 -} - -src_compile() { - BUILD_X11=`yesno X` - use sdl || use X || use svga || use aalib || BUILD_X11=YES - - # xatrix fails to build - # rogue fails to build - for BUILD_QMAX in YES NO ; do - [ `use noqmax` ] && [ "${BUILD_QMAX}" == "YES" ] && continue - make clean || die "cleaning failed" - make build_release \ - BUILD_SDLQUAKE2=`yesno sdl` \ - BUILD_SVGA=`yesno svga` \ - BUILD_X11=${BUILD_X11} \ - BUILD_GLX=`yesno opengl X` \ - BUILD_SDL=`yesno sdl` \ - BUILD_SDLGL=`yesno sdl opengl` \ - BUILD_CTFDLL=YES \ - BUILD_XATRIX=NO \ - BUILD_ROGUE=NO \ - BUILD_JOYSTICK=`yesno joystick` \ - BUILD_DEDICATED=YES \ - BUILD_AA=`yesno aalib` \ - BUILD_QMAX=${BUILD_QMAX} \ - HAVE_IPV6=NO \ - BUILD_ARTS=NO \ - SDLDIR=/usr/lib \ - BUILD_ARTS=`yesno arts` \ - OPTCFLAGS="${CFLAGS}" \ - || die "make failed" - #HAVE_IPV6=`yesno ipv6` \ - # now we save the build dir ... except for the object files ... - mv release* my-rel-${BUILD_QMAX} - cd my-rel-${BUILD_QMAX} - rm -rf ref_{gl,soft} ded game client ctf/*.o - mkdir baseq2 - mv game*.so baseq2/ - cd .. - done -} - -src_install() { - local q2dir=${GAMES_LIBDIR}/${PN} - local q2maxdir=${GAMES_LIBDIR}/${PN}-qmax - - dodoc readme.txt README TODO ${FILESDIR}/README-postinstall - - # regular q2 files - dodir ${q2dir} - cp -rf my-rel-NO/* ${D}/${q2dir} - strip my-rel-NO/{*,*/*} - - into ${GAMES_PREFIX} - newbin ${FILESDIR}/quake2.start quake2 - newbin ${FILESDIR}/q2ded.start q2ded - if [ `use sdl` ] ; then - newbin ${FILESDIR}/sdlquake2.start sdlquake2 - dosed "s:GENTOO_LIBDIR:${q2dir}:" ${GAMES_BINDIR}/sdlquake2 - fi - dosed "s:GENTOO_LIBDIR:${q2dir}:" ${GAMES_BINDIR}/quake2 - dosed "s:GENTOO_LIBDIR:${q2dir}:" ${GAMES_BINDIR}/q2ded - - # q2max files - if [ ! `use noqmax` ] ; then - dodir ${q2maxdir} - cp -rf my-rel-YES/* ${D}/${q2maxdir}/ - - into ${GAMES_PREFIX} - newbin ${FILESDIR}/quake2.start quake2-qmax - newbin ${FILESDIR}/q2ded.start q2ded-qmax - if [ `use sdl` ] ; then - newbin ${FILESDIR}/sdlquake2.start sdlquake2-qmax - dosed "s:GENTOO_LIBDIR:${q2maxdir}:" ${GAMES_BINDIR}/sdlquake2-qmax - fi - dosed "s:GENTOO_LIBDIR:${q2maxdir}:" ${GAMES_BINDIR}/quake2-qmax - dosed "s:GENTOO_LIBDIR:${q2maxdir}:" ${GAMES_BINDIR}/q2ded-qmax - - insinto ${q2maxdir}/baseq2 - doins ${DISTDIR}/maxpak.pak - fi - - prepgamesdirs -} - -pkg_postinst() { - einfo "Go read /usr/share/doc/${PF}/README-postinstall.gz right now!" - einfo "It's important- This install is just the engine, you still need" - einfo "the data paks. Go read." - games_pkg_postinst -} |