commit:     265cc5e33337fe455180b07b9982160d6b222a19
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 02:59:22 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 06:32:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=265cc5e3

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

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

 ...ace-1.9.2.ebuild => burgerspace-1.9.2-r1.ebuild} | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/games-arcade/burgerspace/burgerspace-1.9.2.ebuild 
b/games-arcade/burgerspace/burgerspace-1.9.2-r1.ebuild
similarity index 82%
rename from games-arcade/burgerspace/burgerspace-1.9.2.ebuild
rename to games-arcade/burgerspace/burgerspace-1.9.2-r1.ebuild
index 2dea3767701..11de206aa18 100644
--- a/games-arcade/burgerspace/burgerspace-1.9.2.ebuild
+++ b/games-arcade/burgerspace/burgerspace-1.9.2-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit autotools games
+EAPI=7
+
+inherit autotools
 
 DESCRIPTION="Clone of the 1982 BurgerTime video game by Data East"
 HOMEPAGE="https://perso.b2b2c.ca/~sarrazip/dev/burgerspace.html";
@@ -12,36 +13,40 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="network"
-RESTRICT="test"  # doesn't really test anything
+RESTRICT="test" # doesn't really test anything
 
 RDEPEND=">=dev-games/flatzebra-0.1.6"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
+       default
+
        sed -i \
                -e "/^pkgsounddir/ s:sounds.*:\$(PACKAGE)/sounds:" \
                -e "/^desktopentrydir/ s:=.*:=/usr/share/applications:" \
                -e "/^pixmapdir/ s:=.*:=/usr/share/pixmaps:" \
                src/Makefile.am \
                || die
+
        sed -i \
                -e "/Categories/s:Application;::" \
                -e "/Icon/s:\..*::" \
                -e "/Terminal/s:0:false:" \
                src/burgerspace.desktop.in \
                || die
+
        eautoreconf
 }
 
 src_configure() {
-       egamesconf \
+       econf \
                $(use_with network)
 }
 
 src_install() {
        emake -C src DESTDIR="${D}" install
+
        doman doc/${PN}.6
        dodoc AUTHORS NEWS README THANKS
-       prepgamesdirs
 }

Reply via email to