summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action')
-rw-r--r--games-action/accelerator3d/ChangeLog10
-rw-r--r--games-action/accelerator3d/accelerator3d-0.1.1-r2.ebuild47
2 files changed, 55 insertions, 2 deletions
diff --git a/games-action/accelerator3d/ChangeLog b/games-action/accelerator3d/ChangeLog
index 36c0bc2da986..4c0e7ca14442 100644
--- a/games-action/accelerator3d/ChangeLog
+++ b/games-action/accelerator3d/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-action/accelerator3d
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/accelerator3d/ChangeLog,v 1.9 2012/02/26 14:55:15 tupone Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/accelerator3d/ChangeLog,v 1.10 2013/12/01 17:02:52 hasufell Exp $
+
+*accelerator3d-0.1.1-r2 (01 Dec 2013)
+
+ 01 Dec 2013; Julian Ospald <hasufell@gentoo.org>
+ +accelerator3d-0.1.1-r2.ebuild:
+ convert to python-r1
26 Feb 2012; Tupone Alfredo <tupone@gentoo.org>
accelerator3d-0.1.1-r1.ebuild:
diff --git a/games-action/accelerator3d/accelerator3d-0.1.1-r2.ebuild b/games-action/accelerator3d/accelerator3d-0.1.1-r2.ebuild
new file mode 100644
index 000000000000..d8af3cefbbd6
--- /dev/null
+++ b/games-action/accelerator3d/accelerator3d-0.1.1-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2013 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-r2.ebuild,v 1.1 2013/12/01 17:02:52 hasufell Exp $
+
+# TODO: convert dev-python/pyode wrt #493042
+
+EAPI=5
+PYTHON_COMPAT=( python2_6 python2_7 )
+inherit eutils python-r1 games
+
+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 ~x86-fbsd"
+IUSE=""
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/pyode
+ dev-python/pygame[${PYTHON_USEDEP}]
+ dev-python/pyopengl[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-gentoo-paths.patch \
+ "${FILESDIR}"/${P}-gllightmodel.patch
+ sed -i \
+ -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
+ accelerator.py || die
+}
+
+src_install() {
+ python_scriptinto "${GAMES_BINDIR}"
+ python_foreach_impl python_newscript accelerator.py accelerator
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins gfx/* snd/* || die "doins failed"
+ dodoc CHANGELOG README
+ make_desktop_entry accelerator
+
+ prepgamesdirs
+}