From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C6D061382C5 for ; Sun, 20 Jun 2021 04:06:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24C4CE082B; Sun, 20 Jun 2021 04:06:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9514EE082B for ; Sun, 20 Jun 2021 04:06:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 521EE335D36 for ; Sun, 20 Jun 2021 04:06:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C06857A1 for ; Sun, 20 Jun 2021 04:06:53 +0000 (UTC) From: "Matthias Maier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthias Maier" Message-ID: <1624162009.eac3b3f1ac50642de1223f59b1e1ce28f379c765.tamiko@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/gmsh/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/gmsh/Manifest sci-libs/gmsh/gmsh-4.8.4.ebuild X-VCS-Directories: sci-libs/gmsh/ X-VCS-Committer: tamiko X-VCS-Committer-Name: Matthias Maier X-VCS-Revision: eac3b3f1ac50642de1223f59b1e1ce28f379c765 X-VCS-Branch: master Date: Sun, 20 Jun 2021 04:06:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c13c9c4d-5fa0-4ef9-b913-a60ce71b07a6 X-Archives-Hash: 7151b45d31c360fa854e3130adcfc187 commit: eac3b3f1ac50642de1223f59b1e1ce28f379c765 Author: Matthias Maier gentoo org> AuthorDate: Sun Jun 20 04:06:04 2021 +0000 Commit: Matthias Maier gentoo org> CommitDate: Sun Jun 20 04:06:49 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eac3b3f1 sci-libs/gmsh: version bump to 4.8.4, fix gcc-11 compilation error Closes: https://bugs.gentoo.org/786678 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Matthias Maier gentoo.org> sci-libs/gmsh/Manifest | 1 + sci-libs/gmsh/gmsh-4.8.4.ebuild | 76 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/sci-libs/gmsh/Manifest b/sci-libs/gmsh/Manifest index 5caf274443b..d0057e753b7 100644 --- a/sci-libs/gmsh/Manifest +++ b/sci-libs/gmsh/Manifest @@ -1 +1,2 @@ DIST gmsh-4.6.0-source.tgz 12048076 BLAKE2B 2de1ded477ec675fa7bcb56c1e2a1352f6f6d642b9872dd5c167bafac0e7648cbbce6921b556d59796e035f40bc24e9ce38ccedb690ca54cbeab5f3ab94eeeea SHA512 9d6dde6b1f6b6193eb859cc6425a0161d42ccf449aeb84f43e1dba661b0ccb593821b9371272e06351c4dd26b7b8b6a5c39475c0f5b1332be188551abc88ae45 +DIST gmsh-4.8.4-source.tgz 13838352 BLAKE2B 26c7f68e41d1c339c7d5fd499b2261c2ce79c38648df9f4f3853ba69421d59be36992d8aac1d1ebc1fe872bb828769693c12fd9770878fa3b59c179176105ea4 SHA512 c3880e67af03aa6d00300b5f56fd229ffe37da9af66e8c7c87a3bbf7abcb3a90b4858ec76093ef8f039a70d4da1d5cc7f7c687c05b6642299c95e1a07f9513bf diff --git a/sci-libs/gmsh/gmsh-4.8.4.ebuild b/sci-libs/gmsh/gmsh-4.8.4.ebuild new file mode 100644 index 00000000000..df5ea5533a0 --- /dev/null +++ b/sci-libs/gmsh/gmsh-4.8.4.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) + +inherit cmake-utils flag-o-matic fortran-2 python-any-r1 toolchain-funcs + +DESCRIPTION="A three-dimensional finite element mesh generator" +HOMEPAGE="http://www.geuz.org/gmsh/" +SRC_URI="http://www.geuz.org/gmsh/src/${P}-source.tgz" + +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" + +REQUIRED_USE="med? ( mpi )" + +RDEPEND=" + virtual/fortran + X? ( x11-libs/fltk:1 ) + blas? ( virtual/blas virtual/lapack sci-libs/fftw:3.0 ) + cgns? ( sci-libs/cgnslib ) + jpeg? ( virtual/jpeg:0 ) + med? ( sci-libs/med[mpi] ) + opencascade? ( sci-libs/opencascade:* ) + png? ( media-libs/libpng:0 ) + petsc? ( sci-mathematics/petsc[mpi=] ) + zlib? ( sys-libs/zlib ) + mpi? ( virtual/mpi[cxx] )" + +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig + python? ( dev-lang/swig:0 ) + " + +S=${WORKDIR}/${P}-source + +pkg_setup() { + fortran-2_pkg_setup +} + +src_configure() { + local mycmakeargs=( ) + + use blas && \ + mycmakeargs+=(-DCMAKE_Fortran_COMPILER=$(tc-getF77)) + + mycmakeargs+=( + -DENABLE_BLAS_LAPACK="$(usex blas)" + -DENABLE_CGNS="$(usex cgns)" + -DENABLE_FLTK="$(usex X)" + -DENABLE_GRAPHICS="$(usex X)" + -DENABLE_MED="$(usex med)" + -DENABLE_MPI="$(usex mpi)" + -DENABLE_METIS="$(usex metis)" + -DENABLE_NETGEN="$(usex netgen)" + -DENABLE_OCC="$(usex opencascade)" + -DENABLE_PETSC="$(usex petsc)" + -DENABLE_WRAP_PYTHON="$(usex python)") + + cmake-utils_src_configure mycmakeargs +} + +src_install() { + cmake-utils_src_install + + if use examples ; then + insinto /usr/share/doc/${PF} + doins -r demos tutorial + fi +}