diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2016-04-13 00:18:34 -0400 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2016-04-13 00:18:34 -0400 |
commit | 89ec8e0f28db5db908d1e53075f161c7ced08d7e (patch) | |
tree | b0df7b902e3ea3b7ab0ebba93170779ac7a49292 /games-action | |
parent | www-plugins/chrome-binary-plugins: automated update (diff) | |
download | gentoo-89ec8e0f28db5db908d1e53075f161c7ced08d7e.tar.gz gentoo-89ec8e0f28db5db908d1e53075f161c7ced08d7e.tar.bz2 gentoo-89ec8e0f28db5db908d1e53075f161c7ced08d7e.zip |
games-action/armagetronad: version bump
Package-Manager: portage-2.2.26
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/armagetronad/Manifest | 1 | ||||
-rw-r--r-- | games-action/armagetronad/armagetronad-0.2.8.3.3.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/games-action/armagetronad/Manifest b/games-action/armagetronad/Manifest index 30678d89d9b0..39565fbf3307 100644 --- a/games-action/armagetronad/Manifest +++ b/games-action/armagetronad/Manifest @@ -1 +1,2 @@ DIST armagetronad-0.2.8.3.2.src.tar.bz2 1841407 SHA256 f444e481de94e6c0e3933c709d46effd2adfe823f5ef44768adcc8003b8ba7c5 SHA512 ffe16d55d4ea3c9e3f4f8828a9ffb09274b20a33c6d5c91cccbe846fa93f7d1d78e565db3c9403debf9f7bfde76322477a84349d85b475ed20c184da281107a4 WHIRLPOOL f04902c7bf3b13ec35497202a658ef96846b59d4245c72a17793b186d06a8f2d2dc1960b563b785cfb46aa9e2252a8ba22436df44e4ccfa2e8c872b4eb51eb4a +DIST armagetronad-0.2.8.3.3.src.tar.bz2 1857868 SHA256 ddf2d781b134392e9667f17e0319ae2117c20e6eb7738e3cacd701f3608ea5e8 SHA512 05dd7db10efdac0e681133d07384b0e3c2edea328433f1d906e36b5f70960bf502df8d496967981b6bd67e1a119af9a5bbd71b0c824f790921deb3165165dc3f WHIRLPOOL 731b3e8d8647948e016e4dbfa3733f666838d0b4e47f997e149b947741d3b566d9aa1492dc570064e0005c92b0c04f4c74ad4a0278ff7018b028d9c431af135d diff --git a/games-action/armagetronad/armagetronad-0.2.8.3.3.ebuild b/games-action/armagetronad/armagetronad-0.2.8.3.3.ebuild new file mode 100644 index 000000000000..c292cc139f24 --- /dev/null +++ b/games-action/armagetronad/armagetronad-0.2.8.3.3.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils gnome2-utils games + +DESCRIPTION="Fast-paced 3D lightcycle game based on Tron" +HOMEPAGE="http://armagetronad.org/" +SRC_URI="https://launchpad.net/armagetronad/${PV:0:5}/${PV:0:7}.x/+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 + media-libs/libsdl[X,opengl,video] + sound? ( + media-libs/libsdl[sound] + media-libs/sdl-mixer + ) + )" +DEPEND=${RDEPEND} + +src_prepare() { + sed -i -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 +} |