From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5CDFB1382EE for ; Tue, 5 Jul 2016 21:18:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9AEA5E099D; Tue, 5 Jul 2016 21:18:31 +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 36A54E099D for ; Tue, 5 Jul 2016 21:18:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 2C524340D8A for ; Tue, 5 Jul 2016 21:18:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E05E97B for ; Tue, 5 Jul 2016 21:18:28 +0000 (UTC) From: "Austin English" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Austin English" Message-ID: <1467753500.8f20d34724292c6f0dac17bb4b6fb5cea350f359.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/armagetronad/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-action/armagetronad/armagetronad-0.2.8.3.3-r1.ebuild X-VCS-Directories: games-action/armagetronad/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: 8f20d34724292c6f0dac17bb4b6fb5cea350f359 X-VCS-Branch: master Date: Tue, 5 Jul 2016 21:18:28 +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: bfd5836d-81fd-42b1-8e93-fd1cf9a0d82f X-Archives-Hash: 5c9d0f8f272cee9a2ab6caeb3f6aee41 commit: 8f20d34724292c6f0dac17bb4b6fb5cea350f359 Author: Austin English gentoo org> AuthorDate: Tue Jul 5 21:18:01 2016 +0000 Commit: Austin English gentoo org> CommitDate: Tue Jul 5 21:18:20 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f20d347 games-action/armagetronad: remove deprecated games eclass Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: portage-2.2.28 .../armagetronad/armagetronad-0.2.8.3.3-r1.ebuild | 70 ++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/games-action/armagetronad/armagetronad-0.2.8.3.3-r1.ebuild b/games-action/armagetronad/armagetronad-0.2.8.3.3-r1.ebuild new file mode 100644 index 0000000..c976a01 --- /dev/null +++ b/games-action/armagetronad/armagetronad-0.2.8.3.3-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils gnome2-utils + +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/libsdl[X,opengl,video] + media-libs/sdl-image[jpeg,png] + virtual/glu + virtual/opengl + sound? ( + media-libs/libsdl[sound] + media-libs/sdl-mixer + ) + )" +DEPEND=${RDEPEND} + +src_prepare() { + default + sed -i -e 's#aa_docdir=.*$#aa_docdir=${docdir}#' configure || die +} + +src_configure() { + # --enable-games just messes up paths + econf \ + --docdir=/usr/share/doc/${PF} \ + $(use_enable dedicated) \ + $(use_enable sound music) \ + --disable-sysinstall \ + --disable-useradd \ + --disable-uninstall \ + --disable-games +} + +src_install() { + # FIXME: is the -j1 needed? https://bugs.gentoo.org/588104 + 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} +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +}