summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-02-28 12:59:38 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-02-28 14:53:03 +0100
commite99ab234f97614efb19d9c96cefdef1c7e97d976 (patch)
treeb6fb1c283469598f8db8517f8e1a5858df633902 /kde-apps/knights
parentkde-apps/knetwalk: 24.02.0 version bump (diff)
downloadgentoo-e99ab234f97614efb19d9c96cefdef1c7e97d976.tar.gz
gentoo-e99ab234f97614efb19d9c96cefdef1c7e97d976.tar.bz2
gentoo-e99ab234f97614efb19d9c96cefdef1c7e97d976.zip
kde-apps/knights: 24.02.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-24.02.0.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/kde-apps/knights/Manifest b/kde-apps/knights/Manifest
index 802dad4d3d5d..f1d62df4d4c7 100644
--- a/kde-apps/knights/Manifest
+++ b/kde-apps/knights/Manifest
@@ -1,2 +1,3 @@
DIST knights-23.08.4.tar.xz 3330968 BLAKE2B 1fca5b8e25fecb8960c22f74ace62fa8af457d3f0de19e28b51f27146f0a08bc6d11a93b0b895e816f918582b3e07a1b0ad9c9953297a3a7ed802717b8243a56 SHA512 d3e9a7ce021b4da08fadc97c1872bfa7f74aa2a12b9ab72c0968d19d74842fdaa954f1eb85c39c7e8ec5be4dd72245a32decb1e4a90094a7e4665e0e0f01fee6
DIST knights-23.08.5.tar.xz 3334500 BLAKE2B 88afa3fc6deee29ae406f4e43028577e3f8014616530955316f3e559e3e55fddb942005471e1a630bb511a92e14228a033caca541099f9deba7f9f9ac95e70b5 SHA512 e71fcbf60216711cd2740a2f44b9937da2a244a4be2e57b1b4afbf772a1f096b72664f36cbdce86a61ffd123694c608e24d106681ff56bb8dc68e9daf0529a63
+DIST knights-24.02.0.tar.xz 2500568 BLAKE2B 30ab2f400db52ed6cf72fbb1ed490090660acbe38e9cf4781342c34ef12b0e3ab073fcef648e31639cbb909ec0fd0aa0122a459eaccdc1314bf62b35a7df74f4 SHA512 2f11d78c7052355460bb5c57de439b595fc1e6c3b9041a51340495fdccc3b0a85f31bcfe40cc29ec0bca93e03aa65326c0d22abeefa5fab88cd4e4a38dc4bf9f
diff --git a/kde-apps/knights/knights-24.02.0.ebuild b/kde-apps/knights/knights-24.02.0.ebuild
new file mode 100644
index 000000000000..264ab85286ba
--- /dev/null
+++ b/kde-apps/knights/knights-24.02.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2024 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=6.0
+QTMIN=6.6.2
+inherit ecm gear.kde.org
+
+DESCRIPTION="Simple chess board based on KDE Frameworks"
+HOMEPAGE="https://apps.kde.org/knights/"
+
+LICENSE="GPL-2+"
+SLOT="6"
+KEYWORDS="~amd64"
+IUSE="speech"
+
+DEPEND="
+ >=dev-qt/qtbase-${QTMIN}:6[concurrent,dbus,gui,network,widgets]
+ >=dev-qt/qtsvg-${QTMIN}:6
+ >=kde-apps/libkdegames-${PVCUT}:6
+ >=kde-frameworks/kcompletion-${KFMIN}:6
+ >=kde-frameworks/kconfig-${KFMIN}:6
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/kcrash-${KFMIN}:6
+ >=kde-frameworks/kdbusaddons-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+ >=kde-frameworks/kio-${KFMIN}:6
+ >=kde-frameworks/kplotting-${KFMIN}:6
+ >=kde-frameworks/ktextwidgets-${KFMIN}:6
+ >=kde-frameworks/kwallet-${KFMIN}:6
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:6
+ >=kde-frameworks/kxmlgui-${KFMIN}:6
+ kde-plasma/libplasma:6
+ speech? ( >=dev-qt/qtspeech-${QTMIN}:6 )
+"
+RDEPEND="${DEPEND}
+ || (
+ games-board/gnuchess
+ games-board/crafty
+ games-board/stockfish
+ games-board/sjeng
+ )
+"
+# TODO: || ( 7zip gzip )
+BDEPEND="app-alternatives/gzip"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package speech Qt6TextToSpeech)
+ )
+ ecm_src_configure
+}