diff options
Diffstat (limited to 'games-fps/alienarena')
-rw-r--r-- | games-fps/alienarena/ChangeLog | 8 | ||||
-rw-r--r-- | games-fps/alienarena/alienarena-20101214.ebuild | 64 | ||||
-rw-r--r-- | games-fps/alienarena/files/alienarena-20101214-nodocs.patch | 18 | ||||
-rw-r--r-- | games-fps/alienarena/metadata.xml | 4 |
4 files changed, 93 insertions, 1 deletions
diff --git a/games-fps/alienarena/ChangeLog b/games-fps/alienarena/ChangeLog index 37b02cd8e579..5c1c37323c0f 100644 --- a/games-fps/alienarena/ChangeLog +++ b/games-fps/alienarena/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-fps/alienarena # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/alienarena/ChangeLog,v 1.27 2010/09/24 07:48:38 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/alienarena/ChangeLog,v 1.28 2010/12/18 18:33:06 mr_bones_ Exp $ + +*alienarena-20101214 (18 Dec 2010) + + 18 Dec 2010; Michael Sterrett <mr_bones_@gentoo.org> + +alienarena-20101214.ebuild, +files/alienarena-20101214-nodocs.patch: + version bump 24 Sep 2010; Markos Chandras <hwoarang@gentoo.org> alienarena-20100726.ebuild: diff --git a/games-fps/alienarena/alienarena-20101214.ebuild b/games-fps/alienarena/alienarena-20101214.ebuild new file mode 100644 index 000000000000..20918edaf8f8 --- /dev/null +++ b/games-fps/alienarena/alienarena-20101214.ebuild @@ -0,0 +1,64 @@ +# 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-20101214.ebuild,v 1.1 2010/12/18 18:33:06 mr_bones_ Exp $ + +EAPI=2 +inherit autotools eutils games + +MY_PN=alienarena-7_50 +DESCRIPTION="Fast-paced multiplayer deathmatch game" +HOMEPAGE="http://red.planetarena.org/" +SRC_URI="http://icculus.org/alienarena/Files/${MY_PN}-linux${PV}.tar.gz" + +LICENSE="GPL-2 free-noncomm" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="dedicated +dga +vidmode" + +UIRDEPEND="virtual/jpeg + media-libs/openal + media-libs/libvorbis + media-libs/freetype:2 + dev-games/ode + virtual/glu + virtual/opengl + dga? ( x11-libs/libXxf86dga ) + vidmode? ( x11-libs/libXxf86vm ) + net-misc/curl" +UIDEPEND="dga? ( x11-proto/xf86dgaproto ) + vidmode? ( x11-proto/xf86vidmodeproto )" +RDEPEND="!dedicated? ( ${UIRDEPEND} )" +DEPEND="${RDEPEND} + !dedicated? ( ${UIDEPEND} ) + dev-util/pkgconfig" + +S=${WORKDIR}/${MY_PN/_/.} + +src_prepare() { + epatch "${FILESDIR}"/${P}-nodocs.patch + sed -i -e '/aa.png/d ' game_data.am || die + eautoreconf +} + +src_configure() { + egamesconf \ + --disable-silent-rules \ + --disable-dependency-tracking \ + $(use_enable !dedicated client) \ + $(use_with dga xf86dga) \ + $(use_with vidmode xf86vm) +} + +src_install() { + emake DESTDIR="${D}" install || die + + mv "${D}${GAMES_BINDIR}/crx-ded" "${D}${GAMES_BINDIR}/${PN}-ded" || die + if ! use dedicated ; then + mv "${D}${GAMES_BINDIR}/crx" "${D}${GAMES_BINDIR}/${PN}" || die + make_desktop_entry ${PN} "Alien Arena" + newicon aa.png ${PN}.png + fi + + dodoc docs/README.txt README + prepgamesdirs +} diff --git a/games-fps/alienarena/files/alienarena-20101214-nodocs.patch b/games-fps/alienarena/files/alienarena-20101214-nodocs.patch new file mode 100644 index 000000000000..067a3934fb20 --- /dev/null +++ b/games-fps/alienarena/files/alienarena-20101214-nodocs.patch @@ -0,0 +1,18 @@ +--- Makefile.am.orig 2010-12-16 17:10:32.581379303 -0500 ++++ Makefile.am 2010-12-16 17:10:44.258117291 -0500 +@@ -22,15 +22,6 @@ + + ACLOCAL_AMFLAGS = -I m4 + +-# COPYING and INSTALL are GNU/FSF-supplied documents. +-# Others are Alien Arena documents. +-dist_doc_DATA = \ +- docs/license.txt \ +- docs/README.txt \ +- README \ +- COPYING \ +- INSTALL +- + # FUSE game server browser and Server management scripts + EXTRA_DIST = \ + Tools/fuse.tar.gz \ diff --git a/games-fps/alienarena/metadata.xml b/games-fps/alienarena/metadata.xml index d3c2cc926f0b..58b3ab039e52 100644 --- a/games-fps/alienarena/metadata.xml +++ b/games-fps/alienarena/metadata.xml @@ -2,4 +2,8 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>games</herd> + <use> + <flag name="vidmode">Link against <pkg>x11-libs/libXxf86vm</pkg>. + Required for full-screen support.</flag> + </use> </pkgmetadata> |