summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-08-22 20:24:49 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-08-22 22:10:40 +0200
commitdd5e0bac3f52f9aee5969b76e7e21dbfe1603848 (patch)
tree76de32820fd3c995205158c6a07de55a5469df75 /kde-apps/knights
parentkde-apps/knetwalk: 22.08.0 version bump (diff)
downloadgentoo-dd5e0bac3f52f9aee5969b76e7e21dbfe1603848.tar.gz
gentoo-dd5e0bac3f52f9aee5969b76e7e21dbfe1603848.tar.bz2
gentoo-dd5e0bac3f52f9aee5969b76e7e21dbfe1603848.zip
kde-apps/knights: 22.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-22.08.0.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/kde-apps/knights/Manifest b/kde-apps/knights/Manifest
index 4dc043e92a80..9af2e1fc1049 100644
--- a/kde-apps/knights/Manifest
+++ b/kde-apps/knights/Manifest
@@ -1 +1,2 @@
DIST knights-22.04.3.tar.xz 3323980 BLAKE2B 9d8c8c1cc9fa477144e7ec13b3e495a2968b39a2c027cba91ecb8bdfb85441808f86681718a5e22db64fd94782e90ee1644fdb9d5d91250f85319f5830553874 SHA512 c1b127b8b91cf852a38d403d41e6d94284c20f101ee0dcc999420f724534d80bad6dfa2302433a869c9fe14bf51083a08af093940be6d5b8f69c6c4062596f20
+DIST knights-22.08.0.tar.xz 3323980 BLAKE2B 6aff624b5c5b7daa0568337ba1402e414f9725a8674db808b92d7cbfd6372ea09f1c38390bddababc0faaed10a52ea130b71e82301d3761f1d07daf58074c911 SHA512 6e73ee1c0ace99e8067c8afad1866d2a752fd04c2c27d42d9213a1fa8cda7405e38815661a1c07fe46a55fd36fad64e99671cf74478fdc63255940682d48b030
diff --git a/kde-apps/knights/knights-22.08.0.ebuild b/kde-apps/knights/knights-22.08.0.ebuild
new file mode 100644
index 000000000000..003b64441031
--- /dev/null
+++ b/kde-apps/knights/knights-22.08.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+KDE_SELINUX_MODULE="games"
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.96.0
+QTMIN=5.15.5
+inherit ecm gear.kde.org
+
+DESCRIPTION="Simple chess board based on KDE Frameworks"
+HOMEPAGE="https://apps.kde.org/knights/"
+
+LICENSE="GPL-2+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~riscv ~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
+}