diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2008-06-06 04:34:37 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2008-06-06 04:34:37 +0000 |
commit | 034da30ddc5a0a5427c3e6aebe624c2b08a05d96 (patch) | |
tree | 32125235d6a1f6509751d60149a83723fef5d55f /games-fps | |
parent | Fix x11-term/aterm's ewarn message in pkg_postint(), it was slightly inaccura... (diff) | |
download | gentoo-2-034da30ddc5a0a5427c3e6aebe624c2b08a05d96.tar.gz gentoo-2-034da30ddc5a0a5427c3e6aebe624c2b08a05d96.tar.bz2 gentoo-2-034da30ddc5a0a5427c3e6aebe624c2b08a05d96.zip |
Version bump
(Portage version: 2.2_pre7-r1/cvs/Linux 2.6.25.4 Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz)
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/alienarena/ChangeLog | 7 | ||||
-rw-r--r-- | games-fps/alienarena/alienarena-20080603.ebuild | 87 |
2 files changed, 93 insertions, 1 deletions
diff --git a/games-fps/alienarena/ChangeLog b/games-fps/alienarena/ChangeLog index bf75b9c25a0c..2cdab7380949 100644 --- a/games-fps/alienarena/ChangeLog +++ b/games-fps/alienarena/ChangeLog @@ -1,6 +1,11 @@ # 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.10 2008/03/26 13:42:04 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/alienarena/ChangeLog,v 1.11 2008/06/06 04:34:37 nyhm Exp $ + +*alienarena-20080603 (06 Jun 2008) + + 06 Jun 2008; Tristan Heaven <nyhm@gentoo.org> +alienarena-20080603.ebuild: + Version bump *alienarena-20080227 (25 Mar 2008) diff --git a/games-fps/alienarena/alienarena-20080603.ebuild b/games-fps/alienarena/alienarena-20080603.ebuild new file mode 100644 index 000000000000..12d3f3ab078b --- /dev/null +++ b/games-fps/alienarena/alienarena-20080603.ebuild @@ -0,0 +1,87 @@ +# 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-20080603.ebuild,v 1.1 2008/06/06 04:34:37 nyhm Exp $ + +inherit eutils 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 +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + OPTIMIZED_CFLAGS=no \ + 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 +} |