summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-apps/ktouch/Manifest1
-rw-r--r--kde-apps/ktouch/ktouch-22.12.3.ebuild63
2 files changed, 64 insertions, 0 deletions
diff --git a/kde-apps/ktouch/Manifest b/kde-apps/ktouch/Manifest
index 57ef2f9316d3..b1ab4765f081 100644
--- a/kde-apps/ktouch/Manifest
+++ b/kde-apps/ktouch/Manifest
@@ -1,2 +1,3 @@
DIST ktouch-22.08.3.tar.xz 4989008 BLAKE2B 5ed61941cced05ec564bcbf0f20d4bc4cd16d5b5de938f88d9081c65eb9b535f3610bb992a6ec22be4b898e9ef3f80ab9e95d08aa97644c8b366144de7c76e15 SHA512 e2c6a4be8c51e41704d55c442b46de4495e68a05dc3322efdfd74e96fd683e157594b27dec665cd5bceeffa7cbc46dc9c7ca8cf7c1ad09ec3f71e487d79a6d1d
DIST ktouch-22.12.2.tar.xz 5036108 BLAKE2B 6f183333dc10ce793441ef6c913912b9df4fd6d4950e700f0e9b9e12db731fb6e39cbb473d341a5966db492e845112db97b9acf4b24b9cd9ab5e26ce5f3cdd69 SHA512 065e3cdde6ea5a2990ac8edc404d94135487dae9ff3fdd3f688560c8a1d1d998b5a3794baef6961a4233d6919733bc8577efedd0042797f6930b61e562568dda
+DIST ktouch-22.12.3.tar.xz 5034456 BLAKE2B 6ee4cf93b36b719f0531f0ac057f5708a05131b1c9a2811eec693817de3a1e2ccf53ca629d1a5d8fed69a424134c0523627a96d680034801c4c588df2462e51c SHA512 ee23b0fb0edfc65a12a34539301c040e448c83e9acb723a15c8cdaf7afb62c8b5aa8ef946675a96745d5d7f5b00f5a9e615b70e6a746ac2aedfb43faf00e8abd
diff --git a/kde-apps/ktouch/ktouch-22.12.3.ebuild b/kde-apps/ktouch/ktouch-22.12.3.ebuild
new file mode 100644
index 000000000000..ea15121221d2
--- /dev/null
+++ b/kde-apps/ktouch/ktouch-22.12.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.101.0
+QTMIN=5.15.5
+inherit ecm gear.kde.org
+
+DESCRIPTION="Program that helps to learn and practice touch typing"
+HOMEPAGE="https://apps.kde.org/ktouch/"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="X"
+
+COMMON_DEPEND="
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5
+ >=dev-qt/qtsql-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ >=dev-qt/qtxmlpatterns-${QTMIN}:5
+ >=kde-frameworks/kcmutils-${KFMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kitemviews-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/ktextwidgets-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ X? (
+ >=dev-qt/qtx11extras-${QTMIN}:5
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/libxkbfile
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-qt/qtgraphicaleffects-${QTMIN}:5
+ >=kde-apps/kqtquickcharts-${PVCUT}:5
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DCOMPILE_QML=OFF
+ -DWITHOUT_X11=$(usex !X)
+ )
+ ecm_src_configure
+}