From e3f21c8aff8a76afe3423721c437a088e9232840 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 23 Apr 2024 23:59:27 +0100 Subject: gentoo auto-resync : 23:04:2024 - 23:59:26 --- sci-libs/gmsh/Manifest | 4 +- sci-libs/gmsh/gmsh-4.11.1-r1.ebuild | 138 ------------------------------------ sci-libs/gmsh/gmsh-4.11.1-r2.ebuild | 138 ++++++++++++++++++++++++++++++++++++ sci-libs/gmsh/gmsh-4.12.2-r1.ebuild | 137 +++++++++++++++++++++++++++++++++++ sci-libs/gmsh/gmsh-4.12.2.ebuild | 137 ----------------------------------- 5 files changed, 277 insertions(+), 277 deletions(-) delete mode 100644 sci-libs/gmsh/gmsh-4.11.1-r1.ebuild create mode 100644 sci-libs/gmsh/gmsh-4.11.1-r2.ebuild create mode 100644 sci-libs/gmsh/gmsh-4.12.2-r1.ebuild delete mode 100644 sci-libs/gmsh/gmsh-4.12.2.ebuild (limited to 'sci-libs/gmsh') diff --git a/sci-libs/gmsh/Manifest b/sci-libs/gmsh/Manifest index 261a9d988fbf..36973021db1a 100644 --- a/sci-libs/gmsh/Manifest +++ b/sci-libs/gmsh/Manifest @@ -3,6 +3,6 @@ AUX gmsh-4.11.1_gcc13_fix_cstdint_include.patch 925 BLAKE2B 538287bb96f17b2e526b AUX gmsh-4.9.5-opencascade.patch 1136 BLAKE2B 3613e9a19c76c107eec2090a0a12474d94ac1d548cf6b5137644e3a7834c12a9a8c6dc63d217b8473c385b2ea5bd1ea3d9699e61cbc897bf7cdd121ba00bdff2 SHA512 3774335121ae1d7b4a2369b36e1dab84e9b08eb6336ad1ed6893e0b2260402cb750e202f0244d61c8772d809dd31d95adfb19d8deee5255185c968838e495cd5 DIST gmsh-4.11.1-source.tgz 17985611 BLAKE2B 087664cfbfec758eaa3740a65920ccf673dbcc97a1ef8010222da64b8c586334ed1a77904e94061bdf34e714aae34311ee4f6fb38740473046f99ad6c1e0984c SHA512 8f2a71d6db80dd6bacde6dc1ccd120c7f83609dd69a84a910455a21a43b7392cd7e0e7b4d37aaa6a1b1cbfdb816646cd4828d2ac6d784edba072167280432e4c DIST gmsh-4.12.2-source.tgz 18150293 BLAKE2B 16f8048d8962d2a8e41d813713c147a691d24c7fabdcc7f3787bff804b1dfa477d4853b4b366a409c2ed9649e8c83710b4f73ac23a0c5885d0e65cd25bb88d6f SHA512 935148aff89b608f9d671d5fd4f12aed52b5c8ba4453e978d0febcc6934c045f2bba0078b13a64b2cbf4e852b413bbd05873335099ea7a967cc81ef58a7f8367 -EBUILD gmsh-4.11.1-r1.ebuild 3105 BLAKE2B b0cf9466bf77b8f37d6168d35e7deac9ff25bbfddf60de6323a01e8ba8738a35c1548f98fb018fd73b2469ed946ee38c18a67a0872c5b746ede3f5ec95f05c78 SHA512 0e26c29dd213a88809da95575bd4b924c31d4c7d9963149db42b3bfa6c8deed9e39083a8299507ed7d437d02abade33423243ebf068a461ea73b4f320b4afe42 -EBUILD gmsh-4.12.2.ebuild 3061 BLAKE2B 8732d005263f48e9ae87f79af2c2b05b9b6068e199620b07a7243478001d6dfaeb910f24892bca48b9caace84841597a960fd789da8158661f24e564cd97614f SHA512 1eb484a752ff3f9b123bda97ceedd98a32b315652ec6455e3fea37a0b0b53c8c0556dd9caea2f85a492024158a0cc17d83e3af909e729309702736eebef544ec +EBUILD gmsh-4.11.1-r2.ebuild 3109 BLAKE2B aea275de2e1f110769f6f679b0cc1a0629b56f2c1f82a2ba24d88208ec2eb57057bfb8f6dd4a427efc11d04076c7aa79542f1881de6bbe4b93fcb49eceab883f SHA512 eacd5c5a6dc312b1d99ab65cea853ff0aedc712666dbfbe20e4a62ccd8384cb21fc64107c4f3469518c7279ca9ccf3e5973d28496f1636efd580d5d017a1f546 +EBUILD gmsh-4.12.2-r1.ebuild 3065 BLAKE2B 006d86e7a4afdb8c6e156274c7eb8a9edb71844fa4a1e8b004d2fdbaa89bc86acd4a25461e4ff83e20680520ae6aaf59b2f004ea8d5242ed3608c952e4b455ec SHA512 6c20e8548dd09ea8b049d13363fb9de1fbd9a24eacc0f84420c4776ee8bf3ccc84385b4ac253a2845428cfd83188539492d9f19d7b37666a4afe6977f8816ecf MISC metadata.xml 1271 BLAKE2B 7ea0644b5ffb89478ba859f0bbd33fa5fcc8ebb57e64f2ca6ccba8123e23b4a7a44626d5fb1bd416d99071557652b247e90cc05b11d50bdded732f41f2acc524 SHA512 013798cf979fcb7fb954490970abdfc6ebbe23e8263a22cf8791af21f593aa46b7348e7673fa7fa318ce3cb8436c2d58435911984b40be3dafda40253ebcc71c diff --git a/sci-libs/gmsh/gmsh-4.11.1-r1.ebuild b/sci-libs/gmsh/gmsh-4.11.1-r1.ebuild deleted file mode 100644 index 0cb64ad8928e..000000000000 --- a/sci-libs/gmsh/gmsh-4.11.1-r1.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) - -inherit cmake desktop fortran-2 python-any-r1 toolchain-funcs xdg-utils - -DESCRIPTION="Three-dimensional finite element mesh generator" -HOMEPAGE="https://gmsh.info https://gitlab.onelab.info/gmsh/gmsh" -SRC_URI="https://gmsh.info/src/${P}-source.tgz" -S="${WORKDIR}/${P}-source" - -LICENSE=" - GPL-2+ free-noncomm - alglib? ( MIT ) - gmm? ( LGPL-2.1+ ) - metis? ( Apache-2.0 ) - netgen? ( LGPL-2.1+ ) - voro? ( BSD ) -" -SLOT="0" -KEYWORDS="~amd64 ~x86" -## cgns is not compiling ATM, maybe fix cgns lib first -IUSE="+alglib +blas cgns eigen examples +gmm jpeg med metis mpi mumps netgen opencascade petsc pdf png python shared slepc X voro zlib" - -REQUIRED_USE=" - ^^ ( blas eigen ) - mumps? ( blas ) - slepc? ( petsc ) - " - -RDEPEND=" - virtual/fortran - X? ( x11-libs/fltk:1[xft] ) - alglib? ( sci-libs/alglib ) - blas? ( - virtual/blas - virtual/lapack - sci-libs/fftw:3.0 - ) - cgns? ( - sci-libs/cgnslib - sci-libs/hdf5[mpi=] - ) - eigen? ( dev-cpp/eigen ) - gmm? ( sci-mathematics/gmm ) - jpeg? ( media-libs/libjpeg-turbo ) - med? ( - sci-libs/med[mpi=] - sci-libs/hdf5[mpi=] - ) - metis? ( >=sci-libs/metis-5.2.0 ) - mpi? ( virtual/mpi[cxx] ) - mumps? ( sci-libs/mumps[mpi=] ) - opencascade? ( sci-libs/opencascade:* ) - pdf? ( app-text/poppler:= ) - png? ( media-libs/libpng:0 ) - petsc? ( sci-mathematics/petsc[mpi=] ) - slepc? ( sci-mathematics/slepc[mpi=] ) - voro? ( sci-libs/voro++ ) - zlib? ( sys-libs/zlib ) - " - -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - virtual/pkgconfig - python? ( dev-lang/swig:0 ) - " - -PATCHES=( - "${FILESDIR}"/${PN}-4.9.5-opencascade.patch - "${FILESDIR}"/${P}_gcc13_fix_cstdint_include.patch - "${FILESDIR}"/${P}-metis-5-2.patch -) - -pkg_setup() { - fortran-2_pkg_setup -} - -src_configure() { - local mycmakeargs=( ) - - use blas && \ - mycmakeargs+=(-DCMAKE_Fortran_COMPILER=$(tc-getF77)) - - mycmakeargs+=( - -DENABLE_ALGLIB="$(usex alglib)" - -DENABLE_BLAS_LAPACK="$(usex blas)" - -DENABLE_BUILD_DYNAMIC="$(usex shared)" - -DENABLE_CGNS="$(usex cgns)" - -DENABLE_EIGEN="$(usex eigen)" - -DENABLE_FLTK="$(usex X)" - -DENABLE_GMM="$(usex gmm)" - -DENABLE_GRAPHICS="$(usex X)" - -DENABLE_MED="$(usex med)" - -DENABLE_MPI="$(usex mpi)" - -DENABLE_METIS="$(usex metis)" - -DENABLE_MUMPS="$(usex mumps)" - -DENABLE_NETGEN="$(usex netgen)" - -DENABLE_OCC="$(usex opencascade)" - -DENABLE_PETSC="$(usex petsc)" - -DENABLE_POPPLER="$(usex pdf)" - -DENABLE_SLEPC="$(usex slepc)" - -DENABLE_PRIVATE_API="$(usex shared)" - -DENABLE_SYSTEM_CONTRIB="YES" - -DENABLE_VOROPP="$(usex voro)" - -DENABLE_WRAP_PYTHON="$(usex python)") - - cmake_src_configure -} - -src_install() { - cmake_src_install - - if use examples ; then - dodoc -r examples tutorials - docompress -x /usr/share/doc/${PF}/{examples,tutorials} - fi - - if use X ; then - newicon -s 64 "/${S}/utils/icons/gmsh-no-text.png" gmsh.png - make_desktop_entry "/usr/bin/gmsh" "Gmsh ${PV}" "gmsh" "Science;Math" - fi -} - -pkg_postinst() { - if use X ; then - xdg_icon_cache_update - fi -} - -pkg_postrm() { - if use X ; then - xdg_icon_cache_update - fi -} diff --git a/sci-libs/gmsh/gmsh-4.11.1-r2.ebuild b/sci-libs/gmsh/gmsh-4.11.1-r2.ebuild new file mode 100644 index 000000000000..deffafdf47c5 --- /dev/null +++ b/sci-libs/gmsh/gmsh-4.11.1-r2.ebuild @@ -0,0 +1,138 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) + +inherit cmake desktop fortran-2 python-any-r1 toolchain-funcs xdg-utils + +DESCRIPTION="Three-dimensional finite element mesh generator" +HOMEPAGE="https://gmsh.info https://gitlab.onelab.info/gmsh/gmsh" +SRC_URI="https://gmsh.info/src/${P}-source.tgz" +S="${WORKDIR}/${P}-source" + +LICENSE=" + GPL-2+ free-noncomm + alglib? ( MIT ) + gmm? ( LGPL-2.1+ ) + metis? ( Apache-2.0 ) + netgen? ( LGPL-2.1+ ) + voro? ( BSD ) +" +SLOT="0" +KEYWORDS="~amd64 ~x86" +## cgns is not compiling ATM, maybe fix cgns lib first +IUSE="+alglib +blas cgns eigen examples +gmm jpeg med metis mpi mumps netgen opencascade petsc pdf png python shared slepc X voro zlib" + +REQUIRED_USE=" + ^^ ( blas eigen ) + mumps? ( blas ) + slepc? ( petsc ) + " + +RDEPEND=" + virtual/fortran + X? ( x11-libs/fltk:1[xft] ) + alglib? ( sci-libs/alglib ) + blas? ( + virtual/blas + virtual/lapack + sci-libs/fftw:3.0 + ) + cgns? ( + sci-libs/cgnslib + sci-libs/hdf5:=[mpi=] + ) + eigen? ( dev-cpp/eigen ) + gmm? ( sci-mathematics/gmm ) + jpeg? ( media-libs/libjpeg-turbo ) + med? ( + sci-libs/med[mpi=] + sci-libs/hdf5:=[mpi=] + ) + metis? ( >=sci-libs/metis-5.2.0 ) + mpi? ( virtual/mpi[cxx] ) + mumps? ( sci-libs/mumps[mpi=] ) + opencascade? ( sci-libs/opencascade:* ) + pdf? ( app-text/poppler:= ) + png? ( media-libs/libpng:0 ) + petsc? ( sci-mathematics/petsc[mpi=] ) + slepc? ( sci-mathematics/slepc[mpi=] ) + voro? ( sci-libs/voro++ ) + zlib? ( sys-libs/zlib ) + " + +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig + python? ( dev-lang/swig:0 ) + " + +PATCHES=( + "${FILESDIR}"/${PN}-4.9.5-opencascade.patch + "${FILESDIR}"/${P}_gcc13_fix_cstdint_include.patch + "${FILESDIR}"/${P}-metis-5-2.patch +) + +pkg_setup() { + fortran-2_pkg_setup +} + +src_configure() { + local mycmakeargs=( ) + + use blas && \ + mycmakeargs+=(-DCMAKE_Fortran_COMPILER=$(tc-getF77)) + + mycmakeargs+=( + -DENABLE_ALGLIB="$(usex alglib)" + -DENABLE_BLAS_LAPACK="$(usex blas)" + -DENABLE_BUILD_DYNAMIC="$(usex shared)" + -DENABLE_CGNS="$(usex cgns)" + -DENABLE_EIGEN="$(usex eigen)" + -DENABLE_FLTK="$(usex X)" + -DENABLE_GMM="$(usex gmm)" + -DENABLE_GRAPHICS="$(usex X)" + -DENABLE_MED="$(usex med)" + -DENABLE_MPI="$(usex mpi)" + -DENABLE_METIS="$(usex metis)" + -DENABLE_MUMPS="$(usex mumps)" + -DENABLE_NETGEN="$(usex netgen)" + -DENABLE_OCC="$(usex opencascade)" + -DENABLE_PETSC="$(usex petsc)" + -DENABLE_POPPLER="$(usex pdf)" + -DENABLE_SLEPC="$(usex slepc)" + -DENABLE_PRIVATE_API="$(usex shared)" + -DENABLE_SYSTEM_CONTRIB="YES" + -DENABLE_VOROPP="$(usex voro)" + -DENABLE_WRAP_PYTHON="$(usex python)") + + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use examples ; then + dodoc -r examples tutorials + docompress -x /usr/share/doc/${PF}/{examples,tutorials} + fi + + if use X ; then + newicon -s 64 "/${S}/utils/icons/gmsh-no-text.png" gmsh.png + make_desktop_entry "/usr/bin/gmsh" "Gmsh ${PV}" "gmsh" "Science;Math" + fi +} + +pkg_postinst() { + if use X ; then + xdg_icon_cache_update + fi +} + +pkg_postrm() { + if use X ; then + xdg_icon_cache_update + fi +} diff --git a/sci-libs/gmsh/gmsh-4.12.2-r1.ebuild b/sci-libs/gmsh/gmsh-4.12.2-r1.ebuild new file mode 100644 index 000000000000..60c811c184fd --- /dev/null +++ b/sci-libs/gmsh/gmsh-4.12.2-r1.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) + +inherit cmake desktop fortran-2 python-any-r1 toolchain-funcs xdg-utils + +DESCRIPTION="Three-dimensional finite element mesh generator" +HOMEPAGE="https://gmsh.info https://gitlab.onelab.info/gmsh/gmsh" +SRC_URI="https://gmsh.info/src/${P}-source.tgz" +S="${WORKDIR}/${P}-source" + +LICENSE=" + GPL-2+ free-noncomm + alglib? ( MIT ) + gmm? ( LGPL-2.1+ ) + metis? ( Apache-2.0 ) + netgen? ( LGPL-2.1+ ) + voro? ( BSD ) +" +SLOT="0" +KEYWORDS="~amd64 ~x86" +## cgns is not compiling ATM, maybe fix cgns lib first +IUSE="+alglib +blas cgns eigen examples +gmm jpeg med metis mpi mumps netgen opencascade petsc pdf png python shared slepc X voro zlib" + +REQUIRED_USE=" + ^^ ( blas eigen ) + mumps? ( blas ) + slepc? ( petsc ) + " + +RDEPEND=" + virtual/fortran + X? ( x11-libs/fltk:1[xft] ) + alglib? ( sci-libs/alglib ) + blas? ( + virtual/blas + virtual/lapack + sci-libs/fftw:3.0 + ) + cgns? ( + sci-libs/cgnslib + sci-libs/hdf5:=[mpi=] + ) + eigen? ( dev-cpp/eigen ) + gmm? ( sci-mathematics/gmm ) + jpeg? ( media-libs/libjpeg-turbo ) + med? ( + sci-libs/med[mpi=] + sci-libs/hdf5:=[mpi=] + ) + metis? ( >=sci-libs/metis-5.2.0 ) + mpi? ( virtual/mpi[cxx] ) + mumps? ( sci-libs/mumps[mpi=] ) + opencascade? ( sci-libs/opencascade:* ) + pdf? ( app-text/poppler:= ) + png? ( media-libs/libpng:0 ) + petsc? ( sci-mathematics/petsc[mpi=] ) + slepc? ( sci-mathematics/slepc[mpi=] ) + voro? ( sci-libs/voro++ ) + zlib? ( sys-libs/zlib ) + " + +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig + python? ( dev-lang/swig:0 ) + " + +PATCHES=( + "${FILESDIR}"/${PN}-4.9.5-opencascade.patch + "${FILESDIR}"/${PN}-4.11.1-metis-5-2.patch +) + +pkg_setup() { + fortran-2_pkg_setup +} + +src_configure() { + local mycmakeargs=( ) + + use blas && \ + mycmakeargs+=(-DCMAKE_Fortran_COMPILER=$(tc-getF77)) + + mycmakeargs+=( + -DENABLE_ALGLIB="$(usex alglib)" + -DENABLE_BLAS_LAPACK="$(usex blas)" + -DENABLE_BUILD_DYNAMIC="$(usex shared)" + -DENABLE_CGNS="$(usex cgns)" + -DENABLE_EIGEN="$(usex eigen)" + -DENABLE_FLTK="$(usex X)" + -DENABLE_GMM="$(usex gmm)" + -DENABLE_GRAPHICS="$(usex X)" + -DENABLE_MED="$(usex med)" + -DENABLE_MPI="$(usex mpi)" + -DENABLE_METIS="$(usex metis)" + -DENABLE_MUMPS="$(usex mumps)" + -DENABLE_NETGEN="$(usex netgen)" + -DENABLE_OCC="$(usex opencascade)" + -DENABLE_PETSC="$(usex petsc)" + -DENABLE_POPPLER="$(usex pdf)" + -DENABLE_SLEPC="$(usex slepc)" + -DENABLE_PRIVATE_API="$(usex shared)" + -DENABLE_SYSTEM_CONTRIB="YES" + -DENABLE_VOROPP="$(usex voro)" + -DENABLE_WRAP_PYTHON="$(usex python)") + + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use examples ; then + dodoc -r examples tutorials + docompress -x /usr/share/doc/${PF}/{examples,tutorials} + fi + + if use X ; then + newicon -s 64 "/${S}/utils/icons/gmsh-no-text.png" gmsh.png + make_desktop_entry "/usr/bin/gmsh" "Gmsh ${PV}" "gmsh" "Science;Math" + fi +} + +pkg_postinst() { + if use X ; then + xdg_icon_cache_update + fi +} + +pkg_postrm() { + if use X ; then + xdg_icon_cache_update + fi +} diff --git a/sci-libs/gmsh/gmsh-4.12.2.ebuild b/sci-libs/gmsh/gmsh-4.12.2.ebuild deleted file mode 100644 index bbc3d11637b6..000000000000 --- a/sci-libs/gmsh/gmsh-4.12.2.ebuild +++ /dev/null @@ -1,137 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) - -inherit cmake desktop fortran-2 python-any-r1 toolchain-funcs xdg-utils - -DESCRIPTION="Three-dimensional finite element mesh generator" -HOMEPAGE="https://gmsh.info https://gitlab.onelab.info/gmsh/gmsh" -SRC_URI="https://gmsh.info/src/${P}-source.tgz" -S="${WORKDIR}/${P}-source" - -LICENSE=" - GPL-2+ free-noncomm - alglib? ( MIT ) - gmm? ( LGPL-2.1+ ) - metis? ( Apache-2.0 ) - netgen? ( LGPL-2.1+ ) - voro? ( BSD ) -" -SLOT="0" -KEYWORDS="~amd64 ~x86" -## cgns is not compiling ATM, maybe fix cgns lib first -IUSE="+alglib +blas cgns eigen examples +gmm jpeg med metis mpi mumps netgen opencascade petsc pdf png python shared slepc X voro zlib" - -REQUIRED_USE=" - ^^ ( blas eigen ) - mumps? ( blas ) - slepc? ( petsc ) - " - -RDEPEND=" - virtual/fortran - X? ( x11-libs/fltk:1[xft] ) - alglib? ( sci-libs/alglib ) - blas? ( - virtual/blas - virtual/lapack - sci-libs/fftw:3.0 - ) - cgns? ( - sci-libs/cgnslib - sci-libs/hdf5[mpi=] - ) - eigen? ( dev-cpp/eigen ) - gmm? ( sci-mathematics/gmm ) - jpeg? ( media-libs/libjpeg-turbo ) - med? ( - sci-libs/med[mpi=] - sci-libs/hdf5[mpi=] - ) - metis? ( >=sci-libs/metis-5.2.0 ) - mpi? ( virtual/mpi[cxx] ) - mumps? ( sci-libs/mumps[mpi=] ) - opencascade? ( sci-libs/opencascade:* ) - pdf? ( app-text/poppler:= ) - png? ( media-libs/libpng:0 ) - petsc? ( sci-mathematics/petsc[mpi=] ) - slepc? ( sci-mathematics/slepc[mpi=] ) - voro? ( sci-libs/voro++ ) - zlib? ( sys-libs/zlib ) - " - -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - virtual/pkgconfig - python? ( dev-lang/swig:0 ) - " - -PATCHES=( - "${FILESDIR}"/${PN}-4.9.5-opencascade.patch - "${FILESDIR}"/${PN}-4.11.1-metis-5-2.patch -) - -pkg_setup() { - fortran-2_pkg_setup -} - -src_configure() { - local mycmakeargs=( ) - - use blas && \ - mycmakeargs+=(-DCMAKE_Fortran_COMPILER=$(tc-getF77)) - - mycmakeargs+=( - -DENABLE_ALGLIB="$(usex alglib)" - -DENABLE_BLAS_LAPACK="$(usex blas)" - -DENABLE_BUILD_DYNAMIC="$(usex shared)" - -DENABLE_CGNS="$(usex cgns)" - -DENABLE_EIGEN="$(usex eigen)" - -DENABLE_FLTK="$(usex X)" - -DENABLE_GMM="$(usex gmm)" - -DENABLE_GRAPHICS="$(usex X)" - -DENABLE_MED="$(usex med)" - -DENABLE_MPI="$(usex mpi)" - -DENABLE_METIS="$(usex metis)" - -DENABLE_MUMPS="$(usex mumps)" - -DENABLE_NETGEN="$(usex netgen)" - -DENABLE_OCC="$(usex opencascade)" - -DENABLE_PETSC="$(usex petsc)" - -DENABLE_POPPLER="$(usex pdf)" - -DENABLE_SLEPC="$(usex slepc)" - -DENABLE_PRIVATE_API="$(usex shared)" - -DENABLE_SYSTEM_CONTRIB="YES" - -DENABLE_VOROPP="$(usex voro)" - -DENABLE_WRAP_PYTHON="$(usex python)") - - cmake_src_configure -} - -src_install() { - cmake_src_install - - if use examples ; then - dodoc -r examples tutorials - docompress -x /usr/share/doc/${PF}/{examples,tutorials} - fi - - if use X ; then - newicon -s 64 "/${S}/utils/icons/gmsh-no-text.png" gmsh.png - make_desktop_entry "/usr/bin/gmsh" "Gmsh ${PV}" "gmsh" "Science;Math" - fi -} - -pkg_postinst() { - if use X ; then - xdg_icon_cache_update - fi -} - -pkg_postrm() { - if use X ; then - xdg_icon_cache_update - fi -} -- cgit v1.2.3