summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Rossi <rossi.f@inwind.it>2021-11-26 19:36:03 +0100
committerMatthias Maier <tamiko@gentoo.org>2022-01-03 15:37:29 -0600
commit3ded1dcb3c80d0ba6214b8a33d809c54386d5c54 (patch)
tree69d3c9ffcd15410ed83bcaba53c004a44e5820c9 /sci-libs/gmsh
parentdev-lang/julia: drop old (diff)
downloadgentoo-3ded1dcb3c80d0ba6214b8a33d809c54386d5c54.tar.gz
gentoo-3ded1dcb3c80d0ba6214b8a33d809c54386d5c54.tar.bz2
gentoo-3ded1dcb3c80d0ba6214b8a33d809c54386d5c54.zip
sci-libs/gmsh: install also *.h and lib* files
The installation is conditional on the shared useflag Closes: https://github.com/gentoo/gentoo/pull/23092 Closes: https://bugs.gentoo.org/827278 Signed-off-by: Fabio Rossi <rossi.f@inwind.it> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'sci-libs/gmsh')
-rw-r--r--sci-libs/gmsh/gmsh-4.8.4.ebuild3
-rw-r--r--sci-libs/gmsh/metadata.xml1
2 files changed, 3 insertions, 1 deletions
diff --git a/sci-libs/gmsh/gmsh-4.8.4.ebuild b/sci-libs/gmsh/gmsh-4.8.4.ebuild
index 0c32a563f7a1..616a2fa69ffd 100644
--- a/sci-libs/gmsh/gmsh-4.8.4.ebuild
+++ b/sci-libs/gmsh/gmsh-4.8.4.ebuild
@@ -15,7 +15,7 @@ LICENSE="GPL-3 free-noncomm"
SLOT="0"
KEYWORDS="~amd64 ~x86"
## cgns is not compiling ATM, maybe fix cgns lib first
-IUSE="blas cgns examples jpeg med metis mpi netgen opencascade petsc png python X zlib"
+IUSE="blas cgns examples jpeg med metis mpi netgen opencascade petsc png python shared X zlib"
REQUIRED_USE="med? ( mpi )"
@@ -56,6 +56,7 @@ src_configure() {
mycmakeargs+=(
-DENABLE_BLAS_LAPACK="$(usex blas)"
+ -DENABLE_BUILD_DYNAMIC="$(usex shared)"
-DENABLE_CGNS="$(usex cgns)"
-DENABLE_FLTK="$(usex X)"
-DENABLE_GRAPHICS="$(usex X)"
diff --git a/sci-libs/gmsh/metadata.xml b/sci-libs/gmsh/metadata.xml
index 4b35b67a85cd..896b5d03abdb 100644
--- a/sci-libs/gmsh/metadata.xml
+++ b/sci-libs/gmsh/metadata.xml
@@ -16,5 +16,6 @@
<flag name="netgen"> Enable 3D Frontal triangulation using netgen lib</flag>
<flag name="petsc"> Enable sci-mathematics/petsc support</flag>
<flag name="opencascade"> Enable OpenCASCADE support</flag>
+ <flag name="shared">Install shared library and headers</flag>
</use>
</pkgmetadata>