gmsh: update to 4.1.5.

This commit is contained in:
maxice8 2019-02-16 06:38:27 -02:00 committed by maxice8
parent 72d86a8760
commit 55d6174bd9
1 changed files with 6 additions and 5 deletions

View File

@ -1,12 +1,11 @@
# Template file for 'gmsh'
pkgname=gmsh
version=4.1.4
version=4.1.5
revision=1
wrksrc=${pkgname}-${version}-source
wrksrc="${pkgname}-${version}-source"
build_style=cmake
configure_args="-DENABLE_NUMPY=$(vopt_if numpy ON OFF)
-DENABLE_ZIPPER=$(vopt_if zipper ON OFF)
-DENABLE_HXT=$(vopt_if hxt ON OFF)"
-DENABLE_ZIPPER=$(vopt_if zipper ON OFF) -DENABLE_HXT=$(vopt_if hxt ON OFF)"
hostmakedepends="gcc-fortran blas-devel lapack-devel SDL2-devel
$(vopt_if mesh 'hdf5-devel fltk-devel') gmp-devel"
depends="python blas-devel lapack-devel SDL2-devel
@ -17,13 +16,14 @@ license="GPL-2.0-or-later"
homepage="https://gmsh.info"
changelog="http://gmsh.info/CHANGELOG.txt"
distfiles="https://gmsh.info/src/gmsh-${version}-source.tgz"
checksum=9a67092b878f88ff68d7bc563c4fdacfbd2aa66a5d55ea175233f464bd4b37c0
checksum=654d38203f76035a281006b77dcb838987a44fd549287f11c53a1e9cdf598f46
build_options="hxt mesh numpy zipper"
# HXT and MESH only available on x86
case "${XBPS_TARGET_MACHINE}" in
i686|x86_64) build_options_default="hxt mesh";;
esac
desc_option_hxt="Enable HXT library"
desc_option_mesh="Enable mesh support (Required for GUI)"
desc_option_numpy="Enable fullMatrix and numpy array conversion"
@ -34,6 +34,7 @@ post_install() {
}
gmsh-doc_package() {
archs=noarch
short_desc+=" - document and demo files"
pkg_install() {
vmove usr/share