commit: fcdce40e9a6b57b07785f082acdad4f4a8201bab
Author: Chris Mayo <aklhfex <AT> gmail <DOT> com>
AuthorDate: Tue Oct 29 19:57:32 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 24 20:24:29 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcdce40e
media-gfx/freecad: dev-qt/qttools:6[designer] is optional
gui needs qttools for UiTools, then if designer also Designer
cMake/FreeCAD_Helpers/SetupQt.cmake:
if(BUILD_GUI)
elseif (FREECAD_QT_MAJOR_VERSION EQUAL 6)
list (APPEND FREECAD_QT_COMPONENTS GuiTools)
list (APPEND FREECAD_QT_COMPONENTS SvgWidgets)
endif()
list (APPEND FREECAD_QT_COMPONENTS OpenGL PrintSupport Svg UiTools Widgets
if(BUILD_DESIGNER_PLUGIN)
list (APPEND FREECAD_QT_COMPONENTS Designer)
But for PySide6, the Gentoo ebuild states:
# Note that the "designer" USE flag corresponds to the "Qt6UiTools" module.
Signed-off-by: Chris Mayo <aklhfex <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-gfx/freecad/freecad-1.0.0-r1.ebuild | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/media-gfx/freecad/freecad-1.0.0-r1.ebuild
b/media-gfx/freecad/freecad-1.0.0-r1.ebuild
index 6e6ae700d693..b94d9c8b5c8d 100644
--- a/media-gfx/freecad/freecad-1.0.0-r1.ebuild
+++ b/media-gfx/freecad/freecad-1.0.0-r1.ebuild
@@ -98,14 +98,13 @@ RDEPEND="
' python3_{10..11} )
)
!qt5? (
- designer? ( dev-qt/qttools:6[designer] )
- dev-qt/qttools:6[widgets]
dev-qt/qtbase:6[gui,opengl,widgets]
dev-qt/qtsvg:6
+ dev-qt/qttools:6[designer?,widgets]
$(python_gen_cond_dep '
dev-python/matplotlib[${PYTHON_USEDEP}]
>=dev-python/pivy-0.6.5[${PYTHON_USEDEP}]
- dev-python/pyside6:=[gui,svg,${PYTHON_USEDEP}]
+
dev-python/pyside6:=[designer,gui,svg,${PYTHON_USEDEP}]
dev-python/shiboken6:=[${PYTHON_USEDEP}]
' )
)