Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/xskat/
Date: Wed, 27 Jul 2016 23:03:55
Message-Id: 1469660612.7586f22dd858a8c41ed4be27620b73fa693a80d6.wizardedit@gentoo
1 commit: 7586f22dd858a8c41ed4be27620b73fa693a80d6
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 27 23:03:18 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 27 23:03:32 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7586f22d
7
8 games-board/xskat: remove deprecated games eclass
9
10 Also update to EAPI 6
11
12 Gentoo-Bug: https://bugs.gentoo.org/574082
13
14 Package-Manager: portage-2.3.0
15
16 games-board/xskat/xskat-4.0-r1.ebuild | 39 +++++++++++++++++++++++++++++++++++
17 1 file changed, 39 insertions(+)
18
19 diff --git a/games-board/xskat/xskat-4.0-r1.ebuild b/games-board/xskat/xskat-4.0-r1.ebuild
20 new file mode 100644
21 index 0000000..178acaf
22 --- /dev/null
23 +++ b/games-board/xskat/xskat-4.0-r1.ebuild
24 @@ -0,0 +1,39 @@
25 +# Copyright 1999-2016 Gentoo Foundation
26 +# Distributed under the terms of the GNU General Public License v2
27 +# $Id$
28 +
29 +EAPI=6
30 +inherit toolchain-funcs eutils
31 +
32 +DESCRIPTION="Famous german card game"
33 +HOMEPAGE="http://www.xskat.de/xskat.html"
34 +SRC_URI="http://www.xskat.de/${P}.tar.gz"
35 +
36 +LICENSE="freedist"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
39 +IUSE=""
40 +
41 +RDEPEND="media-fonts/font-misc-misc
42 + x11-libs/libX11"
43 +DEPEND="${RDEPEND}
44 + x11-misc/gccmakedep
45 + x11-misc/imake
46 + x11-proto/xproto"
47 +
48 +src_prepare() {
49 + default
50 + xmkmf -a || die
51 +}
52 +
53 +src_compile() {
54 + emake CDEBUGFLAGS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}" CC="$(tc-getCC)"
55 +}
56 +
57 +src_install() {
58 + dobin xskat
59 + newman xskat.man xskat.6
60 + dodoc CHANGES README{,.IRC}
61 + newicon icon.xbm ${PN}.xbm
62 + make_desktop_entry ${PN} XSkat /usr/share/pixmaps/${PN}.xbm
63 +}