Add dev-qt from an older version of the gentoo repo

Qt5 has been removed, we restore it since we still use it.
This commit is contained in:
2026-07-03 09:45:00 +02:00
parent 2247967dd3
commit 692df50613
319 changed files with 15302 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST qtvirtualkeyboard-everywhere-src-6.10.3.tar.xz 3270636 BLAKE2B 45b8bc16e7bf340be70974ba4bd20220596779b66eaaa17e9abc713fda6e5f779850efce8c70d9b859bf13c4e5c154d0aabf00a86d28a4a2ef555c80ac383465 SHA512 8fecca824e814c43da8dccbeab8eb22c064fc01daea7adc68bc830856685aed77996cd50afa31ed1db67956b9b1b9a4d39285f382b4d96ce4972f28b9d6f79c5
DIST qtvirtualkeyboard-everywhere-src-6.11.1.tar.xz 3293452 BLAKE2B 9c8b3d57d24f939fe7a6000fc875152d15b9673c5a8a701f170bbaa61301e1e06d8edb9d0bc9807dcb79734e7429f728bb9a22cccae5543d2b538ad2de1dd32e SHA512 c508d799a0335a8fb42837d0b52981c7bae22dc4bf7f53e989b156c31368dc9455d6a8d54b4e155fed8ce4d40606d0e4bcebdada41639e1545751a48a43e4653

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>qt@gentoo.org</email>
<name>Gentoo Qt Project</name>
</maintainer>
<upstream>
<bugs-to>https://qt-project.atlassian.net/</bugs-to>
<doc>https://doc.qt.io/</doc>
<remote-id type="github">qt/qtvirtualkeyboard</remote-id>
</upstream>
<slots>
<subslots>
Must only be used by packages that are known to use private parts of the Qt API.
</subslots>
</slots>
</pkgmetadata>

View File

@ -0,0 +1,53 @@
# 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
}

View File

@ -0,0 +1,53 @@
# 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=(
$(qt_feature sound vkb_sound_effects)
$(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
}

View File

@ -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[qml] )
spell? ( app-text/hunspell:= )
"
DEPEND="${RDEPEND}"
src_configure() {
local mycmakeargs=(
$(qt_feature sound vkb_sound_effects)
$(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
}

View File

@ -0,0 +1,53 @@
# 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=(
$(qt_feature sound vkb_sound_effects)
$(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
}

View File

@ -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[qml] )
spell? ( app-text/hunspell:= )
"
DEPEND="${RDEPEND}"
src_configure() {
local mycmakeargs=(
$(qt_feature sound vkb_sound_effects)
$(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
}