commit:     f78f8707de795f7246be1d67226d060f8e0156f9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 09:59:39 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 10:10:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f78f8707

games-misc/gBhed: port to EAPI 7, eutils--, desktop++

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

 games-misc/gBhed/gBhed-0.17-r1.ebuild | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/games-misc/gBhed/gBhed-0.17-r1.ebuild 
b/games-misc/gBhed/gBhed-0.17-r1.ebuild
index 4386d6edb2f..30e33c085cc 100644
--- a/games-misc/gBhed/gBhed-0.17-r1.ebuild
+++ b/games-misc/gBhed/gBhed-0.17-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit eutils
+EAPI=7
+
+inherit desktop
 
 DESCRIPTION="An Al Bhed translator"
 HOMEPAGE="http://liquidchile.net/software/gbhed/";
@@ -14,7 +15,7 @@ KEYWORDS="~amd64 ~x86"
 IUSE="gtk"
 
 DEPEND="gtk? ( x11-libs/gtk+:2 )"
-RDEPEND=${DEPEND}
+RDEPEND="${DEPEND}"
 
 src_prepare() {
        default
@@ -36,7 +37,9 @@ src_install() {
        if use gtk ; then
                insinto /usr/share/${PN}/pixmaps
                doins pixmaps/*.{jpg,png,xpm}
+
                newicon pixmaps/gbhed48.png ${PN}.png
+
                make_desktop_entry gbhed ${PN}
                doman doc/gbhed.1
        fi

Reply via email to