games-board/knights: Add 2.6.0_pre20171003 snapshot
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 29 Oct 2017 13:23:30 +0000 (14:23 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 29 Oct 2017 13:43:12 +0000 (14:43 +0100)
Package-Manager: Portage-2.3.13, Repoman-2.3.4

games-board/knights/Manifest
games-board/knights/knights-2.6.0_pre20171003.ebuild [new file with mode: 0644]
games-board/knights/metadata.xml

index 5266438559cc55f3c84bcc714811acaac9a88dcd..2a355efaf1abccd413cb4db41bdbeae4962f7ad3 100644 (file)
@@ -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 (file)
index 0000000..b12e7a3
--- /dev/null
@@ -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."
+}
index 67f0241e9d68b64c536dd71474100803239fddfc..ec264f573891a56c1c4a75501e5ddcf2c7c7fe95 100644 (file)
@@ -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>