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 22B10138330 for ; Mon, 3 Oct 2016 19:12:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64E55E0BC5; Mon, 3 Oct 2016 19:12:52 +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 4BE71E0BC5 for ; Mon, 3 Oct 2016 19:12:52 +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 BA329340F00 for ; Mon, 3 Oct 2016 19:12:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 59AA924A7 for ; Mon, 3 Oct 2016 19:12:49 +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: <1475521877.f927d143ef7c3874c3f305a58116eb25ae92c55b.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-sports/trigger/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-sports/trigger/trigger-0.6.1-r1.ebuild X-VCS-Directories: games-sports/trigger/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: f927d143ef7c3874c3f305a58116eb25ae92c55b X-VCS-Branch: master Date: Mon, 3 Oct 2016 19:12:49 +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: d27a1e6a-bc22-4f53-8653-51028c365f7d X-Archives-Hash: bf761525d5b416e28e8db8257176579f commit: f927d143ef7c3874c3f305a58116eb25ae92c55b Author: Austin English gentoo org> AuthorDate: Mon Oct 3 19:10:44 2016 +0000 Commit: Austin English gentoo org> CommitDate: Mon Oct 3 19:11:17 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f927d143 games-sports/trigger: remove deprecated games eclass Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: portage-2.3.0 games-sports/trigger/trigger-0.6.1-r1.ebuild | 60 ++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/games-sports/trigger/trigger-0.6.1-r1.ebuild b/games-sports/trigger/trigger-0.6.1-r1.ebuild new file mode 100644 index 00000000..95b3492 --- /dev/null +++ b/games-sports/trigger/trigger-0.6.1-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils + +MY_PN=${PN}-rally +MY_P=${MY_PN}-${PV} +DESCRIPTION="Free OpenGL rally car racing game" +HOMEPAGE="http://www.positro.net/trigger/" +SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=" + dev-games/physfs + media-libs/freealut + media-libs/libsdl + media-libs/openal + media-libs/sdl-image[jpeg,png] + media-libs/sdl-mixer + virtual/glu + virtual/opengl" +DEPEND="${RDEPEND} + dev-util/ftjam" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + # Otherwise build fails with: + # ...skipped trigger for lack of libpengine.a... + tc-export AR +} + +src_configure() { + econf --datadir=/usr/share/games/${PN} +} + +src_compile() { + AR="${AR} cru" jam -dx -qa || die + +} + +src_install() { + dobin ${PN} + insinto /usr/share/games/${PN} + doins -r data/* + newicon data/textures/life_helmet.png ${PN}.png + make_desktop_entry ${PN} Trigger + dodoc doc/*.txt +} + +pkg_postinst() { + elog "After running ${PN} for the first time, a config file is" + elog "available in ~/.trigger/trigger.config" +}