diff options
-rw-r--r-- | kde-apps/knights/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/knights/knights-24.05.1.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/kde-apps/knights/Manifest b/kde-apps/knights/Manifest index d394c0609543..fd2e5c9940cf 100644 --- a/kde-apps/knights/Manifest +++ b/kde-apps/knights/Manifest @@ -1,2 +1,3 @@ DIST knights-23.08.5.tar.xz 3334500 BLAKE2B 88afa3fc6deee29ae406f4e43028577e3f8014616530955316f3e559e3e55fddb942005471e1a630bb511a92e14228a033caca541099f9deba7f9f9ac95e70b5 SHA512 e71fcbf60216711cd2740a2f44b9937da2a244a4be2e57b1b4afbf772a1f096b72664f36cbdce86a61ffd123694c608e24d106681ff56bb8dc68e9daf0529a63 DIST knights-24.05.0.tar.xz 2470336 BLAKE2B 4dd26a702fedc481e554c5b026d4504d50afc0db86a84599531dfd3c4142b71b0ea156b1d90555de678e3656ce6ada1f49d076e1d098d607e986b97a653cd7b8 SHA512 9333a3c3d04d3065945c1fdbbe748a6a19c71e165d0b120c35c8ea0d750cbf7feaf23d32f048226a81ef698dd8ece94b1e496800bbd1cb391877bc3976522eb0 +DIST knights-24.05.1.tar.xz 2471604 BLAKE2B 5ef4362b5ddd335f75da491844954e265097dd798ac95814c6ec33bb287324ab839d04a87faaa86929df9683d74b8268a363e0b86a980ff45d44b437599c5e7f SHA512 3aeba00355cfc21396b9785ad86bd7b0cfcd82a19ed48f91e289c277b010b998925677a5788d5628a8a0b37b3e7a3f2373af9562f05a806c3de9a282396d1180 diff --git a/kde-apps/knights/knights-24.05.1.ebuild b/kde-apps/knights/knights-24.05.1.ebuild new file mode 100644 index 000000000000..b15968fc9fa7 --- /dev/null +++ b/kde-apps/knights/knights-24.05.1.ebuild @@ -0,0 +1,58 @@ +# 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.3.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/ksvg-${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 +} |