summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-apps/ktouch/Manifest1
-rw-r--r--kde-apps/ktouch/ktouch-20.12.3.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/kde-apps/ktouch/Manifest b/kde-apps/ktouch/Manifest
index b064a75d4a3c..4ed127bc1826 100644
--- a/kde-apps/ktouch/Manifest
+++ b/kde-apps/ktouch/Manifest
@@ -1,2 +1,3 @@
DIST ktouch-20.08.3.tar.xz 4943004 BLAKE2B de25f9da88931b2b0ce6c2bb1953350cd4b9102385c1317f844b63eaf1f51d9af713274199c0aa4ab8c627e27fc49028e5ac3de5b819d370d3276106e3ac4193 SHA512 7611ccc2132cf02bbb1028feb0a4a25fdd466dde8cab36a3e6d2d711d8f71ebd04a2798fee87fb1225c7fa5e7fcd5d9a3fb7aed284729ded838a71026fb03d1b
DIST ktouch-20.12.2.tar.xz 4942072 BLAKE2B be33f9d467eb9551811a68d385ab126bc12fe4887151b3c19449bf143c760480a0e739a0e8660ece270ce2228c683f04c280672e4ebafa713cabf89ccdf798f7 SHA512 037ed12447654c54455c2260b90db06e8b0a7e03393dbe300c13400a548039fdd436b3e6a6a092c1e9f1fb63aaf004f025e6b045959ee88db649840908dca6cd
+DIST ktouch-20.12.3.tar.xz 4942444 BLAKE2B ee1d5c0fe9836d6725eab0ac73d242b2340616f8c2247b841c0cc2bc9ffab58cc848b668c3600f97d57cf3f7efd83761cb529961e8d35f3d86ee6a54236e5040 SHA512 33041f31a910182969f20c98e33393cb53142e0ae69fb5717d1d235a3006ee931734a50a77f9d0336b801984ae0ba3e7295f46de82ffda90fa3003a0634ba968
diff --git a/kde-apps/ktouch/ktouch-20.12.3.ebuild b/kde-apps/ktouch/ktouch-20.12.3.ebuild
new file mode 100644
index 000000000000..8dba413c4a4b
--- /dev/null
+++ b/kde-apps/ktouch/ktouch-20.12.3.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.75.0
+QTMIN=5.15.2
+inherit ecm kde.org
+
+DESCRIPTION="Program that helps to learn and practice touch typing"
+HOMEPAGE="https://apps.kde.org/en/ktouch"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~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[xkb]
+ 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
+ $(cmake_use_find_package X X11)
+ $(cmake_use_find_package X Qt5X11Extras)
+ )
+ ecm_src_configure
+}