diff --git a/dev-qt/qtvirtualkeyboard/Manifest b/dev-qt/qtvirtualkeyboard/Manifest index 85a84bc0513cd..11cc90d975544 100644 --- a/dev-qt/qtvirtualkeyboard/Manifest +++ b/dev-qt/qtvirtualkeyboard/Manifest @@ -1 +1,2 @@ DIST qtvirtualkeyboard-everywhere-src-6.11.1.tar.xz 3293452 BLAKE2B 9c8b3d57d24f939fe7a6000fc875152d15b9673c5a8a701f170bbaa61301e1e06d8edb9d0bc9807dcb79734e7429f728bb9a22cccae5543d2b538ad2de1dd32e SHA512 c508d799a0335a8fb42837d0b52981c7bae22dc4bf7f53e989b156c31368dc9455d6a8d54b4e155fed8ce4d40606d0e4bcebdada41639e1545751a48a43e4653 +DIST qtvirtualkeyboard-everywhere-src-6.11.2.tar.xz 3284068 BLAKE2B b1139e65be6bfb4cc28e4a7b9e60821c07de6e3e5f99d4ba742232e4fb3c1c762790fdd382a475b00d511e2b807658afc458a099e5dfe1c74625ffb9ce94db5c SHA512 d9c33e0d07c86107256fc739dad0abd2ec7d7c832d769d36feeb213d0e2f9e52e66918afb3de58940a4b9b534d345b45be5101ff7ba0c0545710d1caf1fa1665 diff --git a/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.11.2.ebuild b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.11.2.ebuild new file mode 100644 index 0000000000000..a19423946286f --- /dev/null +++ b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.11.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 2023-2026 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="+sound +spell" + +RDEPEND=" + ~dev-qt/qtbase-${PV}:6[gui] + ~dev-qt/qtdeclarative-${PV}:6 + ~dev-qt/qtsvg-${PV}:6 + sound? ( ~dev-qt/qtmultimedia-${PV}:6[qml] ) + spell? ( app-text/hunspell:= ) +" +DEPEND="${RDEPEND}" + +src_configure() { + local mycmakeargs=( + $(qt_feature sound vkb_sound_effects) + $(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 +}