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 d21535e7cb
586 changed files with 30139 additions and 0 deletions

2
dev-qt/qtgraphs/Manifest Normal file
View File

@ -0,0 +1,2 @@
DIST qtgraphs-everywhere-src-6.10.3.tar.xz 5285932 BLAKE2B 9de23a828d4d5dddf540ecec681ef7e50551adaeed256cfaf8f87d4622fd6bc918063269755608f3649eb7dcd2f7605c64b3c160c7a5ce242def21f6471955c7 SHA512 340026e2a1ea40e21a51ad3f6a5da10028afe8c945656eb4227f0e90ed50beb4ce39d747127a9f93a696c08c320d5917c383e3147551e0bd27209b44c05d93b9
DIST qtgraphs-everywhere-src-6.11.1.tar.xz 9285696 BLAKE2B a1051a426811963188db900c0c409259d036b5ef6d66923ce690c7ec990fa99185b4389764e431bd4d4679ccab737b64e362da7e25ff89706c3d16c5128f241b SHA512 e9fef9b7f65c51ee3076e269fc5b8ed139ecf01295dd7e8d763e380ded1935f6224d3e7957a2ca705877aac83647a49c74573dd69ab067b49535454148fa313b

View File

@ -0,0 +1,7 @@
https://bugs.gentoo.org/972717
https://qt-project.atlassian.net/browse/QTBUG-145607
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20 +20 @@
-find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Core Quick Gui Widgets QuickTest QuickWidgets Test Quick3D QuickShapesPrivate PrintSupport)
+find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Core Quick Gui Widgets QuickTest QuickWidgets Test ShaderTools Quick3D QuickShapesPrivate PrintSupport)

View File

@ -0,0 +1,21 @@
<?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/qtgraphs</remote-id>
</upstream>
<use>
<flag name="quick3d">Enable support for 3D graphs using <pkg>dev-qt/qtquick3d</pkg></flag>
</use>
<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,37 @@
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
DESCRIPTION="Graphs component library for the Qt6 framework"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="amd64"
fi
IUSE="quick3d"
# note: widgets is only used with quick3d and is technically optional,
# but the top level CMakeLists.txt requires through assertTargets()
RDEPEND="
~dev-qt/qtbase-${PV}:6[gui,widgets]
~dev-qt/qtdeclarative-${PV}:6
quick3d? ( ~dev-qt/qtquick3d-${PV}:6 )
"
DEPEND="${RDEPEND}"
CMAKE_SKIP_TESTS=(
# hangs+timeout with offscreen rendering
tst_qgqmltest
)
src_configure() {
local mycmakeargs=(
# simpler than keeping track of and disabling every graphs-3d* features
$(cmake_use_find_package quick3d Qt6Quick3D)
)
qt6-build_src_configure
}

View File

@ -0,0 +1,41 @@
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
DESCRIPTION="Graphs component library for the Qt6 framework"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="amd64"
fi
IUSE="quick3d"
# note: widgets is only used with quick3d and is technically optional,
# but the top level CMakeLists.txt requires through assertTargets()
RDEPEND="
~dev-qt/qtbase-${PV}:6[gui,widgets]
~dev-qt/qtdeclarative-${PV}:6
quick3d? ( ~dev-qt/qtquick3d-${PV}:6 )
"
DEPEND="${RDEPEND}"
CMAKE_SKIP_TESTS=(
# hangs+timeout with offscreen rendering
tst_qgqmltest
)
PATCHES=(
"${FILESDIR}"/${PN}-6.11.0-no-quick3d.patch
)
src_configure() {
local mycmakeargs=(
# simpler than keeping track of and disabling every graphs-3d* features
$(cmake_use_find_package quick3d Qt6Quick3D)
)
qt6-build_src_configure
}

View File

@ -0,0 +1,41 @@
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
DESCRIPTION="Graphs component library for the Qt6 framework"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64"
fi
IUSE="quick3d"
# note: widgets is only used with quick3d and is technically optional,
# but the top level CMakeLists.txt requires through assertTargets()
RDEPEND="
~dev-qt/qtbase-${PV}:6[gui,widgets]
~dev-qt/qtdeclarative-${PV}:6
quick3d? ( ~dev-qt/qtquick3d-${PV}:6 )
"
DEPEND="${RDEPEND}"
CMAKE_SKIP_TESTS=(
# hangs+timeout with offscreen rendering
tst_qgqmltest
)
PATCHES=(
"${FILESDIR}"/${PN}-6.11.0-no-quick3d.patch
)
src_configure() {
local mycmakeargs=(
# simpler than keeping track of and disabling every graphs-3d* features
$(cmake_use_find_package quick3d Qt6Quick3D)
)
qt6-build_src_configure
}

View File

@ -0,0 +1,39 @@
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
DESCRIPTION="Graphs component library for the Qt6 framework"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64"
fi
IUSE="quick3d"
# note: widgets is only used with quick3d and is technically optional,
# but the top level CMakeLists.txt requires through assertTargets()
RDEPEND="
~dev-qt/qtbase-${PV}:6[gui,widgets]
~dev-qt/qtdeclarative-${PV}:6
quick3d? ( ~dev-qt/qtquick3d-${PV}:6 )
"
DEPEND="${RDEPEND}"
CMAKE_SKIP_TESTS=(
# hangs+timeout with offscreen rendering
tst_qgqmltest
)
src_configure() {
local mycmakeargs=(
# simpler than keeping track of and disabling every graphs-3d* features
$(cmake_use_find_package quick3d Qt6Quick3D)
# not packaged yet, and Qt disables it by default for now
-DQT_FEATURE_graphs_2d_high_performance_backend=OFF
)
qt6-build_src_configure
}

View File

@ -0,0 +1,39 @@
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
DESCRIPTION="Graphs component library for the Qt6 framework"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64"
fi
IUSE="quick3d"
# note: widgets is only used with quick3d and is technically optional,
# but the top level CMakeLists.txt requires through assertTargets()
RDEPEND="
~dev-qt/qtbase-${PV}:6[gui,widgets]
~dev-qt/qtdeclarative-${PV}:6
quick3d? ( ~dev-qt/qtquick3d-${PV}:6 )
"
DEPEND="${RDEPEND}"
CMAKE_SKIP_TESTS=(
# hangs+timeout with offscreen rendering
tst_qgqmltest
)
src_configure() {
local mycmakeargs=(
# simpler than keeping track of and disabling every graphs-3d* features
$(cmake_use_find_package quick3d Qt6Quick3D)
# not packaged yet, and Qt disables it by default for now
-DQT_FEATURE_graphs_2d_high_performance_backend=OFF
)
qt6-build_src_configure
}