summaryrefslogtreecommitdiff
path: root/games-board/xskat
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /games-board/xskat
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'games-board/xskat')
-rw-r--r--games-board/xskat/Manifest2
-rw-r--r--games-board/xskat/xskat-4.0-r1.ebuild31
2 files changed, 20 insertions, 13 deletions
diff --git a/games-board/xskat/Manifest b/games-board/xskat/Manifest
index e7e4ab1a4649..bc6cf486eec0 100644
--- a/games-board/xskat/Manifest
+++ b/games-board/xskat/Manifest
@@ -1,3 +1,3 @@
DIST xskat-4.0.tar.gz 179059 BLAKE2B 0494db798eadd17b4b35256560aa82ad8ec239b08f7adcdd86621088676cbc4c7cae0d0a53bb15525d56319ba0549406038cc1e64cdcfefd280d379ffc326a96 SHA512 508d83886063be01aef509fa8050110e599e0120025a94747717fcbae38e2196e8db041296b984fe37895c211519f511cf75dfa6b948c5789e6b37064f3d0c0d
-EBUILD xskat-4.0-r1.ebuild 786 BLAKE2B de831e59e9180898684b1f2ba41adb63a4bb86cda0eec38eac70979ceaca9efafa1761665d58054747b74d957f1fd51b2aece84b9321d5400fe9bbff6daf274e SHA512 17402d201360565001c527201b2153fef04dd848f040e7691eed35c54d86e53848a9cd627d9111e9a3e8e77019c13e052d5126d342c46d0e761eff18a8457a7e
+EBUILD xskat-4.0-r1.ebuild 910 BLAKE2B 069fbf23cf7d3a3c4de217261f23fec4db0362b650e722a67fea5cad8a4ce612c81f90aa4e396b0940b8ccf83b419da1d5c73bf1b9761bbd348e531e2f4a93f0 SHA512 0e4bc398d478c1306d32b25ab47b17b88d04fb1c246434319911e1fd5a9f4814e1fcc308bec9cd81ac153145511ba02781c0d437441616247f8bb4331caa05ab
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-board/xskat/xskat-4.0-r1.ebuild b/games-board/xskat/xskat-4.0-r1.ebuild
index 517567ee1cf1..99f4b01f2de0 100644
--- a/games-board/xskat/xskat-4.0-r1.ebuild
+++ b/games-board/xskat/xskat-4.0-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit toolchain-funcs eutils
+EAPI=7
+
+inherit desktop toolchain-funcs
DESCRIPTION="Famous german card game"
HOMEPAGE="http://www.xskat.de/xskat.html"
@@ -11,28 +12,34 @@ SRC_URI="http://www.xskat.de/${P}.tar.gz"
LICENSE="freedist"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE=""
-RDEPEND="media-fonts/font-misc-misc
+RDEPEND="
+ media-fonts/font-misc-misc
x11-libs/libX11"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
x11-base/xorg-proto
x11-misc/gccmakedep
- x11-misc/imake"
+ >=x11-misc/imake-1.0.8-r1"
-src_prepare() {
- default
- xmkmf -a || die
+src_configure() {
+ CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
+ IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die
}
src_compile() {
- emake CDEBUGFLAGS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}" CC="$(tc-getCC)"
+ local myemakeargs=(
+ CC="$(tc-getCC)"
+ CDEBUGFLAGS="${CFLAGS}"
+ EXTRA_LDOPTIONS="${LDFLAGS}"
+ )
+ emake "${myemakeargs[@]}"
}
src_install() {
dobin xskat
newman xskat.man xskat.6
- dodoc CHANGES README{,.IRC}
newicon icon.xbm ${PN}.xbm
make_desktop_entry ${PN} XSkat /usr/share/pixmaps/${PN}.xbm
+ einstalldocs
}