ChangeLog

# ChangeLog for games-action/armagetronad
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-action/armagetronad/ChangeLog,v 1.13 2008/06/29 10:28:37 tove Exp $

29 Jun 2008; Torsten Veller
armagetronad-0.2.7.1-r1.ebuild:
Add missing die: || "..." -> || die "..."

10 May 2008; Mike Frysinger
+files/armagetronad-0.2.7.1-gcc43.patch, armagetronad-0.2.7.1-r1.ebuild:
Add fix by Martin Väth for building with gcc-4.3 #218542.

30 Oct 2006; Mike Frysinger files/armagetronad,
files/armagetronad-ded, armagetronad-0.2.7.1-r1.ebuild:
Make the wrapper scripts less sucky #153338 by Richard Freeman.

28 Oct 2006; files/armagetronad-ded,
-armagetronad-0.2.7.1.ebuild, armagetronad-0.2.7.1-r1.ebuild:
Fixing armagetronad dedicated. Bug #119351 by Matthew Gleed

08 Sep 2006; Tobias Scherbaum
armagetronad-0.2.7.1-r1.ebuild:
ppc stable, bug #142394

*armagetronad-0.2.7.1-r1 (06 Sep 2006)

06 Sep 2006; Chris Gianelloni
+files/armagetronad-0.2.7.1-gcc4.patch,
+files/armagetronad-0.2.7.1-security-1.patch,
+armagetronad-0.2.7.1-r1.ebuild:
Revision bump with a GCC patch and a security patch. Closing bug #142394 and
bug #135154.

10 Feb 2006; Chris Gianelloni
armagetronad-0.2.7.1.ebuild:
Added patch to resolve bug #121473.

06 Feb 2006; Chris Gianelloni
armagetronad-0.2.7.1.ebuild:
Fixing dependencies and closing bug #121741.

22 Jan 2006; Chris Gianelloni
armagetronad-0.2.7.1.ebuild:
Added modular X dependencies and closing bug #119943.

19 Jun 2005; Simon Stelling
armagetronad-0.2.7.1.ebuild:
added ~amd64 keyword

*armagetronad-0.2.7.1 (09 Jun 2005)

09 Jun 2005; Chris Gianelloni +files/armagetronad,
+files/armagetronad-ded, +metadata.xml, +armagetronad-0.2.7.1.ebuild:
Initial import. This ebuild is based off the ebuild submitted to bug #53123
by Donald R. Gray Jr . Closing bug #65931.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX armagetronad 961 RMD160 a819cdcd81eb604d4a9f532510bd085f402e7d76 SHA1 9af62de21e0976237f4e9921bcedf685609ac45c SHA256 9794c2d7f9483a946e7c2a720a902cbd5199e1be2da7fe42be523cbc97764063
AUX armagetronad-0.2.7.1-gcc4.patch 2269 RMD160 aabe55c0522d5cf6112fd4f3195dbb902c9ce0be SHA1 2a6769775e08ebfb42c837b6750031c67a9da1d4 SHA256 17bd03efb07f729db9f37e730b9e6582f13cf333c66e68941cbbc6634fdb8e86
AUX armagetronad-0.2.7.1-gcc43.patch 8497 RMD160 abe52bdeb47f4a235d1d44ada3d1c708ef223b1e SHA1 b1a445dc21777cf9dbb9a1f506581de22c6b4682 SHA256 6c892e9028b16198a11f4b3d72f8a6eff553acf15b1cf1df1b440465d083bab0
AUX armagetronad-0.2.7.1-security-1.patch 527 RMD160 c9e68014c8a1fc1aaf06aacbcac8521007996932 SHA1 0029073a50655e6f87935732de186ced9d4db16e SHA256 b813bb1e74188e200217fa31f075c90ff625d8e9d2f073d8a6ced120af228cd0
AUX armagetronad-ded 905 RMD160 035ea8726e699270e0cfd362ddced5b2b6bff384 SHA1 fe6e2899d63874b6a7740c295dd83a08fd2e8cfa SHA256 e1bfc2fdd5edaaa64f161c8be8aa68abf1d83b02f48701fb82777da1cf0f163c
DIST armagetronad-0.2.7.1.tar.bz2 1243746 RMD160 0dcf9d383fccd42509cae3aacc2df0d5531bd021 SHA1 a93d587e1154f0465c6fdb3c5518a5003add6240 SHA256 0ec8793f6d4d4f5a90feec1c8b0a4846aa4fa2c1f3c69a20b21b5e930d70992c
DIST moviepack.zip 352253 RMD160 07c8b2aa48ad84092869c90e32d32a96d367afd5 SHA1 2dfe328f325add441a74c79685806d16fddce2c6 SHA256 3de835e1e8af71f1dcbf5ac8405dfa87973eac50d206c12338278fc601cf9d78
DIST moviesounds_fq.zip 2182021 RMD160 9fe95f3cc31bfdf9149bf850d5ae46ca5253a09a SHA1 357d87ef40e25bec19fdc8a3aac70db53d3820ec SHA256 9f8061eb0fef416885424bdba9f899fc5b4d9a021f46eef4eb821a7f1e08c1ba
EBUILD armagetronad-0.2.7.1-r1.ebuild 2350 RMD160 50d3c93210602e02a91b0d2ee90ca0cde378e096 SHA1 8f5a1d71427af30679c40e5331651d499cf9750e SHA256 c1dffe2e136403fba481e2910038075ad30da8f9a7c69f19ac0650d04100fe30
MISC ChangeLog 2186 RMD160 b412d661805e18c93b7134ffb3e4920e38a4a4dd SHA1 7a870027c18e4d5d24b0a1cd634b4d83a5e1bbb9 SHA256 a427ac32e840ea427038c0a8def37a92f4cb4cc15a3a0dc494b197d98f51dcd4
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkhnY9sACgkQV3J2n04EauxusgCfU6sAr/jnWLB1sKHNFHkfkIM7
6b0AoLpskFKkP762u3pTsdeWXDp7Ktca
=XaQA
-----END PGP SIGNATURE-----

