summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-10-29 14:23:30 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-10-29 14:43:12 +0100
commitb7f25675708d3bce30cc3c8f6c46a23be57f02cc (patch)
tree538453222f4b283b5c9e829243bd362066c73192
parentdev-perl/local-lib: Bump to version 2.0.24 (diff)
downloadgentoo-b7f25675708d3bce30cc3c8f6c46a23be57f02cc.tar.gz
gentoo-b7f25675708d3bce30cc3c8f6c46a23be57f02cc.tar.bz2
gentoo-b7f25675708d3bce30cc3c8f6c46a23be57f02cc.zip
games-board/knights: Add 2.6.0_pre20171003 snapshot
Package-Manager: Portage-2.3.13, Repoman-2.3.4
-rw-r--r--games-board/knights/Manifest1
-rw-r--r--games-board/knights/knights-2.6.0_pre20171003.ebuild51
-rw-r--r--games-board/knights/metadata.xml5
3 files changed, 56 insertions, 1 deletions
diff --git a/games-board/knights/Manifest b/games-board/knights/Manifest
index 5266438559cc..2a355efaf1ab 100644
--- a/games-board/knights/Manifest
+++ b/games-board/knights/Manifest
@@ -1 +1,2 @@
DIST knights-2.5.0.tar.bz2 3426822 SHA256 6567c4203c55ebe0ae6b5a25c852d7beef8b88d4154592437bc357797da5bd28 SHA512 3024fb9747c0b412e606db9262e9a547f51bfe0a5bd7e3de2952ba09da0186a45d5a21182e394b16d5905d036b94a17ed8b80c7d2c808f7ab907f4f4c6d9fa95 WHIRLPOOL 5cf2b98128898fb9be607c31e4c0df510dfa8c18e6bf00db2fa53c19005f64658894ed84c14d92ff70b1cb6cdb5d04a94cb2876791f10e90bb3fb9b35e054e6c
+DIST knights-2.6.0_pre20171003.tar.gz 2641514 SHA256 fc87839edbb75234910411d88eef94ac530e5a73faa32a6d231bf1e27a5db008 SHA512 c04189ef9447774a0d233edde82d018aab08819197b388d5ae1bad1cef3993adbb706f174a638d0eb1be52eb8891833ccc9ec9c1678b0611e00526649e8ee861 WHIRLPOOL 701372dbd4a06b276c8e51d63d9e913f15066f79c559f33329b488c213c546e16826d1abac845b7db3f91445f0273709199b3dfda08149c11037916a4b25dc64
diff --git a/games-board/knights/knights-2.6.0_pre20171003.ebuild b/games-board/knights/knights-2.6.0_pre20171003.ebuild
new file mode 100644
index 000000000000..b12e7a3a0988
--- /dev/null
+++ b/games-board/knights/knights-2.6.0_pre20171003.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+COMMIT=4c0a1f61c23d632b2d9bf9f4c5c74ba021633147
+KDE_HANDBOOK="forceoptional"
+KDE_SELINUX_MODULE="games"
+inherit kde5 vcs-snapshot
+
+DESCRIPTION="Simple chess board based on KDE Frameworks"
+HOMEPAGE="http://kde-apps.org/content/show.php/Knights?content=122046"
+SRC_URI="https://github.com/KDE/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+KEYWORDS="~amd64 ~x86"
+IUSE="speech"
+
+DEPEND="
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kdbusaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep kplotting)
+ $(add_frameworks_dep ktextwidgets)
+ $(add_frameworks_dep kwallet)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kxmlgui)
+ $(add_frameworks_dep plasma)
+ $(add_kdeapps_dep libkdegames)
+ $(add_qt_dep qtconcurrent)
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtnetwork)
+ $(add_qt_dep qtsvg)
+ $(add_qt_dep qtwidgets)
+ speech? ( $(add_qt_dep qtspeech) )
+"
+RDEPEND="${DEPEND}
+ !games-board/knights:4
+"
+
+pkg_postinst() {
+ kde5_pkg_postinst
+
+ elog "No chess engines are emerged by default! If you want a chess engine"
+ elog "to play with, you can emerge gnuchess or crafty."
+}
diff --git a/games-board/knights/metadata.xml b/games-board/knights/metadata.xml
index 67f0241e9d68..ec264f573891 100644
--- a/games-board/knights/metadata.xml
+++ b/games-board/knights/metadata.xml
@@ -5,8 +5,11 @@
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
-<maintainer type="project">
+ <maintainer type="project">
<email>kde@gentoo.org</email>
<name>Gentoo KDE Project</name>
</maintainer>
+ <use>
+ <flag name="speech">Enable text-to-speech support</flag>
+ </use>
</pkgmetadata>