diff --git a/dev-qt/qtgraphs/Manifest b/dev-qt/qtgraphs/Manifest new file mode 100644 index 0000000000000..8ba7abd765e34 --- /dev/null +++ b/dev-qt/qtgraphs/Manifest @@ -0,0 +1 @@ +DIST qtgraphs-everywhere-src-6.9.1.tar.xz 5230620 BLAKE2B e87205e821dbde845f72c5bb8577637eb9faa8d1ca4a07a7100e51cf9beeaf17d51f8f88b20c8c853638ef6a077f410cdce046b66485b586ddd56ead906a59bb SHA512 7a2ca552a296ac700cf92a03cb3e1edda678882147b64e858409aa5bbe440b6d7e969c7c68b7364dfa824f167492446c6933dc818decf16692d41359e2782641 diff --git a/dev-qt/qtgraphs/metadata.xml b/dev-qt/qtgraphs/metadata.xml new file mode 100644 index 0000000000000..544e3d5e3b813 --- /dev/null +++ b/dev-qt/qtgraphs/metadata.xml @@ -0,0 +1,21 @@ + + + + + qt@gentoo.org + Gentoo Qt Project + + + https://bugreports.qt.io/ + https://doc.qt.io/ + qt/qtgraphs + + + Enable support for 3D graphs using dev-qt/qtquick3d + + + + Must only be used by packages that are known to use private parts of the Qt API. + + + diff --git a/dev-qt/qtgraphs/qtgraphs-6.10.9999.ebuild b/dev-qt/qtgraphs/qtgraphs-6.10.9999.ebuild new file mode 100644 index 0000000000000..49d7c4464b8cc --- /dev/null +++ b/dev-qt/qtgraphs/qtgraphs-6.10.9999.ebuild @@ -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 +} diff --git a/dev-qt/qtgraphs/qtgraphs-6.9.1.ebuild b/dev-qt/qtgraphs/qtgraphs-6.9.1.ebuild new file mode 100644 index 0000000000000..49d7c4464b8cc --- /dev/null +++ b/dev-qt/qtgraphs/qtgraphs-6.9.1.ebuild @@ -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 +} diff --git a/dev-qt/qtgraphs/qtgraphs-6.9.9999.ebuild b/dev-qt/qtgraphs/qtgraphs-6.9.9999.ebuild new file mode 100644 index 0000000000000..49d7c4464b8cc --- /dev/null +++ b/dev-qt/qtgraphs/qtgraphs-6.9.9999.ebuild @@ -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 +} diff --git a/dev-qt/qtgraphs/qtgraphs-6.9999.ebuild b/dev-qt/qtgraphs/qtgraphs-6.9999.ebuild new file mode 100644 index 0000000000000..49d7c4464b8cc --- /dev/null +++ b/dev-qt/qtgraphs/qtgraphs-6.9999.ebuild @@ -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 +} diff --git a/metadata/stabilization-groups/qt/qt6.group b/metadata/stabilization-groups/qt/qt6.group index ff400cbf75e2e..9ca90e6a39550 100644 --- a/metadata/stabilization-groups/qt/qt6.group +++ b/metadata/stabilization-groups/qt/qt6.group @@ -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