From ab7810b87f5bb33b3ed5edd0dbda7f4bcd0cf70d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 13 Sep 2023 22:45:20 +0100 Subject: gentoo auto-resync : 13:09:2023 - 22:45:20 --- .../qtvirtualkeyboard-6.6.9999.ebuild | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.6.9999.ebuild (limited to 'dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.6.9999.ebuild') diff --git a/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.6.9999.ebuild b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.6.9999.ebuild new file mode 100644 index 000000000000..a040a8b2bcce --- /dev/null +++ b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.6.9999.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 +} -- cgit v1.2.3