commit: 635048cbf694f4fe6f191485a4411ee80ddd0bfb
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=635048cb
media-gfx/freecad: Restrict optfeature use to programs used by FreeCAD
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 | 23 +++++++----------------
1 file changed, 7 insertions(+), 16 deletions(-)
diff --git a/media-gfx/freecad/freecad-1.0.0-r1.ebuild
b/media-gfx/freecad/freecad-1.0.0-r1.ebuild
index b65f1949b68d..68b2c367dc13 100644
--- a/media-gfx/freecad/freecad-1.0.0-r1.ebuild
+++ b/media-gfx/freecad/freecad-1.0.0-r1.ebuild
@@ -329,25 +329,16 @@ pkg_postinst() {
einfo "You can load a lot of additional workbenches using the
integrated"
einfo "AddonManager."
- # ToDo: check opencv, pysolar (::science), elmerfem (::science)
- # ifc++, ifcopenshell, z88 (no pkgs), calculix-ccx
(::waebbl)
einfo "There are a lot of additional tools, for which FreeCAD has
builtin"
einfo "support. Some of them are available in Gentoo. Take a look at"
einfo "https://wiki.freecad.org/Installing_additional_components"
- optfeature_header "Computational utilities"
- optfeature "Statistical computation with Python" dev-python/pandas
- optfeature "Use scientific computation with Python" dev-python/scipy
- optfeature "Use symbolic math with Python" dev-python/sympy
- optfeature_header "Imaging, Plotting and Rendering utilities"
- optfeature "Dependency graphs" media-gfx/graphviz
- optfeature_header "Import / Export"
- optfeature "Work with COLLADA documents" dev-python/pycollada
- optfeature "Importing and exporting 2D AutoCAD DWG files"
media-gfx/libredwg
- optfeature "Importing and exporting geospatial data formats"
sci-libs/gdal
- optfeature "Working with projection data" sci-libs/proj
- optfeature_header "Meshing and FEM"
- optfeature "FEM mesh generator" sci-libs/gmsh
- optfeature "Visualization" sci-visualization/paraview
+ optfeature_header "External programs used by FreeCAD"
+ optfeature "dependency graphs" media-gfx/graphviz
+ optfeature "importing and exporting 2D AutoCAD DWG files"
media-gfx/libredwg
+ use bim && optfeature "working with COLLADA documents"
dev-python/pycollada
+ if use fem || use mesh; then
+ optfeature "mesh generation" sci-libs/gmsh
+ fi
}
pkg_postrm() {