summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-08-12 11:46:59 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-08-12 12:17:09 +0200
commit5aa85d7f7856e52fc25e62134f5d79246680ff05 (patch)
treec348e5afa55d466745a18117de45ff2f243bf003 /kde-apps/knights
parentkde-apps/knetwalk: 21.08.0 version bump (diff)
downloadgentoo-5aa85d7f7856e52fc25e62134f5d79246680ff05.tar.gz
gentoo-5aa85d7f7856e52fc25e62134f5d79246680ff05.tar.bz2
gentoo-5aa85d7f7856e52fc25e62134f5d79246680ff05.zip
kde-apps/knights: 21.08.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/knights')
-rw-r--r--kde-apps/knights/Manifest1
-rw-r--r--kde-apps/knights/knights-21.08.0.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/kde-apps/knights/Manifest b/kde-apps/knights/Manifest
index 0ae589c9e86a..3a18025ffa26 100644
--- a/kde-apps/knights/Manifest
+++ b/kde-apps/knights/Manifest
@@ -1 +1,2 @@
DIST knights-21.04.3.tar.xz 3536384 BLAKE2B 1d0aaa50d0b1cce7968db0bdafb8529f19b172742a316c6ec3a1074009c018677509300c54b092fa4a2005d57b4319185edf25c7edc082bab3267b5a88639fe8 SHA512 1f9136e85730cae9085b152b720475dd64dd53cec98f9d20eb67f1b68aea851b86c6781f87127bbc0ff3f385db907bd1566534bc05f3013317f33ea0b35b438b
+DIST knights-21.08.0.tar.xz 3536696 BLAKE2B 0787e7efa4513ac90bb15f905b88442ddba3fbf74c02642a7e2c082a1f510879663a69f849538911ae415451e6bdb52451964f96d57d6b76b5432b2d9551cf23 SHA512 68a11ac52254f2b00e930a6c796ed4cdfe816aebb9db5157b819d50d6524d218797d0fcaa55d3f867605605205b5fa608ed75f620e679ebaaba2f851cacb9045
diff --git a/kde-apps/knights/knights-21.08.0.ebuild b/kde-apps/knights/knights-21.08.0.ebuild
new file mode 100644
index 000000000000..79ebff6c48c0
--- /dev/null
+++ b/kde-apps/knights/knights-21.08.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+KDE_SELINUX_MODULE="games"
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.84.0
+QTMIN=5.15.2
+inherit ecm kde.org
+
+DESCRIPTION="Simple chess board based on KDE Frameworks"
+HOMEPAGE="https://apps.kde.org/knights/"
+
+LICENSE="GPL-2+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="speech"
+
+DEPEND="
+ >=dev-qt/qtconcurrent-${QTMIN}:5
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtsvg-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-apps/libkdegames-${PVCUT}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kcrash-${KFMIN}:5
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kplotting-${KFMIN}:5
+ >=kde-frameworks/ktextwidgets-${KFMIN}:5
+ >=kde-frameworks/kwallet-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ >=kde-frameworks/plasma-${KFMIN}:5
+ speech? ( >=dev-qt/qtspeech-${QTMIN}:5 )
+"
+RDEPEND="${DEPEND}
+ || (
+ games-board/gnuchess
+ games-board/crafty
+ games-board/stockfish
+ games-board/sjeng
+ )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package speech Qt5TextToSpeech)
+ )
+ ecm_src_configure
+}