summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-03-13 07:55:38 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-03-13 07:55:38 +0000
commit7d0ce6209a1e18092e28a7887933a064da789495 (patch)
tree462ff09564ab999aa136fcd7a6e0a03dc61cda14 /games-fps/alienarena
parent[bump] dev-perl/ExtUtils-XSpp-0.160.100 (diff)
downloadgentoo-2-7d0ce6209a1e18092e28a7887933a064da789495.tar.gz
gentoo-2-7d0ce6209a1e18092e28a7887933a064da789495.tar.bz2
gentoo-2-7d0ce6209a1e18092e28a7887933a064da789495.zip
version bump
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'games-fps/alienarena')
-rw-r--r--games-fps/alienarena/ChangeLog8
-rw-r--r--games-fps/alienarena/alienarena-20110311.ebuild64
-rw-r--r--games-fps/alienarena/files/alienarena-20110311-nodocs.patch16
3 files changed, 87 insertions, 1 deletions
diff --git a/games-fps/alienarena/ChangeLog b/games-fps/alienarena/ChangeLog
index de526b1d3d9f..7c44e70d9f62 100644
--- a/games-fps/alienarena/ChangeLog
+++ b/games-fps/alienarena/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-fps/alienarena
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/alienarena/ChangeLog,v 1.31 2011/02/25 22:18:55 signals Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/alienarena/ChangeLog,v 1.32 2011/03/13 07:55:38 mr_bones_ Exp $
+
+*alienarena-20110311 (13 Mar 2011)
+
+ 13 Mar 2011; Michael Sterrett <mr_bones_@gentoo.org>
+ +alienarena-20110311.ebuild, +files/alienarena-20110311-nodocs.patch:
+ version bump
25 Feb 2011; Kevin McCarthy <signals@gentoo.org> alienarena-20100726.ebuild:
Updated depends from media-libs/jpeg to virtual/jpeg
diff --git a/games-fps/alienarena/alienarena-20110311.ebuild b/games-fps/alienarena/alienarena-20110311.ebuild
new file mode 100644
index 000000000000..70e49c59871a
--- /dev/null
+++ b/games-fps/alienarena/alienarena-20110311.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/alienarena/alienarena-20110311.ebuild,v 1.1 2011/03/13 07:55:38 mr_bones_ Exp $
+
+EAPI=2
+inherit autotools eutils games
+
+MY_PN=alienarena-7_51
+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[double-precision]
+ 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
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf \
+ --disable-silent-rules \
+ --disable-dependency-tracking \
+ --with-icondir=/usr/share/pixmaps \
+ --with-system-libode \
+ $(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"
+ fi
+
+ dodoc docs/README.txt README
+ prepgamesdirs
+}
diff --git a/games-fps/alienarena/files/alienarena-20110311-nodocs.patch b/games-fps/alienarena/files/alienarena-20110311-nodocs.patch
new file mode 100644
index 000000000000..807e3b2aaa1f
--- /dev/null
+++ b/games-fps/alienarena/files/alienarena-20110311-nodocs.patch
@@ -0,0 +1,16 @@
+diff -ru alienarena-7.51.orig/Makefile.am alienarena-7.51/Makefile.am
+--- alienarena-7.51.orig/Makefile.am 2011-03-05 19:34:07.000000000 -0500
++++ alienarena-7.51/Makefile.am 2011-03-13 01:39:37.179366503 -0500
+@@ -23,12 +23,6 @@
+ ACLOCAL_AMFLAGS = -I m4
+
+ # Alien Arena documents to be installed in $docdir
+-if INSTALL_DOCS
+-dist_doc_DATA = \
+- docs/license.txt \
+- docs/README.txt \
+- README
+-endif
+
+ # FUSE game server browser and Server management scripts
+ # COPYING and INSTALL are GNU/FSF-supplied documents.