Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/knights/
Date: Sun, 29 Oct 2017 13:43:35
Message-Id: 1509284592.b7f25675708d3bce30cc3c8f6c46a23be57f02cc.asturm@gentoo
1 commit: b7f25675708d3bce30cc3c8f6c46a23be57f02cc
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 29 13:23:30 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 29 13:43:12 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7f25675
7
8 games-board/knights: Add 2.6.0_pre20171003 snapshot
9
10 Package-Manager: Portage-2.3.13, Repoman-2.3.4
11
12 games-board/knights/Manifest | 1 +
13 .../knights/knights-2.6.0_pre20171003.ebuild | 51 ++++++++++++++++++++++
14 games-board/knights/metadata.xml | 5 ++-
15 3 files changed, 56 insertions(+), 1 deletion(-)
16
17 diff --git a/games-board/knights/Manifest b/games-board/knights/Manifest
18 index 5266438559c..2a355efaf1a 100644
19 --- a/games-board/knights/Manifest
20 +++ b/games-board/knights/Manifest
21 @@ -1 +1,2 @@
22 DIST knights-2.5.0.tar.bz2 3426822 SHA256 6567c4203c55ebe0ae6b5a25c852d7beef8b88d4154592437bc357797da5bd28 SHA512 3024fb9747c0b412e606db9262e9a547f51bfe0a5bd7e3de2952ba09da0186a45d5a21182e394b16d5905d036b94a17ed8b80c7d2c808f7ab907f4f4c6d9fa95 WHIRLPOOL 5cf2b98128898fb9be607c31e4c0df510dfa8c18e6bf00db2fa53c19005f64658894ed84c14d92ff70b1cb6cdb5d04a94cb2876791f10e90bb3fb9b35e054e6c
23 +DIST knights-2.6.0_pre20171003.tar.gz 2641514 SHA256 fc87839edbb75234910411d88eef94ac530e5a73faa32a6d231bf1e27a5db008 SHA512 c04189ef9447774a0d233edde82d018aab08819197b388d5ae1bad1cef3993adbb706f174a638d0eb1be52eb8891833ccc9ec9c1678b0611e00526649e8ee861 WHIRLPOOL 701372dbd4a06b276c8e51d63d9e913f15066f79c559f33329b488c213c546e16826d1abac845b7db3f91445f0273709199b3dfda08149c11037916a4b25dc64
24
25 diff --git a/games-board/knights/knights-2.6.0_pre20171003.ebuild b/games-board/knights/knights-2.6.0_pre20171003.ebuild
26 new file mode 100644
27 index 00000000000..b12e7a3a098
28 --- /dev/null
29 +++ b/games-board/knights/knights-2.6.0_pre20171003.ebuild
30 @@ -0,0 +1,51 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +COMMIT=4c0a1f61c23d632b2d9bf9f4c5c74ba021633147
37 +KDE_HANDBOOK="forceoptional"
38 +KDE_SELINUX_MODULE="games"
39 +inherit kde5 vcs-snapshot
40 +
41 +DESCRIPTION="Simple chess board based on KDE Frameworks"
42 +HOMEPAGE="http://kde-apps.org/content/show.php/Knights?content=122046"
43 +SRC_URI="https://github.com/KDE/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="GPL-2+"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE="speech"
48 +
49 +DEPEND="
50 + $(add_frameworks_dep kcompletion)
51 + $(add_frameworks_dep kconfig)
52 + $(add_frameworks_dep kconfigwidgets)
53 + $(add_frameworks_dep kcoreaddons)
54 + $(add_frameworks_dep kdbusaddons)
55 + $(add_frameworks_dep ki18n)
56 + $(add_frameworks_dep kio)
57 + $(add_frameworks_dep kplotting)
58 + $(add_frameworks_dep ktextwidgets)
59 + $(add_frameworks_dep kwallet)
60 + $(add_frameworks_dep kwidgetsaddons)
61 + $(add_frameworks_dep kxmlgui)
62 + $(add_frameworks_dep plasma)
63 + $(add_kdeapps_dep libkdegames)
64 + $(add_qt_dep qtconcurrent)
65 + $(add_qt_dep qtdbus)
66 + $(add_qt_dep qtgui)
67 + $(add_qt_dep qtnetwork)
68 + $(add_qt_dep qtsvg)
69 + $(add_qt_dep qtwidgets)
70 + speech? ( $(add_qt_dep qtspeech) )
71 +"
72 +RDEPEND="${DEPEND}
73 + !games-board/knights:4
74 +"
75 +
76 +pkg_postinst() {
77 + kde5_pkg_postinst
78 +
79 + elog "No chess engines are emerged by default! If you want a chess engine"
80 + elog "to play with, you can emerge gnuchess or crafty."
81 +}
82
83 diff --git a/games-board/knights/metadata.xml b/games-board/knights/metadata.xml
84 index 67f0241e9d6..ec264f57389 100644
85 --- a/games-board/knights/metadata.xml
86 +++ b/games-board/knights/metadata.xml
87 @@ -5,8 +5,11 @@
88 <email>games@g.o</email>
89 <name>Gentoo Games Project</name>
90 </maintainer>
91 -<maintainer type="project">
92 + <maintainer type="project">
93 <email>kde@g.o</email>
94 <name>Gentoo KDE Project</name>
95 </maintainer>
96 + <use>
97 + <flag name="speech">Enable text-to-speech support</flag>
98 + </use>
99 </pkgmetadata>