Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/gmsh/
Date: Mon, 03 Jan 2022 21:37:54
Message-Id: 1641245849.3ded1dcb3c80d0ba6214b8a33d809c54386d5c54.tamiko@gentoo
1 commit: 3ded1dcb3c80d0ba6214b8a33d809c54386d5c54
2 Author: Fabio Rossi <rossi.f <AT> inwind <DOT> it>
3 AuthorDate: Fri Nov 26 18:36:03 2021 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 3 21:37:29 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ded1dcb
7
8 sci-libs/gmsh: install also *.h and lib* files
9
10 The installation is conditional on the shared useflag
11
12 Closes: https://github.com/gentoo/gentoo/pull/23092
13 Closes: https://bugs.gentoo.org/827278
14 Signed-off-by: Fabio Rossi <rossi.f <AT> inwind.it>
15 Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
16
17 sci-libs/gmsh/gmsh-4.8.4.ebuild | 3 ++-
18 sci-libs/gmsh/metadata.xml | 1 +
19 2 files changed, 3 insertions(+), 1 deletion(-)
20
21 diff --git a/sci-libs/gmsh/gmsh-4.8.4.ebuild b/sci-libs/gmsh/gmsh-4.8.4.ebuild
22 index 0c32a563f7a1..616a2fa69ffd 100644
23 --- a/sci-libs/gmsh/gmsh-4.8.4.ebuild
24 +++ b/sci-libs/gmsh/gmsh-4.8.4.ebuild
25 @@ -15,7 +15,7 @@ LICENSE="GPL-3 free-noncomm"
26 SLOT="0"
27 KEYWORDS="~amd64 ~x86"
28 ## cgns is not compiling ATM, maybe fix cgns lib first
29 -IUSE="blas cgns examples jpeg med metis mpi netgen opencascade petsc png python X zlib"
30 +IUSE="blas cgns examples jpeg med metis mpi netgen opencascade petsc png python shared X zlib"
31
32 REQUIRED_USE="med? ( mpi )"
33
34 @@ -56,6 +56,7 @@ src_configure() {
35
36 mycmakeargs+=(
37 -DENABLE_BLAS_LAPACK="$(usex blas)"
38 + -DENABLE_BUILD_DYNAMIC="$(usex shared)"
39 -DENABLE_CGNS="$(usex cgns)"
40 -DENABLE_FLTK="$(usex X)"
41 -DENABLE_GRAPHICS="$(usex X)"
42
43 diff --git a/sci-libs/gmsh/metadata.xml b/sci-libs/gmsh/metadata.xml
44 index 4b35b67a85cd..896b5d03abdb 100644
45 --- a/sci-libs/gmsh/metadata.xml
46 +++ b/sci-libs/gmsh/metadata.xml
47 @@ -16,5 +16,6 @@
48 <flag name="netgen"> Enable 3D Frontal triangulation using netgen lib</flag>
49 <flag name="petsc"> Enable sci-mathematics/petsc support</flag>
50 <flag name="opencascade"> Enable OpenCASCADE support</flag>
51 + <flag name="shared">Install shared library and headers</flag>
52 </use>
53 </pkgmetadata>