summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-02 22:43:28 +0100
committerSam James <sam@gentoo.org>2022-07-02 22:49:51 +0100
commit38421fb08a828adf7375f5290a978ee131b418e2 (patch)
tree9667e4821832a1180393af2dc79ac94d7f1c8ccc /games-util
parentdev-util/diffoscope: drop 207, 214-r1, 216 (diff)
downloadgentoo-38421fb08a828adf7375f5290a978ee131b418e2.tar.gz
gentoo-38421fb08a828adf7375f5290a978ee131b418e2.tar.bz2
gentoo-38421fb08a828adf7375f5290a978ee131b418e2.zip
games-util/xgamer: update EAPI 6->8
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-util')
-rw-r--r--games-util/xgamer/xgamer-0.6.2-r1.ebuild (renamed from games-util/xgamer/xgamer-0.6.2.ebuild)18
1 files 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
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
}