diff options
author | Chris Mayo <aklhfex@gmail.com> | 2024-10-29 19:57:31 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-11-24 20:24:23 +0000 |
commit | 330a3dc99a97ea3866e2f13cd70ac157a77d636b (patch) | |
tree | ad24b7141598c0077c037b1a44b6355505276e26 /media-gfx/freecad | |
parent | media-gfx/freecad: eselect-opencascade was treecleaned (diff) | |
download | gentoo-330a3dc99a97ea3866e2f13cd70ac157a77d636b.tar.gz gentoo-330a3dc99a97ea3866e2f13cd70ac157a77d636b.tar.bz2 gentoo-330a3dc99a97ea3866e2f13cd70ac157a77d636b.zip |
media-gfx/freecad: Move REQUIRED_USE
Signed-off-by: Chris Mayo <aklhfex@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx/freecad')
-rw-r--r-- | media-gfx/freecad/freecad-1.0.0-r1.ebuild | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/media-gfx/freecad/freecad-1.0.0-r1.ebuild b/media-gfx/freecad/freecad-1.0.0-r1.ebuild index dbe590bf1c4b..ee1a19f95dda 100644 --- a/media-gfx/freecad/freecad-1.0.0-r1.ebuild +++ b/media-gfx/freecad/freecad-1.0.0-r1.ebuild @@ -41,6 +41,30 @@ for module in ${FREECAD_EXPERIMENTAL_MODULES}; do done unset module +# To get required dependencies: +# 'grep REQUIRES_MODS cMake/FreeCAD_Helpers/CheckInterModuleDependencies.cmake' +# We set the following requirements by default: +# arch, draft, drawing, import, mesh, part, qt6, sketcher, spreadsheet, start, web. +# +# Additionally, we auto-enable mesh_part, flat_mesh and smesh +# Fem actually needs smesh, but as long as we don't have a smesh package, we enable +# smesh through the mesh USE flag. Note however, the fem<-smesh dependency isn't +# reflected by the REQUIRES_MODS macro, but at +# cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake:187. +# +# The increase in auto-enabled workbenches is due to their need in parts of the +# test suite when compiled with a minimal set of USE flags. +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + designer? ( gui ) + fem? ( smesh ) + inspection? ( points ) + openscad? ( smesh ) + path? ( robot ) + python_single_target_python3_12? ( gui? ( !qt5 ) ) +" +# There is no py3.12 support planned for pyside2 + RESTRICT="!test? ( test )" RDEPEND=" @@ -138,30 +162,6 @@ BDEPEND=" ) " -# To get required dependencies: -# 'grep REQUIRES_MODS cMake/FreeCAD_Helpers/CheckInterModuleDependencies.cmake' -# We set the following requirements by default: -# arch, draft, drawing, import, mesh, part, qt5, sketcher, spreadsheet, start, web. -# -# Additionally, we auto-enable mesh_part, flat_mesh and smesh -# Fem actually needs smesh, but as long as we don't have a smesh package, we enable -# smesh through the mesh USE flag. Note however, the fem<-smesh dependency isn't -# reflected by the REQUIRES_MODS macro, but at -# cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake:187. -# -# The increase in auto-enabled workbenches is due to their need in parts of the -# test suite when compiled with a minimal set of USE flags. -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - designer? ( gui ) - fem? ( smesh ) - inspection? ( points ) - openscad? ( smesh ) - path? ( robot ) - python_single_target_python3_12? ( gui? ( !qt5 ) ) -" -# There is no py3.12 support planned for pyside2 - PATCHES=( "${FILESDIR}"/${PN}-1.0.0-r1-Gentoo-specific-don-t-check-vcs.patch "${FILESDIR}"/${PN}-0.21.0-0001-Gentoo-specific-disable-ccache-usage.patch |