1 |
commit: 38421fb08a828adf7375f5290a978ee131b418e2 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 2 21:43:28 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 2 21:49:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38421fb0 |
7 |
|
8 |
games-util/xgamer: update EAPI 6->8 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
.../{xgamer-0.6.2.ebuild => xgamer-0.6.2-r1.ebuild} | 18 ++++++++---------- |
13 |
1 file changed, 8 insertions(+), 10 deletions(-) |
14 |
|
15 |
diff --git a/games-util/xgamer/xgamer-0.6.2.ebuild b/games-util/xgamer/xgamer-0.6.2-r1.ebuild |
16 |
similarity index 74% |
17 |
rename from games-util/xgamer/xgamer-0.6.2.ebuild |
18 |
rename to games-util/xgamer/xgamer-0.6.2-r1.ebuild |
19 |
index ab29f4ccbd52..5e9550c89395 100644 |
20 |
--- a/games-util/xgamer/xgamer-0.6.2.ebuild |
21 |
+++ b/games-util/xgamer/xgamer-0.6.2-r1.ebuild |
22 |
@@ -1,17 +1,18 @@ |
23 |
-# Copyright 1999-2017 Gentoo Foundation |
24 |
+# Copyright 1999-2022 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI=6 |
28 |
-inherit perl-module |
29 |
+EAPI=8 |
30 |
+ |
31 |
+inherit optfeature perl-module |
32 |
|
33 |
DESCRIPTION="A launcher for starting games in a second X session" |
34 |
HOMEPAGE="https://code.google.com/p/xgamer/" |
35 |
SRC_URI="https://xgamer.googlecode.com/files/${P}.tar.gz" |
36 |
+S="${WORKDIR}"/${PN} |
37 |
|
38 |
LICENSE="GPL-3" |
39 |
SLOT="0" |
40 |
KEYWORDS="~amd64 ~x86" |
41 |
-IUSE="" |
42 |
|
43 |
RDEPEND=">=dev-lang/perl-5.10 |
44 |
>=x11-libs/gtk+-2.18:2 |
45 |
@@ -24,10 +25,8 @@ RDEPEND=">=dev-lang/perl-5.10 |
46 |
dev-perl/glib-perl |
47 |
x11-misc/numlockx |
48 |
media-gfx/feh" |
49 |
-DEPEND="${RDEPEND} |
50 |
- dev-perl/Module-Build" |
51 |
- |
52 |
-S=${WORKDIR}/${PN} |
53 |
+DEPEND="${RDEPEND}" |
54 |
+BDEPEND="dev-perl/Module-Build" |
55 |
|
56 |
PATCHES=( |
57 |
"${FILESDIR}"/${P}-desktopfile.patch |
58 |
@@ -35,6 +34,5 @@ PATCHES=( |
59 |
) |
60 |
|
61 |
pkg_postinst() { |
62 |
- elog "optional dependencies:" |
63 |
- elog " x11-wm/openbox (integrates well)" |
64 |
+ optfeature "Integrates well for window management" x11-wm/openbox |
65 |
} |