dev-qt/qtvirtualkeyboard - 6.10.3 (gentoo)

Search

Install

Install this version:

emerge -a =dev-qt/qtvirtualkeyboard-6.10.3

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-qt/qtvirtualkeyboard-6.10.3

Or alternatively:

emerge --autounmask-write -a =dev-qt/qtvirtualkeyboard-6.10.3

Package Information

Description:
Customizable input framework and virtual keyboard for Qt

Ebuild Details

Version EAPI Keywords Slot
6.10.3 8 ~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86
View Raw Ebuild
# 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=(
		$(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
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-qt/qtvirtualkeyboard | euse -E <flag> -p dev-qt/qtvirtualkeyboard | euse -D <flag> -p dev-qt/qtvirtualkeyboard

Global/Standard Flags

sound
Default: Enabled (+)
spell
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	~dev-qt/qtbase-6.10.3:6[gui]
	~dev-qt/qtdeclarative-:6
	~dev-qt/qtsvg-:6
	sound? ( ~dev-qt/qtmultimedia-:6[qml] )
	spell? ( app-text/hunspell:= )

RDEPEND

	~dev-qt/qtbase-6.10.3:6[gui]
	~dev-qt/qtdeclarative-:6
	~dev-qt/qtsvg-:6
	sound? ( ~dev-qt/qtmultimedia-:6[qml] )
	spell? ( app-text/hunspell:= )