summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-12-09 21:11:50 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-12-09 21:54:17 +0100
commit298ba9fabb3a340cca0762710d4441ef3617a470 (patch)
tree3521e58537980e55d388f3ac059aba4ac585efa2 /kde-apps/knights
parentkde-apps/knetwalk: 22.12.0 version bump (diff)
downloadgentoo-298ba9fabb3a340cca0762710d4441ef3617a470.tar.gz
gentoo-298ba9fabb3a340cca0762710d4441ef3617a470.tar.bz2
gentoo-298ba9fabb3a340cca0762710d4441ef3617a470.zip
kde-apps/knights: 22.12.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.12.0.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/kde-apps/knights/Manifest b/kde-apps/knights/Manifest
index 60206e4651af..d69571c09e24 100644
--- a/kde-apps/knights/Manifest
+++ b/kde-apps/knights/Manifest
@@ -1 +1,2 @@
DIST knights-22.08.3.tar.xz 3322984 BLAKE2B c0bda7b08117bb24295d060de25dde657022681a0e790f81bfb4f1e21976b30417f73271814ac6c65358065cb36dcb9d84f43eb91ae30ceb7bfa102335b8ec6a SHA512 834658db2a5a452d90c6c830a4614f59070c6fc51e3c2161c53e020a325399026dbbbbef9c18a36e4ab769416e6ff3199df7de9807498e387ea9b60eb4f18e9b
+DIST knights-22.12.0.tar.xz 3328976 BLAKE2B 60ede73c15cbd020e116ab56c7dc039647087bdc34ff698a26f265475e7706eef016f55982922302f1f0fd843c74f2984a85a89a942f66d16008942a8e1c8d98 SHA512 3756c5e634c745df3df5df4d48a0a5adff64f40847ab5c39f57de87f967eea0cb60c98a2c317d9370be35f8b3b89756f0dbe829fe32fb72342a65ad561d9d680
diff --git a/kde-apps/knights/knights-22.12.0.ebuild b/kde-apps/knights/knights-22.12.0.ebuild
new file mode 100644
index 000000000000..5b3604e46975
--- /dev/null
+++ b/kde-apps/knights/knights-22.12.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.99.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
+}