armagetronad-0.2.7.1-r1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-action/armagetronad/armagetronad-0.2.7.1-r1.ebuild,v 1.8 2008/06/29 10:28:37 tove Exp $

inherit eutils games

DESCRIPTION="3d tron lightcycles, just like the movie"
HOMEPAGE="http://armagetronad.sourceforge.net/"
SRC_URI="mirror://sourceforge/armagetronad/${P}.tar.bz2
!dedicated? (
http://armagetron.sourceforge.net/addons/moviesounds_fq.zip
http://armagetron.sourceforge.net/addons/moviepack.zip
)"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="dedicated"

RDEPEND="
!dedicated? (
sys-libs/zlib
virtual/opengl
virtual/glu
media-libs/libsdl
media-libs/sdl-image
media-libs/jpeg
media-libs/libpng
)"
DEPEND="${RDEPEND}
!dedicated? ( app-arch/unzip )"

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-gcc4.patch
epatch "${FILESDIR}"/${P}-gcc43.patch #218542
epatch "${FILESDIR}"/${P}-security-1.patch
cp "${FILESDIR}"/${PN}-ded "${FILESDIR}"/${PN} . || die
sed -i \
-e "s:@GAMES_SYSCONFDIR@:${GAMES_SYSCONFDIR}:" \
-e "s:@GAMES_LIBDIR@:$(games_get_libdir):" \
-e "s:@GAMES_DATADIR@:${GAMES_DATADIR}:" \
${PN}-ded ${PN}
}

src_compile() {
local myconf=""
use dedicated && myconf="--disable-glout"
egamesconf ${myconf} || die "egamesconf failed"
emake || die "emake failed"
make documentation || die "make doc failed"
}

src_install() {
dohtml doc/*.html
docinto html/net
dohtml doc/net/*.html
newicon tron.ico ${PN}.ico
exeinto "$(games_get_libdir)/${PN}"
if use dedicated ; then
doexe src/tron/${PN}-dedicated || die "copying files"
else
doexe src/tron/${PN} || die "copying files"
fi
doexe src/network/armagetronad-* || die "copying files"
insinto "${GAMES_DATADIR}/${PN}"
doins -r log language || die "copying files"
if ! use dedicated ; then
doins -r arenas models sound textures music || die "copying files"
fi
insinto "${GAMES_SYSCONFDIR}/${PN}"
doins -r config/* || die "copying files"
cd "${S}"
if ! use dedicated ; then
insinto "${GAMES_DATADIR}/${PN}"
dogamesbin ${PN} || die
insinto "${GAMES_DATADIR}/${PN}"
doins -r ../moviepack ../moviesounds || die "copying movies"
make_desktop_entry armagetronad "Armagetron Advanced" ${PN}.ico
else
dogamesbin ${PN}-ded || die
fi
prepgamesdirs
}

files

metadata.xml




games