1 |
commit: 03f0406bc646c295dedb30bf2b28f8b59420504b |
2 |
Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Apr 15 13:39:07 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 16 04:46:51 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03f0406b |
7 |
|
8 |
games-board/xskat: EAPI-7 bump, eutils drop, tidy |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com> |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
games-board/xskat/xskat-4.0-r1.ebuild | 21 ++++++++++++++------- |
14 |
1 file changed, 14 insertions(+), 7 deletions(-) |
15 |
|
16 |
diff --git a/games-board/xskat/xskat-4.0-r1.ebuild b/games-board/xskat/xskat-4.0-r1.ebuild |
17 |
index 20a59e4c87b..99f4b01f2de 100644 |
18 |
--- a/games-board/xskat/xskat-4.0-r1.ebuild |
19 |
+++ b/games-board/xskat/xskat-4.0-r1.ebuild |
20 |
@@ -1,8 +1,9 @@ |
21 |
# Copyright 1999-2021 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=6 |
25 |
-inherit toolchain-funcs eutils |
26 |
+EAPI=7 |
27 |
+ |
28 |
+inherit desktop toolchain-funcs |
29 |
|
30 |
DESCRIPTION="Famous german card game" |
31 |
HOMEPAGE="http://www.xskat.de/xskat.html" |
32 |
@@ -11,11 +12,12 @@ SRC_URI="http://www.xskat.de/${P}.tar.gz" |
33 |
LICENSE="freedist" |
34 |
SLOT="0" |
35 |
KEYWORDS="~amd64 ~ppc64 ~x86" |
36 |
-IUSE="" |
37 |
|
38 |
-RDEPEND="media-fonts/font-misc-misc |
39 |
+RDEPEND=" |
40 |
+ media-fonts/font-misc-misc |
41 |
x11-libs/libX11" |
42 |
-DEPEND="${RDEPEND} |
43 |
+DEPEND="${RDEPEND}" |
44 |
+BDEPEND=" |
45 |
x11-base/xorg-proto |
46 |
x11-misc/gccmakedep |
47 |
>=x11-misc/imake-1.0.8-r1" |
48 |
@@ -26,13 +28,18 @@ src_configure() { |
49 |
} |
50 |
|
51 |
src_compile() { |
52 |
- emake CDEBUGFLAGS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}" CC="$(tc-getCC)" |
53 |
+ local myemakeargs=( |
54 |
+ CC="$(tc-getCC)" |
55 |
+ CDEBUGFLAGS="${CFLAGS}" |
56 |
+ EXTRA_LDOPTIONS="${LDFLAGS}" |
57 |
+ ) |
58 |
+ emake "${myemakeargs[@]}" |
59 |
} |
60 |
|
61 |
src_install() { |
62 |
dobin xskat |
63 |
newman xskat.man xskat.6 |
64 |
- dodoc CHANGES README{,.IRC} |
65 |
newicon icon.xbm ${PN}.xbm |
66 |
make_desktop_entry ${PN} XSkat /usr/share/pixmaps/${PN}.xbm |
67 |
+ einstalldocs |
68 |
} |