diff --git a/dev-qt/qtvirtualkeyboard/Manifest b/dev-qt/qtvirtualkeyboard/Manifest index 974cda3feb059..397bc8e6a43fa 100644 --- a/dev-qt/qtvirtualkeyboard/Manifest +++ b/dev-qt/qtvirtualkeyboard/Manifest @@ -1,2 +1,3 @@ DIST qtvirtualkeyboard-everywhere-opensource-src-5.15.16.tar.xz 10951872 BLAKE2B 5e05b68162e779df73c209f959bb641b7c4eb20badf8299fa7277c99b86e4462fe6d5f98c2c9ae1bc49f4995b61eb0132428409a3286d24232f20cb214686996 SHA512 af7ca963784773b94bfed000cabf5dbfb6363211d6b2601ccb6aed26eccd2eaa1e34dc8e7a6f1bbc678432f4086284df82c66e8da1c7fc7c8f5ec37983f687b9 DIST qtvirtualkeyboard-everywhere-src-6.8.2.tar.xz 3264624 BLAKE2B 8cd1f41428f7472faeb8ebf728f0d2770605dc88070a9a389ca80cc5a02d3624aa49202586f3a471ccba442ec159985c76d4642a72e0df6abf91520aab71b638 SHA512 047ea1f7c6c43bb4ddaea67f46819e61e878419c9dda599198cccf80bb53b002d79c44d0ce1df5727711ba45d0528400bc6643d3a9a9b0cc608497558c3013b2 +DIST qtvirtualkeyboard-everywhere-src-6.9.0-rc.tar.xz 3270332 BLAKE2B 365d454e1df414be3efb05d638f287c36722f92b4f2cc0bbec64af0b447eb8a5234e0aef5b4ce5c9b3b2a642e6785ee66ccb86b6fda7b4d20881866670e315e3 SHA512 e68c242ffc245c5092f4ba2f241a61e7d37d395274cef54af09298c00a95f0fdb3c6b02fb6167ecce2353973d1ed29393fe6ea212c3cd8e68461d145cae53dfa diff --git a/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.9.0_rc.ebuild b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.9.0_rc.ebuild new file mode 100644 index 0000000000000..accb2ea78ae5a --- /dev/null +++ b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.9.0_rc.ebuild @@ -0,0 +1,53 @@ +# Copyright 2023-2025 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 ) + spell? ( app-text/hunspell:= ) +" +DEPEND="${RDEPEND}" + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package sound Qt6Multimedia) + $(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 +}