[gentoo-commits] repo/gentoo:master commit in: games-arcade/bomns/files/, games-arcade/bomns/

2021-04-04 Thread Sam James
commit: 880b7e4e0c805a1c60899a81c449453a30519b98
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr  4 00:37:23 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr  4 06:32:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=880b7e4e

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

Signed-off-by: Sam James  gentoo.org>

 ...{bomns-0.99.2.ebuild => bomns-0.99.2-r1.ebuild} | 35 +-
 games-arcade/bomns/files/bomns-0.99.2-fpe.patch|  4 +--
 2 files changed, 23 insertions(+), 16 deletions(-)

diff --git a/games-arcade/bomns/bomns-0.99.2.ebuild 
b/games-arcade/bomns/bomns-0.99.2-r1.ebuild
similarity index 71%
rename from games-arcade/bomns/bomns-0.99.2.ebuild
rename to games-arcade/bomns/bomns-0.99.2-r1.ebuild
index 37632fd1375..bd574f11318 100644
--- a/games-arcade/bomns/bomns-0.99.2.ebuild
+++ b/games-arcade/bomns/bomns-0.99.2-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 autotools flag-o-matic games
+EAPI=7
+
+inherit autotools flag-o-matic
 
 DESCRIPTION="A fast-paced multiplayer deathmatch arcade game"
 HOMEPAGE="http://greenridge.sourceforge.net;
@@ -13,36 +14,42 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="gtk editor"
 
-DEPEND="media-libs/libsdl[video]
+DEPEND="
+   media-libs/libsdl[video]
media-libs/sdl-mixer
-   gtk? ( x11-libs/gtk+:2 )"
-RDEPEND=${DEPEND}
+   gtk? ( x11-libs/gtk+:2 )
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-fpe.patch
+)
 
 src_prepare() {
+   default
+
sed -i \
-e "/appicondir/s:\$(prefix):/usr:" \
-e "/desktopdir/s:\$(prefix):/usr:" \
$(find icons -name Makefile.am) \
Makefile.am || die
+
sed -i \
-   -e "s:\$*[({]prefix[})]/share:${GAMES_DATADIR}:" \
+   -e "s:\$*[({]prefix[})]/share:/var/lib/:" \
configure.in \
graphics/Makefile.am \
levels/Makefile.am \
sounds/Makefile.am || die
-   epatch "${FILESDIR}"/${P}-fpe.patch
+
+   mv configure.{in,ac} || die
+
eautoreconf
 }
 
 src_configure() {
filter-flags -fforce-addr
-   egamesconf \
+   econf \
--disable-launcher1 \
$(use_enable gtk launcher2) \
$(use_enable editor)
 }
-
-src_install() {
-   default
-   prepgamesdirs
-}

diff --git a/games-arcade/bomns/files/bomns-0.99.2-fpe.patch 
b/games-arcade/bomns/files/bomns-0.99.2-fpe.patch
index 3a9e39c241a..273212a4f6e 100644
--- a/games-arcade/bomns/files/bomns-0.99.2-fpe.patch
+++ b/games-arcade/bomns/files/bomns-0.99.2-fpe.patch
@@ -1,5 +1,5 @@
 src/bomns.cpp.old  2015-01-03 18:44:59.947689613 +0100
-+++ src/bomns.cpp  2015-01-03 18:47:29.854777276 +0100
+--- a/src/bomns.cpp
 b/src/bomns.cpp
 @@ -432,7 +432,10 @@
if(g_bShowFps)
{



[gentoo-commits] repo/gentoo:master commit in: games-arcade/bomns/

2015-12-18 Thread Michael Sterrett
commit: cb5091560e944de0f79849358751aa28039e7430
Author: Michael Sterrett  gentoo  org>
AuthorDate: Fri Dec 18 09:30:58 2015 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Fri Dec 18 09:30:58 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb509156

EAPI=5; minor tidying

Package-Manager: portage-2.2.24

 games-arcade/bomns/bomns-0.99.2.ebuild | 11 ---
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/games-arcade/bomns/bomns-0.99.2.ebuild 
b/games-arcade/bomns/bomns-0.99.2.ebuild
index 83010e3..9a4ca17 100644
--- a/games-arcade/bomns/bomns-0.99.2.ebuild
+++ b/games-arcade/bomns/bomns-0.99.2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 inherit autotools flag-o-matic games
 
 DESCRIPTION="A fast-paced multiplayer deathmatch arcade game"
@@ -17,22 +17,20 @@ IUSE="gtk editor"
 DEPEND="media-libs/libsdl[video]
media-libs/sdl-mixer
gtk? ( x11-libs/gtk+:2 )"
-RDEPEND="${DEPEND}"
+RDEPEND=${DEPEND}
 
 src_prepare() {
sed -i \
-e "/appicondir/s:\$(prefix):/usr:" \
-e "/desktopdir/s:\$(prefix):/usr:" \
$(find icons -name Makefile.am) \
-   Makefile.am \
-   || die "sed failed"
+   Makefile.am || die
sed -i \
-e "s:\$*[({]prefix[})]/share:${GAMES_DATADIR}:" \
configure.in \
graphics/Makefile.am \
levels/Makefile.am \
-   sounds/Makefile.am \
-   || die "sed failed"
+   sounds/Makefile.am || die
epatch "${FILESDIR}"/${P}-fpe.patch
eautoreconf
 }
@@ -40,7 +38,6 @@ src_prepare() {
 src_configure() {
filter-flags -fforce-addr
egamesconf \
-   --disable-dependency-tracking \
--disable-launcher1 \
$(use_enable gtk launcher2) \
$(use_enable editor)