summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2008-03-25 18:28:01 +0000
committerTristan Heaven <tristan@gentoo.org>2008-03-25 18:28:01 +0000
commitc1e4cdcae1eba24fc48173037c2b70cf30a11187 (patch)
tree9fe7aa1b270d0ba56e3fdeecdcab06f264863279 /games-fps
parentalpha/sparc/x86 stable, add ~ia64 (diff)
downloadhistorical-c1e4cdcae1eba24fc48173037c2b70cf30a11187.tar.gz
historical-c1e4cdcae1eba24fc48173037c2b70cf30a11187.tar.bz2
historical-c1e4cdcae1eba24fc48173037c2b70cf30a11187.zip
Version bump, thanks to Paul Bredbury and Rémy Dupont, bug #212575
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/alienarena/ChangeLog10
-rw-r--r--games-fps/alienarena/Manifest15
-rw-r--r--games-fps/alienarena/alienarena-20080227.ebuild94
-rw-r--r--games-fps/alienarena/files/alienarena-20080227-include.patch106
4 files changed, 222 insertions, 3 deletions
diff --git a/games-fps/alienarena/ChangeLog b/games-fps/alienarena/ChangeLog
index 22c857e0ac87..b81340c7ce27 100644
--- a/games-fps/alienarena/ChangeLog
+++ b/games-fps/alienarena/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-fps/alienarena
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/alienarena/ChangeLog,v 1.8 2008/01/22 04:46:06 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/alienarena/ChangeLog,v 1.9 2008/03/25 18:28:00 nyhm Exp $
+
+*alienarena-20080227 (25 Mar 2008)
+
+ 25 Mar 2008; Tristan Heaven <nyhm@gentoo.org>
+ +files/alienarena-20080227-include.patch, +alienarena-20080227.ebuild:
+ Version bump, thanks to Paul Bredbury and Rémy Dupont, bug #212575
22 Jan 2008; Tristan Heaven <nyhm@gentoo.org> alienarena-20071011.ebuild:
Fix deps again, bug #206378
@@ -29,7 +35,7 @@
+alienarena-20070613.ebuild:
Version bump
- 07 Mar 2007; Piotr Jaroszyński <peper@gentoo.org>
+ 07 Mar 2007; Piotr Jaroszyński <peper@gentoo.org>
alienarena-20070224-r1.ebuild:
Add ~amd64 wrt bug #169049.
diff --git a/games-fps/alienarena/Manifest b/games-fps/alienarena/Manifest
index 9fcb4985dffc..d9948a2df3db 100644
--- a/games-fps/alienarena/Manifest
+++ b/games-fps/alienarena/Manifest
@@ -1,5 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX alienarena-20071011-paths.patch 614 RMD160 6cce7779a54bff08a58a3a4fae2a3c0c0efbb624 SHA1 62d127c696a29d0b5e60cf56063d84d04d939fe8 SHA256 d85ec14925def732accbd7dd4594d7da90b0c6ff71bb6f04c8b257c2d05f66bd
+AUX alienarena-20080227-include.patch 2911 RMD160 aa99eb2947eed9659b91bde9ef1e56a6228c6028 SHA1 4d6a0c61092249c098564250d418fc99f99b7e23 SHA256 b73f6d64bd5187ec166e30b189a78e8751b4e4e1e67a10dcd88814dfe1321fbf
DIST alienarena2007-20071011-linux.zip 245067302 RMD160 838167095481bf77446fd1286f3c75ebdd2361ad SHA1 6af33de5013d84701c2143fe1836e0721af1817a SHA256 33036bd0dec77ae06c113d8e06718bd6f9e42efb634ee304c3fd9d48184c2e20
+DIST alienarena2008-linux20080227.zip 223329701 RMD160 b3db80a2b63ad75d6e41baab30bec8ce8919db67 SHA1 84b6f853ae923f19b942c6800281b24ae669c51e SHA256 fe4325465b1b12e8a39552022d812531adae5273a79c2940514568b533e73e44
EBUILD alienarena-20071011.ebuild 2611 RMD160 7131c7022c43c9013c042f00648af2c1ae607965 SHA1 b134fd33c1becd134c8413b3600e09d1f4b02e92 SHA256 bf921873ee21209889bc2f1a68e31ccf49f48e3b189d11767d64937417042748
-MISC ChangeLog 1753 RMD160 9ea85f2c1d4c3332ed6d4feee9df48a77e85a9c2 SHA1 9d3b9add8ee49c893041c00799b7c6a6d6fe8732 SHA256 096413103ff5630bd7d455c3606957c8854d546420b8b3dee5a98e74f769d67a
+EBUILD alienarena-20080227.ebuild 2660 RMD160 9969b0f95c092ddb276de6db22207578e79adc23 SHA1 6d5339376d44678e7785e6a56db659786e9786c5 SHA256 b681a3e18d06e79678a9eb6ef7de2ab158f302ab2a77a734ea72a7b232ac78ae
+MISC ChangeLog 1983 RMD160 906b132c0fa2eab954f29d0dc5a11489da27f3f9 SHA1 7f881a98ffff7c2ee897c418d7c9bbe93ae9c44b SHA256 955a328939e6fad328204405d9ec2c1e9bb897d088c8f62ff0155b7b71a729e6
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFH6URBdz7hIScOURERAl/uAKDvVTYys5BWl2IXbmHRD0RggQAxFACeJ+K2
+I+pUvzu9TTusVFqBWEdr2HA=
+=IVsW
+-----END PGP SIGNATURE-----
diff --git a/games-fps/alienarena/alienarena-20080227.ebuild b/games-fps/alienarena/alienarena-20080227.ebuild
new file mode 100644
index 000000000000..d3b96fe59970
--- /dev/null
+++ b/games-fps/alienarena/alienarena-20080227.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/alienarena/alienarena-20080227.ebuild,v 1.1 2008/03/25 18:28:00 nyhm Exp $
+
+inherit eutils flag-o-matic toolchain-funcs games
+
+MY_PN=${PN}${PV:0:4}
+DESCRIPTION="Fast-paced multiplayer deathmatch game"
+HOMEPAGE="http://red.planetarena.org/"
+SRC_URI="http://icculus.org/${PN}/Files/${MY_PN}-linux${PV}.zip"
+
+LICENSE="GPL-2 free-noncomm"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dedicated opengl sdl"
+
+UIRDEPEND="media-libs/jpeg
+ virtual/glu
+ virtual/opengl
+ x11-libs/libXxf86dga
+ x11-libs/libXxf86vm
+ sdl? ( media-libs/libsdl )"
+RDEPEND="opengl? ( ${UIRDEPEND} )
+ !opengl? ( !dedicated? ( ${UIRDEPEND} ) )
+ net-misc/curl"
+UIDEPEND="x11-proto/xf86dgaproto
+ x11-proto/xf86vidmodeproto"
+DEPEND="${RDEPEND}
+ opengl? ( ${UIDEPEND} )
+ !opengl? ( !dedicated? ( ${UIDEPEND} ) )
+ app-arch/unzip"
+
+S=${WORKDIR}/${MY_PN}/source
+
+src_unpack() {
+ unpack ${A}
+ cd ${MY_PN}
+ rm -f */*.so cr*
+ mv data1/scripts/maps/tca-titan2k8{\ ,}.rscript
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-include.patch
+}
+
+src_compile() {
+ # To avoid audio crackling (gcc bug)
+ [[ $(gcc-fullversion) == "4.1.1" ]] && replace-flags -O? -O0
+
+ emake \
+ CC="$(tc-getCC)" \
+ OPTIMIZED_CFLAGS=no \
+ PREFIX= \
+ WITH_DATADIR=yes \
+ WITH_LIBDIR=yes \
+ DATADIR="${GAMES_DATADIR}"/${PN} \
+ LIBDIR="$(games_get_libdir)"/${PN} \
+ $(use opengl && use sdl && echo SDLSOUND=yes || echo SDLSOUND=no) \
+ $(use opengl && ! use dedicated && echo BUILD=CLIENT) \
+ $(! use opengl && use dedicated && echo BUILD=DEDICATED) \
+ $(use opengl && use dedicated && echo BUILD=ALL) \
+ $(use opengl || use dedicated || echo BUILD=CLIENT) \
+ || die "emake failed"
+}
+
+src_install() {
+ cd release
+ exeinto "$(games_get_libdir)"/${PN}
+ doexe game.so || die "doexe failed"
+ dosym . "$(games_get_libdir)"/${PN}/arena
+ dosym . "$(games_get_libdir)"/${PN}/data1
+
+ if use opengl || ! use dedicated ; then
+ newgamesbin crx ${PN}-oss || die "newgamesbin crx failed"
+ make_desktop_entry ${PN}-oss "Alien Arena (OSS audio)"
+ use sdl || dosym ${PN}-oss "${GAMES_BINDIR}"/${PN}
+ fi
+
+ if use opengl && use sdl ; then
+ newgamesbin crx.sdl ${PN}-sdl || die "newgamesbin crx.sdl failed"
+ make_desktop_entry ${PN}-sdl "Alien Arena (SDL audio)"
+ dosym ${PN}-sdl "${GAMES_BINDIR}"/${PN}
+ fi
+
+ if use dedicated ; then
+ newgamesbin crded ${PN}-ded || die "newgamesbin crded failed"
+ fi
+
+ cd "${WORKDIR}/${MY_PN}"
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r arena botinfo data1 || die "doins failed"
+ newicon aa.png ${PN}.png || die "newicon failed"
+ dodoc docs/README.txt
+
+ prepgamesdirs
+}
diff --git a/games-fps/alienarena/files/alienarena-20080227-include.patch b/games-fps/alienarena/files/alienarena-20080227-include.patch
new file mode 100644
index 000000000000..4fa51dd08752
--- /dev/null
+++ b/games-fps/alienarena/files/alienarena-20080227-include.patch
@@ -0,0 +1,106 @@
+Index: unix/net_udp.c
+===================================================================
+--- unix/net_udp.c (revision 877)
++++ unix/net_udp.c (working copy)
+@@ -26,6 +26,7 @@
+ #include <sys/time.h>
+ #include <netinet/in.h>
+ #include <netdb.h>
++#include <arpa/inet.h>
+ #include <sys/param.h>
+ #include <sys/ioctl.h>
+ #include <sys/uio.h>
+Index: unix/q_shunix.c
+===================================================================
+--- unix/q_shunix.c (revision 877)
++++ unix/q_shunix.c (working copy)
+@@ -152,13 +152,6 @@
+ mkdir (path, 0777);
+ }
+
+-char *strlwr (char *s)
+-{
+- while (*s) {
+- *s = tolower(*s);
+- s++;
+- }
+-}
+
+ //============================================
+
+Index: game/q_shared.h
+===================================================================
+--- game/q_shared.h (revision 877)
++++ game/q_shared.h (working copy)
+@@ -39,6 +39,7 @@
+ #include <string.h>
+ #include <stdlib.h>
+ #include <time.h>
++#include <ctype.h>
+
+ #if (defined _M_IX86 || defined __i386__) && !defined C_ONLY && !defined __sun__
+ #define id386 1
+@@ -253,6 +254,8 @@
+ int Q_strnicmp (const char *string1, const char *string2, int n);
+ //=============================================
+
++char *Q_strlwr(char *s);
++
+ short BigShort(short l);
+ short LittleShort(short l);
+ int BigLong (int l);
+Index: qcommon/files.c
+===================================================================
+--- qcommon/files.c (revision 877)
++++ qcommon/files.c (working copy)
+@@ -19,6 +19,7 @@
+ */
+
+ #include "qcommon.h"
++#include "../unix/glob.h"
+
+ // define this to dissalow any data but the demo pak file
+ //#define NO_ADDONS
+Index: client/menu.c
+===================================================================
+--- client/menu.c (revision 877)
++++ client/menu.c (working copy)
+@@ -24,6 +24,7 @@
+
+ #ifdef __unix__
+ #include <sys/time.h>
++#include <unistd.h>
+ #endif
+
+ #ifdef _WIN32
+Index: ref_gl/r_main.c
+===================================================================
+--- ref_gl/r_main.c (revision 877)
++++ ref_gl/r_main.c (working copy)
+@@ -1659,10 +1659,10 @@
+ Com_Printf ("GL_EXTENSIONS: %s\n", gl_config.extensions_string );
+
+ strcpy( renderer_buffer, gl_config.renderer_string );
+- strlwr( renderer_buffer );
++ Q_strlwr( renderer_buffer );
+
+ strcpy( vendor_buffer, gl_config.vendor_string );
+- strlwr( vendor_buffer );
++ Q_strlwr( vendor_buffer );
+
+ if ( strstr( renderer_buffer, "voodoo" ) )
+ {
+Index: ref_gl/r_script.h
+===================================================================
+--- ref_gl/r_script.h (revision 877)
++++ ref_gl/r_script.h (working copy)
+@@ -160,9 +160,7 @@
+ void RS_FreeUnmarked(void);
+ rscript_t *RS_FindScript(char *name);
+ void RS_ReadyScript(rscript_t *rs);
+-#ifdef _WINDOWS
+ void RS_ScanPathForScripts(void);
+-#endif
+ int RS_Animate(rs_stage_t *stage);
+ void RS_UpdateRegistration(void);
+ void RS_DrawSurface (msurface_t *surf, qboolean lightmap);