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-action/formido/
Date: Tue, 24 Jan 2017 23:40:01 +0000 (UTC)	[thread overview]
Message-ID: <1485301157.1ed45a84dabae7aff6833e58e4e718e45bd2c766.wizardedit@gentoo> (raw)

commit:     1ed45a84dabae7aff6833e58e4e718e45bd2c766
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 24 23:39:00 2017 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Tue Jan 24 23:39:17 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ed45a84

games-action/formido: 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-action/formido/formido-1.0.1-r1.ebuild | 48 ++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/games-action/formido/formido-1.0.1-r1.ebuild b/games-action/formido/formido-1.0.1-r1.ebuild
new file mode 100644
index 00000000..3c45a44
--- /dev/null
+++ b/games-action/formido/formido-1.0.1-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A shooting game in the spirit of Phobia games"
+HOMEPAGE="http://www.mhgames.org/oldies/formido/"
+SRC_URI="http://noe.falzon.free.fr/prog/${P}.tar.gz
+	http://koti.mbnet.fi/lsoft/formido/formido-music.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT=0
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl[sound,video]
+	media-libs/sdl-image
+	media-libs/sdl-mixer"
+RDEPEND=${DEPEND}
+
+src_unpack() {
+	unpack ${P}.tar.gz
+	cd "${S}"/data || die
+	unpack ${PN}-music.tar.bz2
+}
+
+src_prepare() {
+	default
+
+	sed -i \
+		-e "s:g++:$(tc-getCXX):" \
+		-e "/^FLAGS=/s:$: ${CXXFLAGS}:" \
+		-e "/^LINKFLAGS=/s:=.*:=${LDFLAGS}:" \
+		-e "s:\${DATDIR}:/usr/share/${PN}/data:" \
+		-e "s:\${DEFCONFIGDIR}:/usr/share/${PN}:" \
+		Makefile || die
+}
+
+src_install() {
+	dobin ${PN}
+	insinto /usr/share/${PN}
+	doins -r ${PN}.cfg data
+	newicon data/icon.dat ${PN}.bmp
+	make_desktop_entry ${PN} Formido /usr/share/pixmaps/${PN}.bmp
+	dodoc README README-1.0.1
+}


             reply	other threads:[~2017-01-24 23:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-24 23:40 Austin English [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-08-15 10:33 [gentoo-commits] repo/gentoo:master commit in: games-action/formido/ Michał Górny
2020-12-15 15:38 David Seifert
2020-12-15 15:38 David Seifert

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=1485301157.1ed45a84dabae7aff6833e58e4e718e45bd2c766.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