From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8968A59CB1 for ; Wed, 13 Apr 2016 04:19:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F400421C001; Wed, 13 Apr 2016 04:19:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4138F21C001 for ; Wed, 13 Apr 2016 04:19:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 819DF340928 for ; Wed, 13 Apr 2016 04:19:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CE138C8 for ; Wed, 13 Apr 2016 04:19:08 +0000 (UTC) From: "Michael Sterrett" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Sterrett" Message-ID: <1460521114.89ec8e0f28db5db908d1e53075f161c7ced08d7e.mr_bones_@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/armagetronad/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-action/armagetronad/Manifest games-action/armagetronad/armagetronad-0.2.8.3.3.ebuild X-VCS-Directories: games-action/armagetronad/ X-VCS-Committer: mr_bones_ X-VCS-Committer-Name: Michael Sterrett X-VCS-Revision: 89ec8e0f28db5db908d1e53075f161c7ced08d7e X-VCS-Branch: master Date: Wed, 13 Apr 2016 04:19:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1d39fcac-e1ab-4a89-8dad-e31dc8538017 X-Archives-Hash: 2cb14d8b4196acc325825ca4790656c9 commit: 89ec8e0f28db5db908d1e53075f161c7ced08d7e Author: Michael Sterrett gentoo org> AuthorDate: Wed Apr 13 04:18:34 2016 +0000 Commit: Michael Sterrett gentoo org> CommitDate: Wed Apr 13 04:18:34 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89ec8e0f games-action/armagetronad: version bump Package-Manager: portage-2.2.26 games-action/armagetronad/Manifest | 1 + .../armagetronad/armagetronad-0.2.8.3.3.ebuild | 72 ++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/games-action/armagetronad/Manifest b/games-action/armagetronad/Manifest index 30678d8..39565fb 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 0000000..c292cc1 --- /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 +}