public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Austin English" <wizardedit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/rott/
Date: Tue, 14 Feb 2017 23:41:30 +0000 (UTC)	[thread overview]
Message-ID: <1487115678.452c7c70d4969cd3e80e4aa609047a3ef8147ddc.wizardedit@gentoo> (raw)

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
+}


             reply	other threads:[~2017-02-14 23:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-14 23:41 Austin English [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-06  3:37 [gentoo-commits] repo/gentoo:master commit in: games-fps/rott/ Sam James
2022-04-02  9:03 James Le Cuirot
2015-12-07 10:02 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1487115678.452c7c70d4969cd3e80e4aa609047a3ef8147ddc.wizardedit@gentoo \
    --to=wizardedit@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox