public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-arcade/betna/
@ 2015-12-18 10:13 Michael Sterrett
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Sterrett @ 2015-12-18 10:13 UTC (permalink / raw
  To: gentoo-commits

commit:     5ac25f1e3e2a66fe46a003a642289ebfddaff101
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 18 09:29:29 2015 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Fri Dec 18 09:29:29 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ac25f1e

EAPI=5

Package-Manager: portage-2.2.24

 games-arcade/betna/betna-0.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-arcade/betna/betna-0.9.7.ebuild b/games-arcade/betna/betna-0.9.7.ebuild
index d34055d..90db239 100644
--- a/games-arcade/betna/betna-0.9.7.ebuild
+++ b/games-arcade/betna/betna-0.9.7.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 inherit eutils games
 
 DESCRIPTION="Defend your volcano from the attacking ants by firing rocks/bullets at them"


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/betna/
@ 2021-04-04  6:33 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2021-04-04  6:33 UTC (permalink / raw
  To: gentoo-commits

commit:     d6dfb128d98288dbf9d8b2a1be24cf1acb766e36
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 00:42:25 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 06:32:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6dfb128

games-arcade/betna: port to EAPI 7, games.eclass--

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{betna-0.9.7.ebuild => betna-0.9.7-r1.ebuild}  | 26 ++++++++++++++--------
 1 file changed, 17 insertions(+), 9 deletions(-)

diff --git a/games-arcade/betna/betna-0.9.7.ebuild b/games-arcade/betna/betna-0.9.7-r1.ebuild
similarity index 80%
rename from games-arcade/betna/betna-0.9.7.ebuild
rename to games-arcade/betna/betna-0.9.7-r1.ebuild
index 57c0d775c4d..0aaf6590200 100644
--- a/games-arcade/betna/betna-0.9.7.ebuild
+++ b/games-arcade/betna/betna-0.9.7-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils games
+EAPI=7
+
+inherit desktop toolchain-funcs
 
 DESCRIPTION="Defend your volcano from the attacking ants by firing rocks/bullets at them"
 HOMEPAGE="http://koti.mbnet.fi/makegho/c/betna/"
@@ -11,15 +12,16 @@ SRC_URI="http://koti.mbnet.fi/makegho/c/betna/${P}.tgz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 DEPEND="media-libs/libsdl[video]"
 RDEPEND="${DEPEND}"
 
 src_prepare() {
+	default
+
 	sed -i \
 		-e '/blobprintf.*char msg/s/char msg/const char msg/' \
-		-e "s:images/:${GAMES_DATADIR}/${PN}/:" \
+		-e "s:images/:/var/lib/${PN}/:" \
 		src/main.cpp || die
 
 	sed -i \
@@ -30,17 +32,23 @@ src_prepare() {
 		Makefile || die
 }
 
+src_configure() {
+	tc-export CXX
+}
+
 src_compile() {
 	emake clean
 	emake
 }
 
 src_install() {
-	dogamesbin betna
-	insinto "${GAMES_DATADIR}"/${PN}
+	dobin betna
+	dodoc README Q\&A
+
+	insinto /var/lib/${PN}
 	doins images/*
+
 	newicon images/target.bmp ${PN}.bmp
+
 	make_desktop_entry ${PN} Betna /usr/share/pixmaps/${PN}.bmp
-	dodoc README Q\&A
-	prepgamesdirs
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-04  6:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-04  6:33 [gentoo-commits] repo/gentoo:master commit in: games-arcade/betna/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2015-12-18 10:13 Michael Sterrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox