summaryrefslogtreecommitdiff
path: root/sci-libs/gmsh
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/gmsh')
-rw-r--r--sci-libs/gmsh/Manifest4
-rw-r--r--sci-libs/gmsh/gmsh-4.9.5-r1.ebuild (renamed from sci-libs/gmsh/gmsh-4.8.4.ebuild)21
2 files changed, 12 insertions, 13 deletions
diff --git a/sci-libs/gmsh/Manifest b/sci-libs/gmsh/Manifest
index b009bb1427a3..27ef000b49c0 100644
--- a/sci-libs/gmsh/Manifest
+++ b/sci-libs/gmsh/Manifest
@@ -1,4 +1,4 @@
AUX gmsh-4.8.4-gcc11.patch 2821 BLAKE2B 21977c525d2359cddcc7dd189a8aa5fa74acb9bd9badd9accac7a7e8334311f4f2c007079c5580118e2f991d802af3ce4d54c93a8e9ada76dc5b41279cdfc848 SHA512 fdeced297f2188461d0d61bafdeb4bf0c2663a7d7cda9cc4aa61f4211173243cb7e6ea68f8db15ed45422a4d0914d628231060f6a3f30251765da768975b0f5b
-DIST gmsh-4.8.4-source.tgz 13838352 BLAKE2B 26c7f68e41d1c339c7d5fd499b2261c2ce79c38648df9f4f3853ba69421d59be36992d8aac1d1ebc1fe872bb828769693c12fd9770878fa3b59c179176105ea4 SHA512 c3880e67af03aa6d00300b5f56fd229ffe37da9af66e8c7c87a3bbf7abcb3a90b4858ec76093ef8f039a70d4da1d5cc7f7c687c05b6642299c95e1a07f9513bf
-EBUILD gmsh-4.8.4.ebuild 1878 BLAKE2B d654d35bc3c120a767a94c173feee11f3a21eeb232ca865afdf781baba081e414ce58d0de9833d561e3447c1db5f346b89f3fc66b578e4489e82cf0d3ed3aae5 SHA512 b4c2edd059a5487262a69984e2cd0b92cde0623d631af68fd78dbf29782382a1a0dda5c6ff65dbe667527f5628f3bc887105141ebd3aef13d7777b9f85cd15c6
+DIST gmsh-4.9.5-source.tgz 14921704 BLAKE2B e805bd786154bf6ce8bebb2d2c38204a88d06a251c45fbe6dd37641a15e02291993c244f26a01faad2a6445a4852274e5481d4236b7a3d9b7ee65fc863f1b880 SHA512 4da61bdf03fb9466af80ac790e83c8888bab755c78d860d601474d7ebca220ac51cba620db310165021412dbecc1cf187ccdff47b8a78e0579339bb72cfa6484
+EBUILD gmsh-4.9.5-r1.ebuild 1842 BLAKE2B 416dc95a9ed6ee4d5331892198ce4fb429e20b8b051c12c879f7597cbc6695751a0e2b0ef3b5f6cb958a9c60530c00bcde8d363120a812ef96c93e69b2c93050 SHA512 47d4b689560a18b99eeebb6cf966012ba14df6436b6b6c6def839a1a0e5c7a787a7aa0880391f5bfae4e84c24b8b2def701a64d55d87be11f8a06b43d052cf76
MISC metadata.xml 802 BLAKE2B 5ddd7f70af792e529ca9b5197b80775cea3390fdb04fdc65df5e43333aac0ac3f1d5f2fc16c32c5eb5336f3ec12ad4b2fefd6b055a3f2361f42a2bd77aa83b47 SHA512 08356d610e96e262c6d2b49647835e8dfc96ebb7efa3b9c078f5d930c83eb23211c9b61bd57fdcdbc067d957b47ab0c8c650b15169fa40c3a8da5aab8b325666
diff --git a/sci-libs/gmsh/gmsh-4.8.4.ebuild b/sci-libs/gmsh/gmsh-4.9.5-r1.ebuild
index 616a2fa69ffd..af13e7d74515 100644
--- a/sci-libs/gmsh/gmsh-4.8.4.ebuild
+++ b/sci-libs/gmsh/gmsh-4.9.5-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9,10} )
-inherit cmake-utils flag-o-matic fortran-2 python-any-r1 toolchain-funcs
+inherit cmake fortran-2 python-any-r1 toolchain-funcs
DESCRIPTION="A three-dimensional finite element mesh generator"
HOMEPAGE="http://www.geuz.org/gmsh/"
@@ -21,7 +21,7 @@ REQUIRED_USE="med? ( mpi )"
RDEPEND="
virtual/fortran
- X? ( x11-libs/fltk:1 )
+ X? ( x11-libs/fltk:1[xft] )
blas? ( virtual/blas virtual/lapack sci-libs/fftw:3.0 )
cgns? ( sci-libs/cgnslib )
jpeg? ( virtual/jpeg:0 )
@@ -41,7 +41,6 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${P}-source
PATCHES=(
- "${FILESDIR}"/${P}-gcc11.patch
)
pkg_setup() {
@@ -54,7 +53,7 @@ src_configure() {
use blas && \
mycmakeargs+=(-DCMAKE_Fortran_COMPILER=$(tc-getF77))
- mycmakeargs+=(
+ local mycmakeargs+=(
-DENABLE_BLAS_LAPACK="$(usex blas)"
-DENABLE_BUILD_DYNAMIC="$(usex shared)"
-DENABLE_CGNS="$(usex cgns)"
@@ -68,14 +67,14 @@ src_configure() {
-DENABLE_PETSC="$(usex petsc)"
-DENABLE_WRAP_PYTHON="$(usex python)")
- cmake-utils_src_configure mycmakeargs
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
if use examples ; then
- insinto /usr/share/doc/${PF}
- doins -r demos tutorial
+ dodoc -r demos tutorial
+ docompress -x /usr/share/doc/${PF}/{demos,tutorial}
fi
}