summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-02-14 06:07:25 -0500
committerIonen Wolkens <ionen@gentoo.org>2024-02-14 07:20:59 -0500
commitc091f5880d809b707b70e34a2d8c1b2137a8666e (patch)
tree836dfaf06afbee3f9c5555e0870485963c587c6e /dev-qt
parentdev-qt/qttranslations: add 6.6.2 (diff)
downloadgentoo-c091f5880d809b707b70e34a2d8c1b2137a8666e.tar.gz
gentoo-c091f5880d809b707b70e34a2d8c1b2137a8666e.tar.bz2
gentoo-c091f5880d809b707b70e34a2d8c1b2137a8666e.zip
dev-qt/qtvirtualkeyboard: add 6.6.2
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/qtvirtualkeyboard/Manifest1
-rw-r--r--dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.6.2.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-qt/qtvirtualkeyboard/Manifest b/dev-qt/qtvirtualkeyboard/Manifest
index d9004ec39faa..3085b24efad5 100644
--- a/dev-qt/qtvirtualkeyboard/Manifest
+++ b/dev-qt/qtvirtualkeyboard/Manifest
@@ -1,2 +1,3 @@
DIST qtvirtualkeyboard-everywhere-opensource-src-5.15.12.tar.xz 10959460 BLAKE2B 8d64dc4b8c395f6a0092fb3763447416fe069f1fe6611146bcece83a72983f4cee49400af833aca39e2805b9277d7ec37fa20e31e522832b61f002d977dbfebd SHA512 17c63ea6287f7dbc84c82762ea43da9fbb4d1c7281a4e81971c10eacfbfe7293a855dde35a37ed9c8cf5ccc289a0e1d0a0c970e6908cea5cae15f149b9f5e3c4
DIST qtvirtualkeyboard-everywhere-src-6.6.1.tar.xz 3732976 BLAKE2B d5b33ac4d20efc8f4f971ce4102e7962b91b14d36e06504bef5cf4de528069da583e91c5aa732d860850c32e8b5317c8a573787636df08eb0e2bb5e3f4b1f986 SHA512 9b12e3dc6bab0ae1dd86c4b2ff1b8dbff3477b2a2a17a123f34874a59aa02f3ae6ccc550046d1f3976e010ba74b4534667366498b1aa3604ac1d380db326740f
+DIST qtvirtualkeyboard-everywhere-src-6.6.2.tar.xz 3723036 BLAKE2B e459bbdd195a824df44fdc72599dd04181cdeaa0ec2849fb75b9ff3ee7b4f86317b64df364c6883181397b5a1e09091966be3b7cfd29b2226956e799ddf7237b SHA512 bafff245ca6340e57a7abf312369ad2196beb85fd6dee4920e0cd5dc08f35f1f1ae3f861e6f3ac8766ef4e1059cca34ae9fc15a4eca806e7b5c7a9319e56bf2c
diff --git a/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.6.2.ebuild b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.6.2.ebuild
new file mode 100644
index 000000000000..4da95f48bdd5
--- /dev/null
+++ b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.6.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qt6-build
+
+DESCRIPTION="Customizable input framework and virtual keyboard for Qt"
+
+if [[ ${QT6_BUILD_TYPE} == release ]]; then
+ KEYWORDS="~amd64 ~loong"
+fi
+
+IUSE="+spell"
+
+RDEPEND="
+ ~dev-qt/qtbase-${PV}:6[gui]
+ ~dev-qt/qtdeclarative-${PV}:6
+ ~dev-qt/qtsvg-${PV}:6
+ spell? ( app-text/hunspell:= )
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ $(qt_feature spell hunspell)
+ -DINPUT_vkb_handwriting=no # neither cerence nor myscript are packaged
+ )
+
+ qt6-build_src_configure
+}
+
+src_test() {
+ if use spell && has_version app-dicts/myspell-en; then
+ # 99% pass but minor sub-tests fail with myspell-en, needs looking into
+ ewarn "Warning: notable tests were skipped due to ${_} being installed"
+ local CMAKE_SKIP_TESTS=(
+ tst_inputpanel
+ tst_inputpanelcontrols2
+ )
+ else
+ einfo "tst_inputpanel can take >5mins, not known to actually hang"
+ fi
+
+ # tst_layoutfilesystem seems to fail randomly without -j1
+ qt6-build_src_test -j1
+}