1 |
commit: 6628a9ab320db0de0a112215db0d3d586f282838 |
2 |
Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net> |
3 |
AuthorDate: Mon Jun 21 00:39:35 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 21 22:25:59 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6628a9ab |
7 |
|
8 |
media-gfx/freecad: sync changes from 0.19.2 |
9 |
|
10 |
- support sci-libs/opencascade-7.5.2 |
11 |
- support sci-libs/vtk-9 |
12 |
- add more optfeature's |
13 |
|
14 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
15 |
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net> |
16 |
Closes: https://github.com/gentoo/gentoo/pull/21350 |
17 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
18 |
|
19 |
media-gfx/freecad/freecad-9999.ebuild | 33 ++++++++++++++++++++++++++------- |
20 |
1 file changed, 26 insertions(+), 7 deletions(-) |
21 |
|
22 |
diff --git a/media-gfx/freecad/freecad-9999.ebuild b/media-gfx/freecad/freecad-9999.ebuild |
23 |
index b96f2771615..3d41d5d0ca1 100644 |
24 |
--- a/media-gfx/freecad/freecad-9999.ebuild |
25 |
+++ b/media-gfx/freecad/freecad-9999.ebuild |
26 |
@@ -19,7 +19,8 @@ if [[ ${PV} = *9999 ]]; then |
27 |
else |
28 |
MY_PV=$(ver_cut 1-2) |
29 |
MY_PV=$(ver_rs 1 '_' ${MY_PV}) |
30 |
- SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
31 |
+ SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz |
32 |
+ https://raw.githubusercontent.com/waebbl/waebbl-gentoo/master/patches/${P}-0005-Make-smesh-compile-with-vtk9.patch.xz" |
33 |
KEYWORDS="~amd64" |
34 |
S="${WORKDIR}/FreeCAD-${PV}" |
35 |
fi |
36 |
@@ -68,7 +69,7 @@ RDEPEND=" |
37 |
sci-libs/flann[openmp] |
38 |
sci-libs/hdf5:=[fortran,zlib] |
39 |
>=sci-libs/med-4.0.0-r1[python,${PYTHON_SINGLE_USEDEP}] |
40 |
- <sci-libs/opencascade-7.5.2:=[vtk(+)] |
41 |
+ sci-libs/opencascade:=[vtk(+)] |
42 |
sci-libs/orocos_kdl:= |
43 |
sys-libs/zlib |
44 |
virtual/glu |
45 |
@@ -78,9 +79,9 @@ RDEPEND=" |
46 |
dev-libs/openssl:= |
47 |
net-misc/curl |
48 |
) |
49 |
- fem? ( <sci-libs/vtk-9[boost,python,qt5,rendering,${PYTHON_SINGLE_USEDEP}] ) |
50 |
+ fem? ( sci-libs/vtk[boost,python,qt5,rendering,${PYTHON_SINGLE_USEDEP}] ) |
51 |
openscad? ( media-gfx/openscad ) |
52 |
- pcl? ( >=sci-libs/pcl-1.8.1:=[opengl,openni2(+),qt5(+),vtk(+)] ) |
53 |
+ pcl? ( ~sci-libs/pcl-${PV}:=[opengl,openni2(+),qt5(+),vtk(+)] ) |
54 |
$(python_gen_cond_dep ' |
55 |
dev-libs/boost:=[python,threads(+),${PYTHON_MULTI_USEDEP}] |
56 |
dev-python/matplotlib[${PYTHON_MULTI_USEDEP}] |
57 |
@@ -319,15 +320,33 @@ pkg_postinst() { |
58 |
einfo "You can load a lot of additional workbenches using the integrated" |
59 |
einfo "AddonManager." |
60 |
|
61 |
+ # ToDo: check opencv, pysolar (::science), elmerfem (::science) |
62 |
+ # ifc++, ifcopenshell, netgen, z88 (no pkgs), calculix-ccx (::waebbl) |
63 |
einfo "There are a lot of additional tools, for which FreeCAD has builtin" |
64 |
einfo "support. Some of them are available in Gentoo. Take a look at" |
65 |
einfo "https://wiki.freecadweb.org/Installing#External_software_supported_by_FreeCAD" |
66 |
- optfeature "interact with git repositories" dev-python/GitPython |
67 |
- optfeature "work with COLLADA documents" dev-python/pycollada |
68 |
+ optfeature_header "Computational utilities" |
69 |
+ optfeature "numerical computations with Python" dev-python/numpy |
70 |
+ optfeature "BLAS library" sci-libs/openblas |
71 |
+ optfeature "statistical computation with Python" dev-python/pandas |
72 |
+ optfeature "usage of Point Clouds" sci-libs/pcl |
73 |
+ optfeature "scientific computation with Python" dev-python/scipy |
74 |
+ optfeature "symbolic math with Python" dev-python/sympy |
75 |
+ optfeature_header "Imaging, Plotting and Rendering utilities" |
76 |
+ optfeature "function plotting with Python" dev-python/matplotlib |
77 |
optfeature "dependency graphs" media-gfx/graphviz |
78 |
optfeature "PBR Rendering" media-gfx/povray |
79 |
- optfeature "FEM mesh generator" sci-libs/gmsh |
80 |
+ optfeature_header "Import / Export" |
81 |
+ optfeature "interacting with git repositories" dev-python/GitPython |
82 |
+ optfeature "working with COLLADA documents" dev-python/pycollada |
83 |
+ optfeature "YAML importer and emitter" dev-python/pyyaml |
84 |
optfeature "importing and exporting 2D AutoCAD DWG files" media-gfx/libredwg |
85 |
+ optfeature "importing and exporting geospatial data formats" sci-libs/gdal |
86 |
+ optfeature "working with projection data" sci-libs/proj |
87 |
+ optfeature_header "Meshing and FEM" |
88 |
+ optfeature "FEM mesh generator" sci-libs/gmsh |
89 |
+ optfeature "triangulating meshes" sci-libs/gts |
90 |
+ optfeature "visualization" sci-visualization/paraview |
91 |
} |
92 |
|
93 |
pkg_postrm() { |