commit:     b171a3709e66806172483b1ed65202fa256a3ad6
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  2 12:06:33 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Apr  2 13:05:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b171a370

dev-qt/qtvirtualkeyboard: add 6.7.0

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-qt/qtvirtualkeyboard/Manifest                  |  1 +
 .../qtvirtualkeyboard-6.7.0.ebuild                 | 51 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-qt/qtvirtualkeyboard/Manifest 
b/dev-qt/qtvirtualkeyboard/Manifest
index e4ef0073f0a1..9e60a92a8c54 100644
--- a/dev-qt/qtvirtualkeyboard/Manifest
+++ b/dev-qt/qtvirtualkeyboard/Manifest
@@ -2,3 +2,4 @@ DIST qtvirtualkeyboard-everywhere-opensource-src-5.15.12.tar.xz 
10959460 BLAKE2B
 DIST qtvirtualkeyboard-everywhere-opensource-src-5.15.13.tar.xz 10959164 
BLAKE2B 
808c5f28f12d0210b94ee3c9f282c000c1787686e454c8cb8ef601dafe7c0d8579796b2322edb553a997d4a8f38c2603b5314f6839873b257930bd9aa3959222
 SHA512 
abe58c132c8bd23d29de1937e2f1fb6571aec829ce74f4904d322c4046d8c70b4b9b508930e4c681a8e30ff1d8a63c627cc3bec1560e83dada426c09d827ae29
 DIST qtvirtualkeyboard-everywhere-src-6.6.2.tar.xz 3723036 BLAKE2B 
e459bbdd195a824df44fdc72599dd04181cdeaa0ec2849fb75b9ff3ee7b4f86317b64df364c6883181397b5a1e09091966be3b7cfd29b2226956e799ddf7237b
 SHA512 
bafff245ca6340e57a7abf312369ad2196beb85fd6dee4920e0cd5dc08f35f1f1ae3f861e6f3ac8766ef4e1059cca34ae9fc15a4eca806e7b5c7a9319e56bf2c
 DIST qtvirtualkeyboard-everywhere-src-6.6.3.tar.xz 3719852 BLAKE2B 
b5c6e9108ad7705653693c0d2a56a9e24ddee45e2bbede23bbbf3fcad0532fef0965a07aab2409b6e1712bdb76b3545e31fa0a4e42cbeb4a881c7832d3239efd
 SHA512 
badfb9145315bb60a2a3a7b858e23af25a99e4209356f94ba098fc7a9f903d4ca7c995c3d0185b8c6492394846959136479c9b2e1c94d88a41f0c68d88d2fe36
+DIST qtvirtualkeyboard-everywhere-src-6.7.0.tar.xz 3720012 BLAKE2B 
5bb60703f88225e8d2b18323c394b3f863a2364c39023eacf33c49d9ab3e0f0966f1ff37a38dd44ef3497d5f446a25aba7731697fd572fa001258657af54b7a8
 SHA512 
0e33a9d962eed6a75bceb25ba666adff2ee0e3eea229540415777000fd60de290c4b56a07870239943e96da626d71e4e4770d46198b8bfe1fb5e03bee64740e9

diff --git a/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.7.0.ebuild 
b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.7.0.ebuild
new file mode 100644
index 000000000000..098c09ea6c42
--- /dev/null
+++ b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.7.0.ebuild
@@ -0,0 +1,51 @@
+# 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 ~arm ~loong ~riscv ~x86"
+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() {
+       local CMAKE_SKIP_TESTS=(
+               # rarely randomly(?) fails even with -j1
+               tst_layoutfilesystem
+       )
+
+       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"
+               CMAKE_SKIP_TESTS+=(
+                       tst_inputpanel
+                       tst_inputpanelcontrols2
+               )
+       else
+               einfo "tst_inputpanel can take >5mins, not known to actually 
hang"
+       fi
+
+       qt6-build_src_test
+}

Reply via email to