aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisha Tammy <gentoo@aisha.cc>2020-10-12 14:05:45 +0000
committerAisha Tammy <gentoo@aisha.cc>2020-10-12 14:05:45 +0000
commit8fe5edb04b54413ed7cc13f43558f345c5eab7a0 (patch)
treede92e254dc5009905dd39dc6edf99cefdc0f29b1 /media-libs
parentmedia-libs/mmg: bi-tridimensional remesher (diff)
downloadsci-8fe5edb04b54413ed7cc13f43558f345c5eab7a0.tar.gz
sci-8fe5edb04b54413ed7cc13f43558f345c5eab7a0.tar.bz2
sci-8fe5edb04b54413ed7cc13f43558f345c5eab7a0.zip
media-libs/mmg: version bump to 5.5.0
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/mmg/Manifest1
-rw-r--r--media-libs/mmg/mmg-5.5.0.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/media-libs/mmg/Manifest b/media-libs/mmg/Manifest
index dd0aabf9b..e9e1f0911 100644
--- a/media-libs/mmg/Manifest
+++ b/media-libs/mmg/Manifest
@@ -1,2 +1,3 @@
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
diff --git a/media-libs/mmg/mmg-5.5.0.ebuild b/media-libs/mmg/mmg-5.5.0.ebuild
new file mode 100644
index 000000000..e5fa82146
--- /dev/null
+++ b/media-libs/mmg/mmg-5.5.0.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