commit:     6588ca720627bb749deee3adad23d0bda9347b3d
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  8 04:51:07 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Oct  8 05:01:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6588ca72

dev-qt/qtvirtualkeyboard: add 6.8.0

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

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

diff --git a/dev-qt/qtvirtualkeyboard/Manifest 
b/dev-qt/qtvirtualkeyboard/Manifest
index 7997b1b76887..2e5b0b4ccc94 100644
--- a/dev-qt/qtvirtualkeyboard/Manifest
+++ b/dev-qt/qtvirtualkeyboard/Manifest
@@ -1,3 +1,4 @@
 DIST qtvirtualkeyboard-everywhere-opensource-src-5.15.14.tar.xz 10952936 
BLAKE2B 
258584cfe09100fa35b8b6293a6fb29f7d7631a7ca8e3b27d121bfa8a86e96c5a346dae1aed3aca6d80501210f5cc594f1c133adc41f12dcdfde6d12d2f91a0c
 SHA512 
d6ff2770282e460a8d9fff3746225918cb21c65ef0d0d89e1c6876428ca1e860ecf45b44d57c9ef6e9a85cb050a4a67ecc1b20ae5c5be0a37d8b73ca439587c3
 DIST qtvirtualkeyboard-everywhere-src-6.7.2.tar.xz 3722296 BLAKE2B 
316ee5e2204ebabd97c0d6ceb8bd9775bc456eb404f6ffee43a163823c43d86a94e900a06d8a1124506385aa8b17d67efd70caec64cded9dcd747d667186c9fd
 SHA512 
016400a65e14a5ec960f20ecf6b2b7c32fa0c67d530c5046b423633b02efce200e0967642a072ff825c54c334dfe45be3e569c16d641a735f181d233fa414782
 DIST qtvirtualkeyboard-everywhere-src-6.7.3.tar.xz 3720000 BLAKE2B 
fb01edae53fd2b1f67cc33533dc5baf91c6a84bfe9f51c40bdb6f1b00dbe07287359fedc95af294686789d896cc64e5b2cd07f4b0515a3c99cf954db53a04a49
 SHA512 
cc08560c565289c43e9e89f247f9eb26eed6d678892681310728c639f6f70bdaa5947b436dfce437b8e0dd9d9386229a391f19587080f043e41a53f4fcf06067
+DIST qtvirtualkeyboard-everywhere-src-6.8.0.tar.xz 3722484 BLAKE2B 
9c213c477837d9309e925e002631057ca764106abf46a50aa65fca229b5b2f578e3922021e1805c41b9088b11a1bc6cd97c556ede8e8b7a45510c8b113beb0dd
 SHA512 
a01cfa1908a1932b1fb11c3efc7f3493f42cc9a6c80f56f1ef18b13677a9bbf3714bffd33e76465b90404b6b43d371de1778ed8dd38cac0b5288f36030e016db

diff --git a/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.8.0.ebuild 
b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.8.0.ebuild
new file mode 100644
index 000000000000..4639b2cf069d
--- /dev/null
+++ b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.8.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 ~arm64 ~loong ~ppc64 ~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