# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{9..10} ) inherit cmake fortran-2 python-any-r1 toolchain-funcs DESCRIPTION="Three-dimensional finite element mesh generator" HOMEPAGE="https://gmsh.info/" SRC_URI="https://gmsh.info/src/${P}-source.tgz" S="${WORKDIR}/${P}-source" 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 shared X zlib" REQUIRED_USE="med? ( mpi )" RDEPEND=" virtual/fortran X? ( x11-libs/fltk:1[xft] ) blas? ( virtual/blas virtual/lapack sci-libs/fftw:3.0 ) cgns? ( sci-libs/cgnslib ) jpeg? ( media-libs/libjpeg-turbo ) med? ( sci-libs/med[mpi] ) metis? (