commit:     38421fb08a828adf7375f5290a978ee131b418e2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  2 21:43:28 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul  2 21:49:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38421fb0

games-util/xgamer: update EAPI 6->8

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

 .../{xgamer-0.6.2.ebuild => xgamer-0.6.2-r1.ebuild}    | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/games-util/xgamer/xgamer-0.6.2.ebuild 
b/games-util/xgamer/xgamer-0.6.2-r1.ebuild
similarity index 74%
rename from games-util/xgamer/xgamer-0.6.2.ebuild
rename to games-util/xgamer/xgamer-0.6.2-r1.ebuild
index ab29f4ccbd52..5e9550c89395 100644
--- a/games-util/xgamer/xgamer-0.6.2.ebuild
+++ b/games-util/xgamer/xgamer-0.6.2-r1.ebuild
@@ -1,17 +1,18 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit perl-module
+EAPI=8
+
+inherit optfeature perl-module
 
 DESCRIPTION="A launcher for starting games in a second X session"
 HOMEPAGE="https://code.google.com/p/xgamer/";
 SRC_URI="https://xgamer.googlecode.com/files/${P}.tar.gz";
+S="${WORKDIR}"/${PN}
 
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 RDEPEND=">=dev-lang/perl-5.10
        >=x11-libs/gtk+-2.18:2
@@ -24,10 +25,8 @@ RDEPEND=">=dev-lang/perl-5.10
        dev-perl/glib-perl
        x11-misc/numlockx
        media-gfx/feh"
-DEPEND="${RDEPEND}
-       dev-perl/Module-Build"
-
-S=${WORKDIR}/${PN}
+DEPEND="${RDEPEND}"
+BDEPEND="dev-perl/Module-Build"
 
 PATCHES=(
        "${FILESDIR}"/${P}-desktopfile.patch
@@ -35,6 +34,5 @@ PATCHES=(
 )
 
 pkg_postinst() {
-       elog "optional dependencies:"
-       elog "  x11-wm/openbox (integrates well)"
+       optfeature "Integrates well for window management" x11-wm/openbox
 }

Reply via email to