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:
41
dev-qt/qtgraphs/qtgraphs-6.11.9999.ebuild
Normal file
41
dev-qt/qtgraphs/qtgraphs-6.11.9999.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user