summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-12-16 17:43:02 -0500
committerIonen Wolkens <ionen@gentoo.org>2021-12-16 17:51:25 -0500
commit2f52f3b6155847320d8998c5fbe640d216f8a8e2 (patch)
tree39219ce4a9a8a5af9bf2c91b470ac0abc73ce8a6 /games-board/xskat
parentapp-misc/fhem: add 6.1 (diff)
downloadgentoo-2f52f3b6155847320d8998c5fbe640d216f8a8e2.tar.gz
gentoo-2f52f3b6155847320d8998c5fbe640d216f8a8e2.tar.bz2
gentoo-2f52f3b6155847320d8998c5fbe640d216f8a8e2.zip
games-board/xskat: EAPI7->8, remove imake, use valid icon format
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-board/xskat')
-rw-r--r--games-board/xskat/Manifest1
-rw-r--r--games-board/xskat/xskat-4.0-r2.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/games-board/xskat/Manifest b/games-board/xskat/Manifest
index b6f7d17f04fc..e982a3f6eba6 100644
--- a/games-board/xskat/Manifest
+++ b/games-board/xskat/Manifest
@@ -1 +1,2 @@
DIST xskat-4.0.tar.gz 179059 BLAKE2B 0494db798eadd17b4b35256560aa82ad8ec239b08f7adcdd86621088676cbc4c7cae0d0a53bb15525d56319ba0549406038cc1e64cdcfefd280d379ffc326a96 SHA512 508d83886063be01aef509fa8050110e599e0120025a94747717fcbae38e2196e8db041296b984fe37895c211519f511cf75dfa6b948c5789e6b37064f3d0c0d
+DIST xskat.png 269 BLAKE2B f2e6810dcff815ea2871b2d2dfce1afe0e157ecd93abcf3a95267a1429f97f2d8970ff26c8f993d38390d7055d6086424981192531b20f34d4a94367ce3fd88f SHA512 4898a0a160b28b9fa8bf4c5edfab76b4a09e4726fcb7309fef5d87ddd527e26f6f0a9fb801e9babb3b1988ebcb7e83d4ad9a43221dff265cc4695453b739091f
diff --git a/games-board/xskat/xskat-4.0-r2.ebuild b/games-board/xskat/xskat-4.0-r2.ebuild
new file mode 100644
index 000000000000..b0559267d1f0
--- /dev/null
+++ b/games-board/xskat/xskat-4.0-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop toolchain-funcs
+
+DESCRIPTION="Famous german card game"
+HOMEPAGE="http://www.xskat.de/xskat.html"
+SRC_URI="
+ http://www.xskat.de/${P}.tar.gz
+ https://dev.gentoo.org/~ionen/distfiles/${PN}.png"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+DEPEND="x11-libs/libX11"
+RDEPEND="
+ ${DEPEND}
+ media-fonts/font-misc-misc"
+BDEPEND="
+ virtual/pkgconfig
+ x11-base/xorg-proto"
+
+src_configure() { :; }
+
+src_compile() {
+ tc-export CC
+
+ local emakeargs=(
+ CFLAGS="${CFLAGS} ${CPPFLAGS}"
+ LDFLAGS="${LDFLAGS} $($(tc-getPKG_CONFIG) --libs x11 || die)"
+ )
+
+ emake "${emakeargs[@]}"
+}
+
+src_install() {
+ dobin ${PN}
+ newman ${PN}.{man,6}
+
+ einstalldocs
+
+ doicon "${DISTDIR}"/${PN}.png
+ make_desktop_entry ${PN} XSkat
+}