diff options
5 files changed, 128 insertions, 7 deletions
diff --git a/games-action/accelerator3d/ChangeLog b/games-action/accelerator3d/ChangeLog index 0e7bc8c3dc31..5d612d4f92b3 100644 --- a/games-action/accelerator3d/ChangeLog +++ b/games-action/accelerator3d/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-action/accelerator3d -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/accelerator3d/ChangeLog,v 1.1 2005/10/22 05:58:25 vapier Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/accelerator3d/ChangeLog,v 1.2 2006/04/18 20:23:15 tupone Exp $ + +*accelerator3d-0.1.1 (18 Apr 2006) + + 18 Apr 2006; <Tupone@gentoo.org> + +files/accelerator3d-0.1.1-gentoo-paths.patch, + +accelerator3d-0.1.1.ebuild: + Version bump, bug #130373 by Alexandru Toma *accelerator3d-0.1.0 (22 Oct 2005) diff --git a/games-action/accelerator3d/Manifest b/games-action/accelerator3d/Manifest index 72a7d4033355..d7c0f8bc1ef7 100644 --- a/games-action/accelerator3d/Manifest +++ b/games-action/accelerator3d/Manifest @@ -1,15 +1,34 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 bf24e029ecc3e48718e7ccf867f5888d ChangeLog 392 +MD5 73c0891c105e582d8fc2835bbaed446d ChangeLog 590 +RMD160 1eac9bd3c2d34672bb85b82afd2372e4cf5d6e53 ChangeLog 590 +SHA256 71c0c9beb1b824e85e32f1dbe6cd73f44b2e7630ba8647b4736f47cfdece54f1 ChangeLog 590 MD5 b8e3c8ac659c01bc0a5f3ef8c1eaf8db accelerator3d-0.1.0.ebuild 984 +RMD160 3b403aa0aea5c4774ccb7404ff7e58a829c895af accelerator3d-0.1.0.ebuild 984 +SHA256 c5bd0a78fae65608405d4d4a828e58c66b785a9d248de3713840cd8247ab33f8 accelerator3d-0.1.0.ebuild 984 +MD5 1d9b1c2a587aa122a493d272828df53e accelerator3d-0.1.1.ebuild 1022 +RMD160 ae1ac14f115cb03bf125df1001567e8bb0685b84 accelerator3d-0.1.1.ebuild 1022 +SHA256 72a27aa08f28e09f172a0bba80276ad1142de2823a251d3c336765ad08ce9a66 accelerator3d-0.1.1.ebuild 1022 MD5 f5cf47ace8c11eed2413011837029027 files/accelerator3d-0.1.0-gentoo-paths.patch 307 +RMD160 3ffe45858c23c9aeb157f2e2ecad797fb8341fdd files/accelerator3d-0.1.0-gentoo-paths.patch 307 +SHA256 4395bd156fe0bae0661f21e5f455c974b07addd0c7d654e6ce3aa0a16badd37d files/accelerator3d-0.1.0-gentoo-paths.patch 307 +MD5 e8645f2372c5b7847bf53318c3aa4e53 files/accelerator3d-0.1.1-gentoo-paths.patch 3073 +RMD160 92abdf0ed7b2011eba78ed4c92aa4f20775c5fa1 files/accelerator3d-0.1.1-gentoo-paths.patch 3073 +SHA256 ab2e24e8d482747715fd085d14d2b533d75876c7a819442b66a21b41bfd62d6c files/accelerator3d-0.1.1-gentoo-paths.patch 3073 MD5 4b68311bbba9323e9f182a6aebc67090 files/digest-accelerator3d-0.1.0 70 +RMD160 08b52e2fba466e0b4c7de1bb4a85c3aa653c4851 files/digest-accelerator3d-0.1.0 70 +SHA256 dd57da0d7806a51d89e004f1577ee449d00f299acafe81762f9c87e9d0176780 files/digest-accelerator3d-0.1.0 70 +MD5 f7b32f3e41ca15a8d4984d2fc01bc652 files/digest-accelerator3d-0.1.1 259 +RMD160 e7ff13ef96b1c1d24fd480accdd5f41b5482bc0a files/digest-accelerator3d-0.1.1 259 +SHA256 53665c6e659c1879ed20dceb20e7056c47b55aa87a0127384ac4736d7d45c9c3 files/digest-accelerator3d-0.1.1 259 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 +SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) +Version: GnuPG v1.4.2.2 (GNU/Linux) -iD8DBQFDWdUWgIKl8Uu19MoRAqraAJ43C7d+J9ZdJ4kdzqp8TgtLWlt1WgCfVBg5 -n90osbFxI9b/WQM3tX2Jagc= -=Rouh +iD8DBQFERUrI2CTtIKiFlQIRApaMAKCcHuxwZJ9UgalPCC0j4pFV2tghXACgsyaC +lO5lkGiBNU0AjTHAcQndBj8= +=eNEP -----END PGP SIGNATURE----- diff --git a/games-action/accelerator3d/accelerator3d-0.1.1.ebuild b/games-action/accelerator3d/accelerator3d-0.1.1.ebuild new file mode 100644 index 000000000000..23b1364fb1b2 --- /dev/null +++ b/games-action/accelerator3d/accelerator3d-0.1.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/accelerator3d/accelerator3d-0.1.1.ebuild,v 1.1 2006/04/18 20:23:15 tupone Exp $ + +inherit games eutils + +DESCRIPTION="Fast-paced, 3D, first-person shoot/dodge-'em-up, in the vain of Tempest or n2o" +HOMEPAGE="http://accelerator3d.sourceforge.net/" +SRC_URI="mirror://sourceforge/accelerator3d/accelerator-${PV}.tar.bz2" + +LICENSE="Artistic" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-python/pyode + dev-python/pygame + dev-python/pyopengl + virtual/python" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gentoo-paths.patch + sed -i \ + -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ + accelerator.py || die +} + +src_install() { + newgamesbin accelerator.py accelerator || die "gamesbin" + insinto "${GAMES_DATADIR}"/${PN} + doins gfx/* || die "doins gfx" + doins snd/* || die "doins snd" + dodoc CHANGELOG README + prepgamesdirs +} diff --git a/games-action/accelerator3d/files/accelerator3d-0.1.1-gentoo-paths.patch b/games-action/accelerator3d/files/accelerator3d-0.1.1-gentoo-paths.patch new file mode 100644 index 000000000000..ab8637f24f28 --- /dev/null +++ b/games-action/accelerator3d/files/accelerator3d-0.1.1-gentoo-paths.patch @@ -0,0 +1,53 @@ +--- accelerator.py.old 2006-04-18 21:51:28.000000000 +0200 ++++ accelerator.py 2006-04-18 22:07:28.000000000 +0200 +@@ -72,7 +72,7 @@ + # default parameters on it (min/mag filters, wrapping). + def __init__(self,texfile,mipmap = False): + global activeTexture +- filename = os.path.join('gfx',texfile) ++ filename = os.path.join('@GENTOO_DATADIR@',texfile) + image = pygame.image.load(filename) + data = pygame.image.tostring(image,'RGBX') + self.__texref = glGenTextures(1) +@@ -599,8 +599,8 @@ + for i in xrange(len(self.__menu[j][0])): + font.addString(self.__menu[j][0][i]) + if (soundon): +- self.__browsesound = pygame.mixer.Sound(os.path.join('snd','menu_browse.wav')) +- self.__selectsound = pygame.mixer.Sound(os.path.join('snd','menu_select.wav')) ++ self.__browsesound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','menu_browse.wav')) ++ self.__selectsound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','menu_select.wav')) + + def doLoop(self): + global elapsed, z_increment, font +@@ -792,19 +792,19 @@ + + # sound! + if soundon: +- self.__shootsound = pygame.mixer.Sound(os.path.join('snd','shoot.wav')) +- self.__cluonsound = pygame.mixer.Sound(os.path.join('snd','cluon.wav')) +- self.__bogonsound = pygame.mixer.Sound(os.path.join('snd','bogon.wav')) +- self.__shipdeadsound = pygame.mixer.Sound(os.path.join('snd','ship_explode.wav')) +- self.__shocksound = pygame.mixer.Sound(os.path.join('snd','electricshock.wav')) +- self.__thudsound = pygame.mixer.Sound(os.path.join('snd','thud.wav')) +- self.__enginesound = pygame.mixer.Sound(os.path.join('snd','engine.wav')) +- self.__chargesound = pygame.mixer.Sound(os.path.join('snd','neon.wav')) ++ self.__shootsound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','shoot.wav')) ++ self.__cluonsound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','cluon.wav')) ++ self.__bogonsound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','bogon.wav')) ++ self.__shipdeadsound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','ship_explode.wav')) ++ self.__shocksound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','electricshock.wav')) ++ self.__thudsound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','thud.wav')) ++ self.__enginesound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','engine.wav')) ++ self.__chargesound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','neon.wav')) + self.__chargeplaying = False +- self.__scrapesound = pygame.mixer.Sound(os.path.join('snd','scrape.wav')) ++ self.__scrapesound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','scrape.wav')) + self.__scrapeplaying = False +- self.__slamsound = pygame.mixer.Sound(os.path.join('snd','slam.wav')) +- self.__phlogsound = pygame.mixer.Sound(os.path.join('snd','phlogiston.wav')) ++ self.__slamsound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','slam.wav')) ++ self.__phlogsound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@','phlogiston.wav')) + + # reserve channel 0 for bullet sounds + pygame.mixer.set_reserved(2) diff --git a/games-action/accelerator3d/files/digest-accelerator3d-0.1.1 b/games-action/accelerator3d/files/digest-accelerator3d-0.1.1 new file mode 100644 index 000000000000..1bb8d5ecde94 --- /dev/null +++ b/games-action/accelerator3d/files/digest-accelerator3d-0.1.1 @@ -0,0 +1,3 @@ +MD5 ce2229b793da502d5b0ca47fa1eb2e39 accelerator-0.1.1.tar.bz2 1183838 +RMD160 f04b6ecfc8cf3b7e34f6c1df57bb038b78d3b001 accelerator-0.1.1.tar.bz2 1183838 +SHA256 02fac1b6fc9bb5708f53ef7bcf123f5a4a04261e2764f984d3e3c64e06a74712 accelerator-0.1.1.tar.bz2 1183838 |