diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-11-15 22:57:27 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-11-15 22:57:27 +0000 |
commit | 90cfea4cbf2ee179267a9e4cd7d49352ce3b9659 (patch) | |
tree | 4cae23e307f083f9d68b22391bd8be4c11724611 /games-fps/alienarena | |
parent | Fix prll compilation (diff) | |
download | gentoo-2-90cfea4cbf2ee179267a9e4cd7d49352ce3b9659.tar.gz gentoo-2-90cfea4cbf2ee179267a9e4cd7d49352ce3b9659.tar.bz2 gentoo-2-90cfea4cbf2ee179267a9e4cd7d49352ce3b9659.zip |
old
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-fps/alienarena')
-rw-r--r-- | games-fps/alienarena/Manifest | 13 | ||||
-rw-r--r-- | games-fps/alienarena/alienarena-20100504.ebuild | 86 | ||||
-rw-r--r-- | games-fps/alienarena/files/alienarena-20100504-fixups.patch | 54 |
3 files changed, 0 insertions, 153 deletions
diff --git a/games-fps/alienarena/Manifest b/games-fps/alienarena/Manifest index 0879697a33e7..64f58b847f7b 100644 --- a/games-fps/alienarena/Manifest +++ b/games-fps/alienarena/Manifest @@ -1,17 +1,4 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX alienarena-20100504-fixups.patch 1593 RMD160 0dda6b277581067fa288f9b1e2273461e4777533 SHA1 13e419221e765c119ef762605ed0514b5eafb536 SHA256 f302d4b7d32cc91f7a0f2ae1ba71f18e1a675b4adb2d118424802991ff6e64ff -DIST alienarena-linux20100504.zip 352048649 RMD160 06eb5bffaa7055aaa92e8f707bc2b8b685376030 SHA1 118b3d469c7462f7838950ff319ca39b107706b2 SHA256 731dd7f6f5b3f531ac289a8ed4303512bb182c51a3c41d803d81c26c545c9bf1 DIST alienarena7_45-Linux20100726.zip 378720472 RMD160 d20e167c66dec8ec072ecbf5833a4a4b46458a17 SHA1 9c982d097d885af0cbd06bfbe6c4185936c43c4d SHA256 89cbfe2c97d3297c9cb38a847cb20844e8c435323a9a5b4cdb305536cda8c4d0 -EBUILD alienarena-20100504.ebuild 2228 RMD160 40ee98d21c078b0688c2a5ad7e63ed09dbf5ab33 SHA1 ef6adcb458200ec90126dd2636ed5941afdf3916 SHA256 381b282870ff563231382458ab1a4bb59237dce5e59ef639094f4095759bbf5e EBUILD alienarena-20100726.ebuild 2194 RMD160 fa01a3bee37e88472411fbc80159d19644fd6dad SHA1 fa14bd8e2c2f9fac9e756c2550164b71d0f33727 SHA256 10d2c135b768f94ff6afc68ae7dc2e61b752dd620230db77d82830b34921e529 MISC ChangeLog 4295 RMD160 710cb4fe599eab7eb78aef3675e93760ed2189cf SHA1 d0a81177bd02b18ee9469d7be3d115ac407abaa8 SHA256 85427f41ee3cfeab752f49ac86719d55582f4422206b182bc7b57686e25a0701 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.16 (GNU/Linux) - -iEYEARECAAYFAkycV5YACgkQ9/cejkQaxBCDuQCdEsyCh9905JbDWLXONKad1ehP -R+gAn23RTfH0rb91VBSSYdCRx8bkkgzg -=FWqz ------END PGP SIGNATURE----- diff --git a/games-fps/alienarena/alienarena-20100504.ebuild b/games-fps/alienarena/alienarena-20100504.ebuild deleted file mode 100644 index 8103017b2bd2..000000000000 --- a/games-fps/alienarena/alienarena-20100504.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/alienarena/alienarena-20100504.ebuild,v 1.4 2010/07/11 12:26:57 fauli Exp $ - -EAPI=2 -inherit eutils games - -MY_PN=alienarena7_40 -DESCRIPTION="Fast-paced multiplayer deathmatch game" -HOMEPAGE="http://red.planetarena.org/" -SRC_URI="http://icculus.org/alienarena/Files/${PN}-linux${PV}.zip" - -LICENSE="GPL-2 free-noncomm" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="dedicated opengl" - -UIRDEPEND="media-libs/jpeg - media-libs/openal - media-libs/libvorbis - virtual/glu - virtual/opengl - x11-libs/libXxf86dga - x11-libs/libXxf86vm" -RDEPEND="opengl? ( ${UIRDEPEND} ) - !opengl? ( !dedicated? ( ${UIRDEPEND} ) ) - net-misc/curl" -UIDEPEND="x11-proto/xf86dgaproto - x11-proto/xf86vidmodeproto" -DEPEND="${RDEPEND} - opengl? ( ${UIDEPEND} ) - !opengl? ( !dedicated? ( ${UIDEPEND} ) ) - dev-util/pkgconfig - app-arch/unzip" - -S=${WORKDIR}/${MY_PN}/source - -src_prepare() { - rm -f ../*/*.so - sed -i \ - -e 's:\($(SHLIBLDFLAGS)\):$(LDFLAGS) \1:' \ - Makefile \ - || die "sed failed" - epatch "${FILESDIR}"/${P}-fixups.patch -} - -src_compile() { - emake \ - ARCH="unknown" \ - OSTYPE="linux" \ - OPTIMIZED_CFLAGS=no \ - WITH_DATADIR=yes \ - WITH_LIBDIR=yes \ - DATADIR="${GAMES_DATADIR}"/${PN} \ - LIBDIR="$(games_get_libdir)"/${PN} \ - $(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} || die "newgamesbin crx failed" - make_desktop_entry ${PN} "Alien Arena" - 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-20100504-fixups.patch b/games-fps/alienarena/files/alienarena-20100504-fixups.patch deleted file mode 100644 index f5eb279f64ec..000000000000 --- a/games-fps/alienarena/files/alienarena-20100504-fixups.patch +++ /dev/null @@ -1,54 +0,0 @@ -diff -ru alienarena7_40.orig/source/client/cl_scrn.c alienarena7_40/source/client/cl_scrn.c ---- alienarena7_40.orig/source/client/cl_scrn.c 2010-03-20 17:18:58.000000000 -0400 -+++ alienarena7_40/source/client/cl_scrn.c 2010-05-02 14:36:49.000000000 -0400 -@@ -1306,7 +1306,7 @@ - value = cl.frame.playerstate.stats[atoi(token)]; - if (value >= MAX_IMAGES) - Com_Error (ERR_DROP, "Pic >= MAX_IMAGES"); -- if (cl.configstrings[CS_IMAGES+value]) -+ if( cl.configstrings[CS_IMAGES+value][0] ) - { - SCR_AddDirtyPoint (x, y); - SCR_AddDirtyPoint (x+23*scale, y+23*scale); -diff -ru alienarena7_40.orig/source/game/p_weapon.c alienarena7_40/source/game/p_weapon.c ---- alienarena7_40.orig/source/game/p_weapon.c 2010-03-12 23:22:38.000000000 -0500 -+++ alienarena7_40/source/game/p_weapon.c 2010-05-02 14:36:49.000000000 -0400 -@@ -175,6 +175,21 @@ -
- game = gi.cvar("game", "", 0);
-
-+#ifdef DATADIR
-+ if ( game && *game->string ) {
-+ sprintf( name, DATADIR"/%s/%s", game->string, filename );
-+ *file = fopen( name, "rb" );
-+ if( *file )
-+ return 1;
-+ }
-+ sprintf( name, "%s/%s/%s", DATADIR, GAMEVERSION, filename );
-+ *file = fopen (name, "rb");
-+ if( *file )
-+ return 1;
-+
-+ return -1;
-+#else
-+
- if (!*game->string) //if there is a gamedir try here first
- sprintf (name, "%s/%s", GAMEVERSION, filename);
- else
-@@ -188,6 +203,7 @@ - else
- return 1;
-
-+
- if(!found) { //try basedir
- sprintf (name, "%s/%s", GAMEVERSION, filename);
- *file = fopen (name, "rb");
-@@ -200,6 +216,8 @@ - }
- else
- return -1;
-+#endif
-+
- }
-
- /*
|