mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-qt/qtgraphs: new package, add 6.9.1 + live
Not needed by anything in ::gentoo "yet", but qtcharts is being deprecated in Qt 6.10 and projects are told to migrate to qtgraphs, so let's get this ready. Unknown at the moment how much quick3d will be needed/wanted (required for QtGraphsWidgets), left off-by-default for now but that can be revisited if packages start needing it. quick3d is kept conditional given it can be flaky on some arches (may need to mask depending on future keywords) and is semi-big to build. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
1
dev-qt/qtgraphs/Manifest
Normal file
1
dev-qt/qtgraphs/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST qtgraphs-everywhere-src-6.9.1.tar.xz 5230620 BLAKE2B e87205e821dbde845f72c5bb8577637eb9faa8d1ca4a07a7100e51cf9beeaf17d51f8f88b20c8c853638ef6a077f410cdce046b66485b586ddd56ead906a59bb SHA512 7a2ca552a296ac700cf92a03cb3e1edda678882147b64e858409aa5bbe440b6d7e969c7c68b7364dfa824f167492446c6933dc818decf16692d41359e2782641
|
||||
21
dev-qt/qtgraphs/metadata.xml
Normal file
21
dev-qt/qtgraphs/metadata.xml
Normal 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://bugreports.qt.io/</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>
|
||||
32
dev-qt/qtgraphs/qtgraphs-6.10.9999.ebuild
Normal file
32
dev-qt/qtgraphs/qtgraphs-6.10.9999.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 2025 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}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
# simpler than keeping track of and disabling every graphs-3d* features
|
||||
$(cmake_use_find_package quick3d Qt6Quick3D)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
32
dev-qt/qtgraphs/qtgraphs-6.9.1.ebuild
Normal file
32
dev-qt/qtgraphs/qtgraphs-6.9.1.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 2025 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}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
# simpler than keeping track of and disabling every graphs-3d* features
|
||||
$(cmake_use_find_package quick3d Qt6Quick3D)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
32
dev-qt/qtgraphs/qtgraphs-6.9.9999.ebuild
Normal file
32
dev-qt/qtgraphs/qtgraphs-6.9.9999.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 2025 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}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
# simpler than keeping track of and disabling every graphs-3d* features
|
||||
$(cmake_use_find_package quick3d Qt6Quick3D)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
32
dev-qt/qtgraphs/qtgraphs-6.9999.ebuild
Normal file
32
dev-qt/qtgraphs/qtgraphs-6.9999.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 2025 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}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
# simpler than keeping track of and disabling every graphs-3d* features
|
||||
$(cmake_use_find_package quick3d Qt6Quick3D)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
@@ -6,6 +6,7 @@ dev-qt/qtbase:6
|
||||
dev-qt/qtcharts:6
|
||||
dev-qt/qtconnectivity:6
|
||||
dev-qt/qtdeclarative:6
|
||||
dev-qt/qtgraphs:6
|
||||
dev-qt/qthttpserver:6
|
||||
dev-qt/qtimageformats:6
|
||||
dev-qt/qtlanguageserver:6
|
||||
|
||||
Reference in New Issue
Block a user