summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2007-11-23 06:33:10 +0000
committerTristan Heaven <tristan@gentoo.org>2007-11-23 06:33:10 +0000
commit5ab3abe47e61c11a7967baa45cedd59e0b27b94f (patch)
treeee96a13c59cc11caafdc3f538642eeccfb1e75fa /games-fps/alienarena
parentversion bump from upstream (diff)
downloadhistorical-5ab3abe47e61c11a7967baa45cedd59e0b27b94f.tar.gz
historical-5ab3abe47e61c11a7967baa45cedd59e0b27b94f.tar.bz2
historical-5ab3abe47e61c11a7967baa45cedd59e0b27b94f.zip
Version bump by Paul Bredbury, bug #195545
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'games-fps/alienarena')
-rw-r--r--games-fps/alienarena/ChangeLog8
-rw-r--r--games-fps/alienarena/Manifest26
-rw-r--r--games-fps/alienarena/alienarena-20071011.ebuild92
-rw-r--r--games-fps/alienarena/files/alienarena-20071011-paths.patch19
-rw-r--r--games-fps/alienarena/files/digest-alienarena-200710113
5 files changed, 140 insertions, 8 deletions
diff --git a/games-fps/alienarena/ChangeLog b/games-fps/alienarena/ChangeLog
index 86a282c8f378..a48fdf728c22 100644
--- a/games-fps/alienarena/ChangeLog
+++ b/games-fps/alienarena/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-fps/alienarena
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/alienarena/ChangeLog,v 1.6 2007/09/24 21:27:48 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/alienarena/ChangeLog,v 1.7 2007/11/23 06:33:09 nyhm Exp $
+
+*alienarena-20071011 (23 Nov 2007)
+
+ 23 Nov 2007; Tristan Heaven <nyhm@gentoo.org>
+ +files/alienarena-20071011-paths.patch, +alienarena-20071011.ebuild:
+ Version bump by Paul Bredbury, bug #195545
*alienarena-20070613-r1 (24 Sep 2007)
diff --git a/games-fps/alienarena/Manifest b/games-fps/alienarena/Manifest
index f231c2763c7b..28c94dfbf3cd 100644
--- a/games-fps/alienarena/Manifest
+++ b/games-fps/alienarena/Manifest
@@ -13,19 +13,28 @@ AUX alienarena-20070613-paths.patch 614 RMD160 6cce7779a54bff08a58a3a4fae2a3c0c0
MD5 5ebfdadc667e0822c2831a9847a82ac5 files/alienarena-20070613-paths.patch 614
RMD160 6cce7779a54bff08a58a3a4fae2a3c0c0efbb624 files/alienarena-20070613-paths.patch 614
SHA256 d85ec14925def732accbd7dd4594d7da90b0c6ff71bb6f04c8b257c2d05f66bd files/alienarena-20070613-paths.patch 614
+AUX alienarena-20071011-paths.patch 614 RMD160 6cce7779a54bff08a58a3a4fae2a3c0c0efbb624 SHA1 62d127c696a29d0b5e60cf56063d84d04d939fe8 SHA256 d85ec14925def732accbd7dd4594d7da90b0c6ff71bb6f04c8b257c2d05f66bd
+MD5 5ebfdadc667e0822c2831a9847a82ac5 files/alienarena-20071011-paths.patch 614
+RMD160 6cce7779a54bff08a58a3a4fae2a3c0c0efbb624 files/alienarena-20071011-paths.patch 614
+SHA256 d85ec14925def732accbd7dd4594d7da90b0c6ff71bb6f04c8b257c2d05f66bd files/alienarena-20071011-paths.patch 614
AUX alienarena.xpm 5762 RMD160 0f478372866e065a330a771e31feed557d849013 SHA1 086af85ad701bdd0f2fc8fb45310ea37c94442ac SHA256 0d0850873eea0daf9cd8152b6e17f4fbc62f583567bff3b7e721073fe67a76b1
MD5 90666ced9e016acf7b47c778a7ebd8ca files/alienarena.xpm 5762
RMD160 0f478372866e065a330a771e31feed557d849013 files/alienarena.xpm 5762
SHA256 0d0850873eea0daf9cd8152b6e17f4fbc62f583567bff3b7e721073fe67a76b1 files/alienarena.xpm 5762
DIST alienarena2007-20070613-linux.zip 223204178 RMD160 ae4b12d8f3271dd6e4c0ad801ec58e218a686e96 SHA1 090c6ee143292294193532e0f437b30cdf2fe659 SHA256 593a7b106768abaff4c55f0b06dc20b5914601516c98ca5dfe93526de0559933
+DIST alienarena2007-20071011-linux.zip 245067302 RMD160 838167095481bf77446fd1286f3c75ebdd2361ad SHA1 6af33de5013d84701c2143fe1836e0721af1817a SHA256 33036bd0dec77ae06c113d8e06718bd6f9e42efb634ee304c3fd9d48184c2e20
EBUILD alienarena-20070613-r1.ebuild 2474 RMD160 122710d285e3808df0fadb228d2f43c6ae6a32b2 SHA1 087fc6869c2864ada162457881f3864326c7519b SHA256 bc50907354bf6afbc1fd76fa4e5e1a19e2687a8cf9330d966552b7cd6578af69
MD5 ed7c0a7dda41c4ecab30dff43d580826 alienarena-20070613-r1.ebuild 2474
RMD160 122710d285e3808df0fadb228d2f43c6ae6a32b2 alienarena-20070613-r1.ebuild 2474
SHA256 bc50907354bf6afbc1fd76fa4e5e1a19e2687a8cf9330d966552b7cd6578af69 alienarena-20070613-r1.ebuild 2474
-MISC ChangeLog 1445 RMD160 f3f250e5c32bbd1ed34f4fe88dc4d18e9b477bd8 SHA1 b41ca62aa96f8bec83f36c69c3ef66f1a60ed04e SHA256 96fcc2a403ee80b9b73e1afa0e30f8ab5ede14791895c4b2ba63e9348e307e4d
-MD5 10cbce726c9281192491660111ac169c ChangeLog 1445
-RMD160 f3f250e5c32bbd1ed34f4fe88dc4d18e9b477bd8 ChangeLog 1445
-SHA256 96fcc2a403ee80b9b73e1afa0e30f8ab5ede14791895c4b2ba63e9348e307e4d ChangeLog 1445
+EBUILD alienarena-20071011.ebuild 2498 RMD160 bf1ea43cbae66ae7b52778e3a1c0a2af450a23d3 SHA1 5442fed36ed66ef51f690cc19cbae5dc26d987ff SHA256 fbd86da9d83cb1cd0a49074f310632d3cc3a8b85b9942df4dd3c49db8a42d01c
+MD5 101adf014c90578f6c50cd5e965a3b5d alienarena-20071011.ebuild 2498
+RMD160 bf1ea43cbae66ae7b52778e3a1c0a2af450a23d3 alienarena-20071011.ebuild 2498
+SHA256 fbd86da9d83cb1cd0a49074f310632d3cc3a8b85b9942df4dd3c49db8a42d01c alienarena-20071011.ebuild 2498
+MISC ChangeLog 1646 RMD160 62c08c3471306080c7c6ead15278c159205e5551 SHA1 dcd90a33aa740deeb3c0db1fd8656a736a1d7539 SHA256 bca0477416bb4a5869849c61d75bfbe3a228a735e135764a16413b221909f3b3
+MD5 b7a7a8a58af3991bdbc005f85a766248 ChangeLog 1646
+RMD160 62c08c3471306080c7c6ead15278c159205e5551 ChangeLog 1646
+SHA256 bca0477416bb4a5869849c61d75bfbe3a228a735e135764a16413b221909f3b3 ChangeLog 1646
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
@@ -33,10 +42,13 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata
MD5 94403c6274573c3d2d4593fe13d39a6b files/digest-alienarena-20070613-r1 289
RMD160 d1f39ec77b918efee0347e2eacdee0cdf639b974 files/digest-alienarena-20070613-r1 289
SHA256 bd04973bedb2d2fe0c8faec18cdbdfc592b35884f5d4bef00032c4643b282992 files/digest-alienarena-20070613-r1 289
+MD5 f22e01c0f4ea293a770f80403d933c9f files/digest-alienarena-20071011 289
+RMD160 ad66373349b8f05ec03390fb69a1b31d64637cb3 files/digest-alienarena-20071011 289
+SHA256 ed352890483a77143541adb2f3255a0baf874769223ea1bd49af0896ee409d54 files/digest-alienarena-20071011 289
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFG+Cvkdz7hIScOURERArUyAJ9OvOWFZSXkNHxedbEkmx0TMZN69QCgiT4o
-6UjV+jydzZaBiPOLeg0B8J4=
-=zKE6
+iD8DBQFHRnRDdz7hIScOURERAoa6AKDAnFTzzrXQOB0HserWVPGa7lWtsACffeim
+DkJPFnuXIQZwMPHI4LcbFwk=
+=STpj
-----END PGP SIGNATURE-----
diff --git a/games-fps/alienarena/alienarena-20071011.ebuild b/games-fps/alienarena/alienarena-20071011.ebuild
new file mode 100644
index 000000000000..64c1c2053fb3
--- /dev/null
+++ b/games-fps/alienarena/alienarena-20071011.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/alienarena/alienarena-20071011.ebuild,v 1.1 2007/11/23 06:33:09 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}-${PV}-linux.zip"
+
+LICENSE="GPL-2 free-noncomm"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dedicated opengl sdl"
+
+UIDEPEND="media-libs/jpeg
+ media-libs/libpng
+ virtual/glu
+ virtual/opengl
+ x11-libs/libXxf86dga
+ x11-libs/libXxf86vm"
+RDEPEND="!dedicated? ( ${UIDEPEND} )
+ opengl? ( ${UIDEPEND} )
+ sdl? ( ${UIDEPEND} media-libs/libsdl )
+ net-misc/curl"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}/${MY_PN}/source
+
+src_unpack() {
+ unpack ${A}
+ cd "${MY_PN}"
+
+ rm -f */*.so *.dll crded crx crx.sdl
+
+ epatch "${FILESDIR}"/${P}-paths.patch
+
+ cd "${S}"
+ sed -i \
+ -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" \
+ -e "s:GENTOO_LIBDIR:$(games_get_libdir)/${PN}:" \
+ unix/sys_unix.c \
+ || die "sed sys_unix.c"
+}
+
+src_compile() {
+ # To avoid audio crackling
+ [[ $(gcc-fullversion) == "4.1.1" ]] && replace-flags -O? -O0
+
+ emake \
+ CC="$(tc-getCC)" \
+ BASE_CFLAGS="${CFLAGS} -Dstricmp=strcasecmp -D_stricmp=strcasecmp -DHAVE_CURL" \
+ OPTIMIZED_CFLAGS= \
+ $(use sdl && echo SDLSOUND=1) \
+ $(use opengl && ! use dedicated && echo BUILD=GAME) \
+ $(! use opengl && use dedicated && echo BUILD=DEDICATED) \
+ $(use opengl && use dedicated && echo BUILD=ALL) \
+ $(! use opengl && ! use dedicated && echo BUILD=GAME) \
+ || die "emake failed"
+}
+
+src_install() {
+ cd release
+ exeinto "$(games_get_libdir)"/${PN}
+ doexe game.so || die "doexe failed"
+
+ if use opengl || ! use dedicated ; then
+ newgamesbin crx ${PN}-oss || die "newgamesbin crx failed"
+ make_desktop_entry ${PN}-oss "Alien Arena (OSS audio)" ${PN}.xpm
+ use sdl || dosym ${PN}-oss "${GAMES_BINDIR}"/${PN}
+ fi
+
+ if use sdl ; then
+ newgamesbin crx.sdl ${PN}-sdl || die "newgamesbin crx.sdl failed"
+ make_desktop_entry ${PN}-sdl "Alien Arena (SDL audio)" ${PN}.xpm
+ 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"
+ dodoc docs/README.txt
+
+ prepgamesdirs
+}
diff --git a/games-fps/alienarena/files/alienarena-20071011-paths.patch b/games-fps/alienarena/files/alienarena-20071011-paths.patch
new file mode 100644
index 000000000000..263aa58666b6
--- /dev/null
+++ b/games-fps/alienarena/files/alienarena-20071011-paths.patch
@@ -0,0 +1,19 @@
+--- source/unix/sys_unix.c 2007-06-14 13:15:32.834511771 -0400
++++ source/unix/sys_unix.c 2007-06-14 13:16:54.505565372 -0400
+@@ -234,7 +234,7 @@
+ path = FS_NextPath (path);
+ if (!path)
+ return NULL; // couldn't find one anywhere
+- snprintf (name, MAX_OSPATH, "%s/%s", path, gamename);
++ snprintf (name, MAX_OSPATH, "%s/%s", "GENTOO_LIBDIR", gamename);
+
+ /* skip it if it just doesn't exist */
+ fp = fopen(name, "rb");
+@@ -308,6 +308,7 @@
+ saved_euid = geteuid();
+ seteuid(getuid());
+
++ chdir("GENTOO_DATADIR");
+ Qcommon_Init(argc, argv);
+
+ fcntl(0, F_SETFL, fcntl (0, F_GETFL, 0) | FNDELAY);
diff --git a/games-fps/alienarena/files/digest-alienarena-20071011 b/games-fps/alienarena/files/digest-alienarena-20071011
new file mode 100644
index 000000000000..3f5b39867541
--- /dev/null
+++ b/games-fps/alienarena/files/digest-alienarena-20071011
@@ -0,0 +1,3 @@
+MD5 7ebb0dfeec4be80311921a075379c8dc alienarena2007-20071011-linux.zip 245067302
+RMD160 838167095481bf77446fd1286f3c75ebdd2361ad alienarena2007-20071011-linux.zip 245067302
+SHA256 33036bd0dec77ae06c113d8e06718bd6f9e42efb634ee304c3fd9d48184c2e20 alienarena2007-20071011-linux.zip 245067302