summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-03-12 06:33:04 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-03-12 07:59:35 -0400
commit49e5611c91a5549ab6e40bb1feba22d4df166d7f (patch)
tree5654ae436c2c795e8425522145f9daf509ed3911 /dev-qt/qtvirtualkeyboard
parentdev-qt/qttranslations: add 6.7.0_rc (diff)
downloadgentoo-49e5611c91a5549ab6e40bb1feba22d4df166d7f.tar.gz
gentoo-49e5611c91a5549ab6e40bb1feba22d4df166d7f.tar.bz2
gentoo-49e5611c91a5549ab6e40bb1feba22d4df166d7f.zip
dev-qt/qtvirtualkeyboard: add 6.7.0_rc
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.0_rc.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-qt/qtvirtualkeyboard/Manifest b/dev-qt/qtvirtualkeyboard/Manifest
index a4615631c7f8..6ff088ce7c7a 100644
--- a/dev-qt/qtvirtualkeyboard/Manifest
+++ b/dev-qt/qtvirtualkeyboard/Manifest
@@ -1,2 +1,3 @@
DIST qtvirtualkeyboard-everywhere-opensource-src-5.15.12.tar.xz 10959460 BLAKE2B 8d64dc4b8c395f6a0092fb3763447416fe069f1fe6611146bcece83a72983f4cee49400af833aca39e2805b9277d7ec37fa20e31e522832b61f002d977dbfebd SHA512 17c63ea6287f7dbc84c82762ea43da9fbb4d1c7281a4e81971c10eacfbfe7293a855dde35a37ed9c8cf5ccc289a0e1d0a0c970e6908cea5cae15f149b9f5e3c4
DIST qtvirtualkeyboard-everywhere-src-6.6.2.tar.xz 3723036 BLAKE2B e459bbdd195a824df44fdc72599dd04181cdeaa0ec2849fb75b9ff3ee7b4f86317b64df364c6883181397b5a1e09091966be3b7cfd29b2226956e799ddf7237b SHA512 bafff245ca6340e57a7abf312369ad2196beb85fd6dee4920e0cd5dc08f35f1f1ae3f861e6f3ac8766ef4e1059cca34ae9fc15a4eca806e7b5c7a9319e56bf2c
+DIST qtvirtualkeyboard-everywhere-src-6.7.0-rc.tar.xz 3723620 BLAKE2B cfb4c5b5c9da21c693e9317e18e015900bd7a1627e5fad58a8f49b9c76bd80cb4bc8a33c18977893670e7b1d475512cf4655f6fab3626727090d3748b61d4a9f SHA512 e3103c9ef11a75235807bc583701ca5c8aaee2463dedb664e77ea509620e2215e627416e689f1742c53a495662b6dac83826ba8d9e74a63b184720a7844ccc00
diff --git a/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.7.0_rc.ebuild b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.7.0_rc.ebuild
new file mode 100644
index 000000000000..4da95f48bdd5
--- /dev/null
+++ b/dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-6.7.0_rc.ebuild
@@ -0,0 +1,47 @@
+# 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 ~loong"
+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
+}