From d2f4fe73cffcd5fa2acb8197fe84a060a0789f45 Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Wed, 11 Nov 2020 14:23:47 -0600 Subject: [PATCH] gmsh: update to 4.7.0 --- srcpkgs/gmsh/template | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/srcpkgs/gmsh/template b/srcpkgs/gmsh/template index 16d55e768b0..2b11cd57cf3 100644 --- a/srcpkgs/gmsh/template +++ b/srcpkgs/gmsh/template @@ -1,13 +1,12 @@ # Template file for 'gmsh' pkgname=gmsh -version=4.6.0 +version=4.7.0 revision=1 wrksrc="${pkgname}-${version}-source" build_style=cmake configure_args="-DENABLE_SYSTEM_CONTRIB=ON -DENABLE_HXT=$(vopt_if hxt ON OFF) - -DENABLE_ZIPPER=$(vopt_if zipper ON OFF) - -DENABLE_NUMPY=$(vopt_if numpy ON OFF)" + -DENABLE_ZIPPER=$(vopt_if zipper ON OFF)" makedepends="freetype-devel glu-devel gmp-devel $(vopt_if fltk fltk-devel) blas-devel lapack-devel" short_desc="Three-dimensional finite element mesh generator" @@ -16,7 +15,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=0f2c55e50fb6c478ebc8977f6341c223754cbf3493b7b0d683b4395ae9f2ad1c +checksum=e27f32f92b374ba2a746a9d9c496401c13f66ac6e3e70753e16fa4012d14320e + +build_options="fltk hxt zipper" +build_options_default="hxt" + +desc_option_hxt="Enable HXT library" +desc_option_fltk="Enable FLTK GUI support" +desc_option_zipper="Enable zip file compression/decompression" CFLAGS="-fcommon" @@ -24,18 +30,11 @@ if [ -z "$CROSS_BUILD" ]; then makedepends+=" hdf5-devel" fi -build_options="fltk hxt numpy zipper" -build_options_default="hxt" case "$XBPS_TARGET_MACHINE" in aarch64*|i686*|x86_64*|ppc64*) build_options_default+=" fltk";; esac -desc_option_hxt="Enable HXT library" -desc_option_fltk="Enable FLTK GUI support" -desc_option_numpy="Enable fullMatrix and numpy array conversion" -desc_option_zipper="Enable zip file compression/decompression" - post_install() { rm -rf builddir/gmsh-$version-source/api }