From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-931433-garchives=archives.gentoo.org@lists.gentoo.org> 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 10263139694 for <garchives@archives.gentoo.org>; Tue, 14 Feb 2017 23:41:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 15FA721C130; Tue, 14 Feb 2017 23:41:38 +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 EA6BE21C130 for <gentoo-commits@lists.gentoo.org>; Tue, 14 Feb 2017 23:41:37 +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 0FEF134163E for <gentoo-commits@lists.gentoo.org>; Tue, 14 Feb 2017 23:41:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AC715480F for <gentoo-commits@lists.gentoo.org>; Tue, 14 Feb 2017 23:41:30 +0000 (UTC) From: "Austin English" <wizardedit@gentoo.org> 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" <wizardedit@gentoo.org> Message-ID: <1487115678.452c7c70d4969cd3e80e4aa609047a3ef8147ddc.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/rott/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-fps/rott/rott-1.1.2-r1.ebuild X-VCS-Directories: games-fps/rott/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: 452c7c70d4969cd3e80e4aa609047a3ef8147ddc X-VCS-Branch: master Date: Tue, 14 Feb 2017 23:41:30 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e58dd389-5adc-4e3e-a35c-6d310997be60 X-Archives-Hash: f65d59bfdcfe7819d4c8d41e02f97323 commit: 452c7c70d4969cd3e80e4aa609047a3ef8147ddc Author: Austin English <wizardedit <AT> gentoo <DOT> org> AuthorDate: Thu Feb 9 23:09:31 2017 +0000 Commit: Austin English <wizardedit <AT> gentoo <DOT> org> CommitDate: Tue Feb 14 23:41:18 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=452c7c70 games-fps/rott: remove deprecated games eclass Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: Portage-2.3.2, Repoman-2.3.1 games-fps/rott/rott-1.1.2-r1.ebuild | 56 +++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/games-fps/rott/rott-1.1.2-r1.ebuild b/games-fps/rott/rott-1.1.2-r1.ebuild new file mode 100644 index 0000000000..d14d5f9918 --- /dev/null +++ b/games-fps/rott/rott-1.1.2-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils + +DESCRIPTION="Rise of the Triad for Linux!" +HOMEPAGE="http://www.icculus.org/rott/" +SRC_URI="http://www.icculus.org/rott/releases/${P}.tar.gz + demo? ( http://filesingularity.timedoctor.org/swdata.zip )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="demo" + +RDEPEND="media-libs/libsdl[sound,joystick,video] + media-libs/sdl-mixer" +DEPEND="${RDEPEND} + app-arch/unzip" + +S=${WORKDIR}/${P}/rott + +src_prepare() { + default + + sed -i \ + -e '/^CC =/d' \ + Makefile || die "sed failed" + emake clean +} + +src_compile() { + emake -j1 \ + EXTRACFLAGS="${CFLAGS} -DDATADIR=\\\"/usr/share/${PN}/\\\"" \ + SHAREWARE=$(usex demo "1" "0") +} + +src_install() { + dobin rott + dodoc ../doc/*.txt ../README + doman ../doc/rott.6 + if use demo ; then + cd "${WORKDIR}" || die + insinto /usr/share/${PN} + doins *.dmo huntbgin.* remote1.rts + fi +} + +pkg_postinst() { + if ! use demo ; then + elog "To play the full version, just copy the" + elog "data files to /usr/share/${PN}/" + fi +}