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 qtserialbus-everywhere-src-6.10.3.tar.xz 535580 BLAKE2B f0c8931eb7825a085e32e1e8d23405ce1bf21b8543ab52151ea5e43d9b9ecfd58a5ef81d07717323d977ca73f1b7d40e4a0a9f86878ac089dd85136746d68b3a SHA512 7ef42948e9eb5731e53c810d1f0e2857e7f9e4bf349c7a55a3a61c02efadd36a83b149eb35467274b0627a5192d09f1d64dda60b3106349fd4c88d8d58b76085
DIST qtserialbus-everywhere-src-6.11.1.tar.xz 535680 BLAKE2B 7541abba622784308a19b0a2b877d24f459021f4ef403f54d084935aa0b03ea00c9865cf8e5e59fc1050734bcad6a1af7dd9ab4c244da89695282b7f55dcbaae SHA512 bb655d719ad753fe06bfe89f1cc02a5b5fa64edf560b9529817b09a9a701b9952806bc18e98f58ebabe78d8207336db250baf613df3e15f8f380d1ebef320ee3

View File

@ -0,0 +1,17 @@
<?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>
</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,38 @@
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
DESCRIPTION="Qt module to access CAN, ModBus, and other industrial serial buses and protocols"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="amd64 x86"
fi
RDEPEND="
~dev-qt/qtbase-${PV}:6[network]
~dev-qt/qtserialport-${PV}:6
"
DEPEND="${RDEPEND}"
CMAKE_SKIP_TESTS=(
# rarely fails randomly (perhaps related to -j)
tst_qcandbcfileparser
)
src_install() {
qt6-build_src_install
if use test; then
local delete=( # sigh
"${D}${QT6_LIBDIR}"/cmake/Qt6SerialBus/*TestCanBusPlugin*.cmake
"${D}${QT6_MKSPECSDIR}"/modules/qt_plugin_qttestcanbus.pri
"${D}${QT6_PLUGINDIR}"/canbus/libqttestcanbus.*
"${D}${QT6_PLUGINDIR}"/canbus/objects-*/
)
# using -f given not tracking which tests may be skipped or not
rm -rf -- "${delete[@]}" || die
fi
}

View File

@ -0,0 +1,38 @@
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
DESCRIPTION="Qt module to access CAN, ModBus, and other industrial serial buses and protocols"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="amd64 x86"
fi
RDEPEND="
~dev-qt/qtbase-${PV}:6[network]
~dev-qt/qtserialport-${PV}:6
"
DEPEND="${RDEPEND}"
CMAKE_SKIP_TESTS=(
# rarely fails randomly (perhaps related to -j)
tst_qcandbcfileparser
)
src_install() {
qt6-build_src_install
if use test; then
local delete=( # sigh
"${D}${QT6_LIBDIR}"/cmake/Qt6SerialBus/*TestCanBusPlugin*.cmake
"${D}${QT6_MKSPECSDIR}"/modules/qt_plugin_qttestcanbus.pri
"${D}${QT6_PLUGINDIR}"/canbus/libqttestcanbus.*
"${D}${QT6_PLUGINDIR}"/canbus/objects-*/
)
# using -f given not tracking which tests may be skipped or not
rm -rf -- "${delete[@]}" || die
fi
}

View File

@ -0,0 +1,38 @@
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
DESCRIPTION="Qt module to access CAN, ModBus, and other industrial serial buses and protocols"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~x86"
fi
RDEPEND="
~dev-qt/qtbase-${PV}:6[network]
~dev-qt/qtserialport-${PV}:6
"
DEPEND="${RDEPEND}"
CMAKE_SKIP_TESTS=(
# rarely fails randomly (perhaps related to -j)
tst_qcandbcfileparser
)
src_install() {
qt6-build_src_install
if use test; then
local delete=( # sigh
"${D}${QT6_LIBDIR}"/cmake/Qt6SerialBus/*TestCanBusPlugin*.cmake
"${D}${QT6_MKSPECSDIR}"/modules/qt_plugin_qttestcanbus.pri
"${D}${QT6_PLUGINDIR}"/canbus/libqttestcanbus.*
"${D}${QT6_PLUGINDIR}"/canbus/objects-*/
)
# using -f given not tracking which tests may be skipped or not
rm -rf -- "${delete[@]}" || die
fi
}

View File

@ -0,0 +1,38 @@
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
DESCRIPTION="Qt module to access CAN, ModBus, and other industrial serial buses and protocols"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~x86"
fi
RDEPEND="
~dev-qt/qtbase-${PV}:6[network]
~dev-qt/qtserialport-${PV}:6
"
DEPEND="${RDEPEND}"
CMAKE_SKIP_TESTS=(
# rarely fails randomly (perhaps related to -j)
tst_qcandbcfileparser
)
src_install() {
qt6-build_src_install
if use test; then
local delete=( # sigh
"${D}${QT6_LIBDIR}"/cmake/Qt6SerialBus/*TestCanBusPlugin*.cmake
"${D}${QT6_MKSPECSDIR}"/modules/qt_plugin_qttestcanbus.pri
"${D}${QT6_PLUGINDIR}"/canbus/libqttestcanbus.*
"${D}${QT6_PLUGINDIR}"/canbus/objects-*/
)
# using -f given not tracking which tests may be skipped or not
rm -rf -- "${delete[@]}" || die
fi
}

View File

@ -0,0 +1,38 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
DESCRIPTION="Qt module to access CAN, ModBus, and other industrial serial buses and protocols"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~x86"
fi
RDEPEND="
~dev-qt/qtbase-${PV}:6[network]
~dev-qt/qtserialport-${PV}:6
"
DEPEND="${RDEPEND}"
CMAKE_SKIP_TESTS=(
# rarely fails randomly (perhaps related to -j)
tst_qcandbcfileparser
)
src_install() {
qt6-build_src_install
if use test; then
local delete=( # sigh
"${D}${QT6_LIBDIR}"/cmake/Qt6SerialBus/*TestCanBusPlugin*.cmake
"${D}${QT6_MKSPECSDIR}"/modules/qt_plugin_qttestcanbus.pri
"${D}${QT6_PLUGINDIR}"/canbus/libqttestcanbus.*
"${D}${QT6_PLUGINDIR}"/canbus/objects-*/
)
# using -f given not tracking which tests may be skipped or not
rm -rf -- "${delete[@]}" || die
fi
}