summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-05-20 03:56:03 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-05-20 04:45:30 -0400
commit39cbe46e3c171dd03878f7af1964bb84309d1cd5 (patch)
tree0f391ee35e99becda2d996123b428350a3e57cc7 /dev-qt/qtvirtualkeyboard
parentdev-qt/qttranslations: add 6.7.1 (diff)
downloadgentoo-39cbe46e3c171dd03878f7af1964bb84309d1cd5.tar.gz
gentoo-39cbe46e3c171dd03878f7af1964bb84309d1cd5.tar.bz2
gentoo-39cbe46e3c171dd03878f7af1964bb84309d1cd5.zip
dev-qt/qtvirtualkeyboard: add 6.7.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtvirtualkeyboard')
-rw-r--r--dev-qt/qtvirtualkeyboard/Manifest1
-rw-r--r--dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.7.1.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-qt/qtvirtualkeyboard/Manifest b/dev-qt/qtvirtualkeyboard/Manifest
index 2d11854d0648..8e25ec29244b 100644
--- a/dev-qt/qtvirtualkeyboard/Manifest
+++ b/dev-qt/qtvirtualkeyboard/Manifest
@@ -1,2 +1,3 @@
DIST qtvirtualkeyboard-everywhere-opensource-src-5.15.13.tar.xz 10959164 BLAKE2B 808c5f28f12d0210b94ee3c9f282c000c1787686e454c8cb8ef601dafe7c0d8579796b2322edb553a997d4a8f38c2603b5314f6839873b257930bd9aa3959222 SHA512 abe58c132c8bd23d29de1937e2f1fb6571aec829ce74f4904d322c4046d8c70b4b9b508930e4c681a8e30ff1d8a63c627cc3bec1560e83dada426c09d827ae29
DIST qtvirtualkeyboard-everywhere-src-6.7.0.tar.xz 3720012 BLAKE2B 5bb60703f88225e8d2b18323c394b3f863a2364c39023eacf33c49d9ab3e0f0966f1ff37a38dd44ef3497d5f446a25aba7731697fd572fa001258657af54b7a8 SHA512 0e33a9d962eed6a75bceb25ba666adff2ee0e3eea229540415777000fd60de290c4b56a07870239943e96da626d71e4e4770d46198b8bfe1fb5e03bee64740e9
+DIST qtvirtualkeyboard-everywhere-src-6.7.1.tar.xz 3729484 BLAKE2B d5079f63f8c8dac1d5f364c7fc92477eb50f05c991ce9fbd2f5c7cde424348f9284b18b39bb0a22962aac5bdefdd890650356d65653ab20c68ab98b779e2a1cc SHA512 7d3baf735cac2906de5bc982fc3d1efa45c77d1d527ca3392cade59975cc8307ea85b0f7f018607cfc531742e8da6bfbc04f9ba4b523b2ebf1ebcde8f64befcd
diff --git a/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.7.1.ebuild b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.7.1.ebuild
new file mode 100644
index 000000000000..a6537989835b
--- /dev/null
+++ b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.7.1.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 ~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
+}