summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-11-07 18:48:05 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-11-07 18:48:05 +0000
commita3bd78067bf16c19f940419a41696d7484671500 (patch)
tree73dc7a104453798b262fe147da109bb3ab910553 /games-action
parentVersion bumps (diff)
downloadgentoo-2-a3bd78067bf16c19f940419a41696d7484671500.tar.gz
gentoo-2-a3bd78067bf16c19f940419a41696d7484671500.tar.bz2
gentoo-2-a3bd78067bf16c19f940419a41696d7484671500.zip
initial import wrt #481516
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'games-action')
-rw-r--r--games-action/armagetronad/ChangeLog10
-rw-r--r--games-action/armagetronad/Manifest4
-rw-r--r--games-action/armagetronad/armagetronad-0.2.8.3.2.ebuild76
-rw-r--r--games-action/armagetronad/metadata.xml9
4 files changed, 99 insertions, 0 deletions
diff --git a/games-action/armagetronad/ChangeLog b/games-action/armagetronad/ChangeLog
new file mode 100644
index 000000000000..4819c3ec896d
--- /dev/null
+++ b/games-action/armagetronad/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-action/armagetronad
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/armagetronad/ChangeLog,v 1.23 2013/11/07 18:48:05 hasufell Exp $
+
+*armagetronad-0.2.8.3.2 (07 Nov 2013)
+
+ 07 Nov 2013; Julian Ospald <hasufell@gentoo.org>
+ +armagetronad-0.2.8.3.2.ebuild, +metadata.xml:
+ initial import wrt #481516
+
diff --git a/games-action/armagetronad/Manifest b/games-action/armagetronad/Manifest
new file mode 100644
index 000000000000..6fb837544af6
--- /dev/null
+++ b/games-action/armagetronad/Manifest
@@ -0,0 +1,4 @@
+DIST armagetronad-0.2.8.3.2.src.tar.bz2 1841407 SHA256 f444e481de94e6c0e3933c709d46effd2adfe823f5ef44768adcc8003b8ba7c5 SHA512 ffe16d55d4ea3c9e3f4f8828a9ffb09274b20a33c6d5c91cccbe846fa93f7d1d78e565db3c9403debf9f7bfde76322477a84349d85b475ed20c184da281107a4 WHIRLPOOL f04902c7bf3b13ec35497202a658ef96846b59d4245c72a17793b186d06a8f2d2dc1960b563b785cfb46aa9e2252a8ba22436df44e4ccfa2e8c872b4eb51eb4a
+EBUILD armagetronad-0.2.8.3.2.ebuild 1524 SHA256 b792fde7670b3df2c9d1fe34c880bb5687a7206815f5707b068e6e4d457e7308 SHA512 4f1953274105dbc608f0da9acfcbc6b66715825bc49515820c04db0482c7dd5854b681ac25287412bcef08732e7b8a95fb6498b5651e62adb629968418a9897e WHIRLPOOL 3de7ef9537860617cad10516cfc4fb2970aa0b3e3f4e212409ca09a33f8e9e53c7f831640dcb56e8b88c1e0bdd42b39d8ba8757cf8c94eb8ccdb98c387cef3fa
+MISC ChangeLog 295 SHA256 a69d3770b19ce44197f8df82b4a7fe74a9fd58282398bd98bcab47eb0b60ce83 SHA512 78f83b85246e0087a6301a3e626b5ccaa89d95d2b5284eadd8abda3fc063bba13c7f34913152327ae5851c6e238087c7e38c8f1ad5e3781be87203580b9cefbc WHIRLPOOL adf1d0e1f14aefaa4cb8101b8a50fec0f31441b74b76d627992ec53a9fb23ff0ba2185514b5f1a09a9ea7229f0af8817bfe894228c9093e43005a86531e53513
+MISC metadata.xml 254 SHA256 42d769831f9be3fb5b0972b75bc3b1e4765416161881d7303cb637abbe03d6dd SHA512 2a78f67329bbc7aab1b971330a49fe7a0812e95f8775a91e6b97d4751b8b6fd92510ecf1bee9bd43dfb376cb0a71830a74e2b9f9212168168a2a7e22b223ae31 WHIRLPOOL 3d71526e2e1ce18ca62385c234302e0694490b40f263e456ff4166e1156279c97e3b58fb4b1959c69ce01d96bc9e1e9eda57e9f596a6155e53bb3f1f496be71e
diff --git a/games-action/armagetronad/armagetronad-0.2.8.3.2.ebuild b/games-action/armagetronad/armagetronad-0.2.8.3.2.ebuild
new file mode 100644
index 000000000000..13f7175135ae
--- /dev/null
+++ b/games-action/armagetronad/armagetronad-0.2.8.3.2.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/armagetronad/armagetronad-0.2.8.3.2.ebuild,v 1.1 2013/11/07 18:48:05 hasufell Exp $
+
+EAPI=5
+
+inherit eutils gnome2-utils games
+
+DESCRIPTION="Fast-paced 3D lightcycle game based on Tron"
+HOMEPAGE="http://armagetronad.org/"
+SRC_URI="http://launchpad.net/armagetronad/${PV:0:5}/${PV}/+download/armagetronad-${PV}.src.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dedicated sound"
+
+RDEPEND="
+ dev-libs/libxml2
+ !dedicated? (
+ media-libs/libpng:0
+ media-libs/sdl-image[jpeg,png]
+ virtual/glu
+ virtual/opengl
+ sound? (
+ media-libs/libsdl[X,audio,opengl,video]
+ media-libs/sdl-mixer
+ )
+ !sound? ( media-libs/libsdl[X,opengl,video] )
+ )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ sed -i \
+ -e 's/"png_check_sig"/"png_sig_cmp"/' \
+ -e 's#aa_docdir=.*$#aa_docdir=${docdir}#' \
+ configure || die
+}
+
+src_configure() {
+ # --enable-games just messes up paths
+ egamesconf \
+ --docdir=/usr/share/doc/${PF} \
+ $(use_enable dedicated) \
+ $(use_enable sound music) \
+ --disable-sysinstall \
+ --disable-useradd \
+ --disable-uninstall \
+ --disable-games
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install
+ einstalldocs
+
+ # misplaced desktop-file/icons
+ rm -rf "${ED%/}${GAMES_DATADIR}"/armagetronad/desktop
+ doicon -s 48 desktop/icons/large/armagetronad.png
+ make_desktop_entry ${PN}
+
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-action/armagetronad/metadata.xml b/games-action/armagetronad/metadata.xml
new file mode 100644
index 000000000000..ee67c3092f58
--- /dev/null
+++ b/games-action/armagetronad/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <maintainer>
+ <email>hasufell@gentoo.org</email>
+ <name>Julian Ospald</name>
+ </maintainer>
+</pkgmetadata>