commit:     8881f5c4703dc42c79f0568cf38cf892df99d7ed
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 27 06:11:12 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Nov 27 08:45:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8881f5c4

dev-qt/qtvirtualkeyboard: add 6.6.1

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

 dev-qt/qtvirtualkeyboard/Manifest                  |  1 +
 .../qtvirtualkeyboard-6.6.1.ebuild                 | 47 ++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/dev-qt/qtvirtualkeyboard/Manifest 
b/dev-qt/qtvirtualkeyboard/Manifest
index 7478075b6a99..357f44456ff8 100644
--- a/dev-qt/qtvirtualkeyboard/Manifest
+++ b/dev-qt/qtvirtualkeyboard/Manifest
@@ -1,3 +1,4 @@
 DIST qtvirtualkeyboard-everywhere-opensource-src-5.15.11.tar.xz 10960552 
BLAKE2B 
2a68d488814f02b85e2f53481a237ad28dab8c6af5f0b6566b5393303e1581a2116c5223f5195ed45161601797de4cf85f06648f01a7afb29a83d28cb9844567
 SHA512 
771088a6f847c901f59c14e32225410a4b174d2e9eb026928acba41e7dc2f658ad09d054846a06efb262fe198c1ddfbaf1014a61257856014c6ca2498747cc0e
 DIST qtvirtualkeyboard-everywhere-src-6.5.3.tar.xz 3729672 BLAKE2B 
0a4b20f288b7bad00ad6bd8264e05bdb4c4c01ce28c4ef6979e877d3d77448c88899b739bb880ac9bd5462e80adad7a78396462369e7b803317a35c27790ac4c
 SHA512 
f09d8f4c025a94768582d21598a6cc35647511439fa4136933d724954ddb1cab50335df5609a6e951593175faf03cfb233a8805c1bac90d7fda92cfe3f42b3f6
 DIST qtvirtualkeyboard-everywhere-src-6.6.0.tar.xz 3735008 BLAKE2B 
2c561b2f754c257bc14880edd14647f01c486edf712ba18382b79739816ba6a9577866d23d0666d0cfef21e089baf9fa06ebcb3c8d560327516faadeec2244c4
 SHA512 
5bf8c8b892c5398bf78662be3f44fbeb2f7dc96bf4ee88739f778c6427e5c8fd9f3e80356b9bd0ebea8f8adb733de44de51e8aaa6009b7cc52f0d0b5bfd3658b
+DIST qtvirtualkeyboard-everywhere-src-6.6.1.tar.xz 3732976 BLAKE2B 
d5b33ac4d20efc8f4f971ce4102e7962b91b14d36e06504bef5cf4de528069da583e91c5aa732d860850c32e8b5317c8a573787636df08eb0e2bb5e3f4b1f986
 SHA512 
9b12e3dc6bab0ae1dd86c4b2ff1b8dbff3477b2a2a17a123f34874a59aa02f3ae6ccc550046d1f3976e010ba74b4534667366498b1aa3604ac1d380db326740f

diff --git a/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.6.1.ebuild 
b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.6.1.ebuild
new file mode 100644
index 000000000000..a040a8b2bcce
--- /dev/null
+++ b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.6.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2023 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"
+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
+}

Reply via email to