initial import #110010
authorMike Frysinger <vapier@gentoo.org>
Sat, 22 Oct 2005 05:58:25 +0000 (05:58 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 22 Oct 2005 05:58:25 +0000 (05:58 +0000)
Package-Manager: portage-2.0.53_rc6

games-action/accelerator3d/ChangeLog [new file with mode: 0644]
games-action/accelerator3d/Manifest [new file with mode: 0644]
games-action/accelerator3d/accelerator3d-0.1.0.ebuild [new file with mode: 0644]
games-action/accelerator3d/files/accelerator3d-0.1.0-gentoo-paths.patch [new file with mode: 0644]
games-action/accelerator3d/files/digest-accelerator3d-0.1.0 [new file with mode: 0644]
games-action/accelerator3d/metadata.xml [new file with mode: 0644]

diff --git a/games-action/accelerator3d/ChangeLog b/games-action/accelerator3d/ChangeLog
new file mode 100644 (file)
index 0000000..0e7bc8c
--- /dev/null
@@ -0,0 +1,8 @@
+# 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 $
+
+*accelerator3d-0.1.0 (22 Oct 2005)
+
+  22 Oct 2005; Mike Frysinger <vapier@gentoo.org> :
+  Initial import.  Ebuild submitted by me for #110010 by Matija Suklje (hook).
diff --git a/games-action/accelerator3d/Manifest b/games-action/accelerator3d/Manifest
new file mode 100644 (file)
index 0000000..72a7d40
--- /dev/null
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 bf24e029ecc3e48718e7ccf867f5888d ChangeLog 392
+MD5 b8e3c8ac659c01bc0a5f3ef8c1eaf8db accelerator3d-0.1.0.ebuild 984
+MD5 f5cf47ace8c11eed2413011837029027 files/accelerator3d-0.1.0-gentoo-paths.patch 307
+MD5 4b68311bbba9323e9f182a6aebc67090 files/digest-accelerator3d-0.1.0 70
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDWdUWgIKl8Uu19MoRAqraAJ43C7d+J9ZdJ4kdzqp8TgtLWlt1WgCfVBg5
+n90osbFxI9b/WQM3tX2Jagc=
+=Rouh
+-----END PGP SIGNATURE-----
diff --git a/games-action/accelerator3d/accelerator3d-0.1.0.ebuild b/games-action/accelerator3d/accelerator3d-0.1.0.ebuild
new file mode 100644 (file)
index 0000000..21c6b68
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/accelerator3d/accelerator3d-0.1.0.ebuild,v 1.1 2005/10/22 05:58:25 vapier 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}
+
+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"
+       dodoc CHANGELOG README
+       prepgamesdirs
+}
diff --git a/games-action/accelerator3d/files/accelerator3d-0.1.0-gentoo-paths.patch b/games-action/accelerator3d/files/accelerator3d-0.1.0-gentoo-paths.patch
new file mode 100644 (file)
index 0000000..1eed097
--- /dev/null
@@ -0,0 +1,9 @@
+--- accelerator.py
++++ accelerator.py
+@@ -63,5 +63,5 @@
+       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')
diff --git a/games-action/accelerator3d/files/digest-accelerator3d-0.1.0 b/games-action/accelerator3d/files/digest-accelerator3d-0.1.0
new file mode 100644 (file)
index 0000000..369ad1d
--- /dev/null
@@ -0,0 +1 @@
+MD5 4c672f1711968d8ba407f34cc3cf38f0 accelerator-0.1.0.tar.bz2 456102
diff --git a/games-action/accelerator3d/metadata.xml b/games-action/accelerator3d/metadata.xml
new file mode 100644 (file)
index 0000000..d3c2cc9
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>