Diff gmsh-4.10.3-r1 with a gmsh-4.11.1-r1
/usr/portage/sci-libs/gmsh/gmsh-4.11.1-r1.ebuild 2023-10-09 14:52:35.072368491 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
PYTHON_COMPAT=( python3_{9..11} ) |
|
6 |
PYTHON_COMPAT=( python3_{10..11} ) |
|
7 | 7 | |
8 |
inherit cmake fortran-2 python-any-r1 toolchain-funcs |
|
8 |
inherit cmake desktop fortran-2 python-any-r1 toolchain-funcs xdg-utils |
|
9 | 9 | |
10 | 10 |
DESCRIPTION="Three-dimensional finite element mesh generator" |
11 | 11 |
HOMEPAGE="https://gmsh.info" |
... | ... | |
51 | 51 |
sci-libs/med[mpi=] |
52 | 52 |
sci-libs/hdf5[mpi=] |
53 | 53 |
) |
54 |
metis? ( <sci-libs/metis-5.2.0 ) |
|
54 |
metis? ( >=sci-libs/metis-5.2.0 ) |
|
55 | 55 |
mpi? ( virtual/mpi[cxx] ) |
56 | 56 |
mumps? ( sci-libs/mumps[mpi=] ) |
57 | 57 |
opencascade? ( sci-libs/opencascade:* ) |
... | ... | |
69 | 69 |
python? ( dev-lang/swig:0 ) |
70 | 70 |
" |
71 | 71 | |
72 |
PATCHES=( "${FILESDIR}"/${PN}-4.9.5-opencascade.patch ) |
|
72 |
PATCHES=( |
|
73 |
"${FILESDIR}"/${PN}-4.9.5-opencascade.patch |
|
74 |
"${FILESDIR}"/${P}_gcc13_fix_cstdint_include.patch |
|
75 |
"${FILESDIR}"/${P}-metis-5-2.patch |
|
76 |
) |
|
73 | 77 | |
74 | 78 |
pkg_setup() { |
75 | 79 |
fortran-2_pkg_setup |
... | ... | |
114 | 118 |
dodoc -r examples tutorials |
115 | 119 |
docompress -x /usr/share/doc/${PF}/{examples,tutorials} |
116 | 120 |
fi |
121 | ||
122 |
if use X ; then |
|
123 |
newicon -s 64 "/${S}/utils/icons/gmsh-no-text.png" gmsh.png |
|
124 |
make_desktop_entry "/usr/bin/gmsh" "Gmsh ${PV}" "gmsh" "Science;Math" |
|
125 |
fi |
|
126 |
} |
|
127 | ||
128 |
pkg_postinst() { |
|
129 |
if use X ; then |
|
130 |
xdg_icon_cache_update |
|
131 |
fi |
|
132 |
} |
|
133 | ||
134 |
pkg_postrm() { |
|
135 |
if use X ; then |
|
136 |
xdg_icon_cache_update |
|
137 |
fi |
|
117 | 138 |
} |