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/kcheckers/
Date: Fri, 05 Aug 2016 00:23:13
Message-Id: 1470356555.252a7f7cb16281b5cab6d793cce38399fef66575.wizardedit@gentoo
1 commit: 252a7f7cb16281b5cab6d793cce38399fef66575
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 4 19:28:21 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 5 00:22:35 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=252a7f7c
7
8 games-board/kcheckers: 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/kcheckers/kcheckers-0.8.1-r1.ebuild | 42 +++++++++++++++++++++++++
17 1 file changed, 42 insertions(+)
18
19 diff --git a/games-board/kcheckers/kcheckers-0.8.1-r1.ebuild b/games-board/kcheckers/kcheckers-0.8.1-r1.ebuild
20 new file mode 100644
21 index 0000000..8f96902
22 --- /dev/null
23 +++ b/games-board/kcheckers/kcheckers-0.8.1-r1.ebuild
24 @@ -0,0 +1,42 @@
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 eutils qmake-utils
31 +
32 +DESCRIPTION="Qt version of the classic boardgame checkers"
33 +HOMEPAGE="http://qcheckers.sourceforge.net/"
34 +SRC_URI="mirror://gentoo/${P}.tar.gz"
35 +
36 +LICENSE="GPL-2"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~arm ~ppc ~x86"
39 +IUSE=""
40 +
41 +DEPEND="dev-qt/qtgui:4"
42 +RDEPEND=${DEPEND}
43 +
44 +src_prepare() {
45 + default
46 +
47 + sed -i \
48 + -e "s:/usr/local:/usr:" \
49 + common.h || die
50 +}
51 +
52 +src_configure() {
53 + eqmake4
54 +}
55 +
56 +src_install() {
57 + dobin kcheckers
58 +
59 + insinto /usr/share/${PN}
60 + doins -r i18n/* themes
61 +
62 + newicon icons/biglogo.png ${PN}.png
63 + make_desktop_entry ${PN} KCheckers
64 +
65 + dodoc AUTHORS ChangeLog FAQ README TODO
66 +}