aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/mmg/Manifest1
-rw-r--r--media-libs/mmg/mmg-5.5.1.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/media-libs/mmg/Manifest b/media-libs/mmg/Manifest
index e9e1f0911..ee3d2deaf 100644
--- a/media-libs/mmg/Manifest
+++ b/media-libs/mmg/Manifest
@@ -1,3 +1,4 @@
DIST mmg-5.4.3.tar.gz 10216029 BLAKE2B 2b2e2607b367ece8672618603574f33f4306804c3579aa272ae5b0939e6c5c8745e523d7d012658eaa8a54ebae09238a735df36521b4ad1b86f077ab56f7428a SHA512 c6f52eea744f50babb1e70042ae0b599e63ad9597b0bc6e79d69d3cce539b1e7b9df0d595d4c5f8577326f81b2647f0e41c6806621588f260429f3a4b6fc515e
DIST mmg-5.4.3_p09102020.tar.gz 9573281 BLAKE2B d89f0adbb45a7a49fc449e10e220d5dca62ce8fa2794029e145b95fa42e351df1e95639b40dba68a97bcd12917fbc9ceccb0d6dbab9ce294c4dcfe4a31e9a8eb SHA512 6c6c46fe1b3caa87d62a3b127c2aa5816d6ecebc96a1d5bf8644481d2ff86bacec3b8b011fed896381e20d7f71dbd31a3900dedccaad5b51c82c7114f0ab1cca
DIST mmg-5.5.0.tar.gz 9569999 BLAKE2B a544b2c06d6ea8653bc7ba1f0ba7276addd9a4eb4aeac6e520de5987925d5e6279f99c3e5625db2df87b41fe338a6e012a9738979b718ae6cf3dc0710921ea7e SHA512 15c493c3e66e84b4d2b73044b0575473aee17190c44e096fa77be1a8f8eab94e5e11f1750f0d86e7be085bdc3bce72d01af928ed321a6134f6e9cbc4457f2de8
+DIST mmg-5.5.1.tar.gz 9569862 BLAKE2B a51fc5d8f416a2bec3629756a3f1c2a4e54b37884e2d14d85735bdfa45ac7ff4094627cc4f17dfb0262123c73bb91f68a566971beee467907d2b3c4fb9b7aab9 SHA512 75c86e9d3cc5b630032421e53d540a00da0d1595524a8041a2fca2e81d4c9dd1936e1dc2593e2dbb906f76fcb75cef22c0f6c745d5530fa5efc20fb255373d05
diff --git a/media-libs/mmg/mmg-5.5.1.ebuild b/media-libs/mmg/mmg-5.5.1.ebuild
new file mode 100644
index 000000000..e5fa82146
--- /dev/null
+++ b/media-libs/mmg/mmg-5.5.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake fortran-2
+CMAKE_BUILD_TYPE=MMG
+FORTRAN_NEED_OPENMP=1
+
+DESCRIPTION="bidimensional and tridimensional remesher"
+HOMEPAGE="https://www.mmgtools.org/"
+SRC_URI="https://github.com/MmgTools/mmg/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3 LGPL-3"
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE="scotch vtk"
+
+DEPEND="
+ scotch? ( sci-libs/scotch )
+ vtk? ( sci-libs/vtk )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ app-doc/doxygen
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_VTK=$(usex vtk)
+ -DUSE_SCOTCH=$(usex scotch)
+ -DBUILD_SHARED_LIBS=ON
+ -DLIBMMG2D_SHARED=ON
+ -DLIBMMGS_SHARED=ON
+ -DLIBMMG3D_SHARED=ON
+ )
+ cmake_src_configure
+}
+
+# no tests present