aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFellype do Nascimento <fellype (at) gmail (dot) com>2024-01-18 07:49:56 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-18 09:20:32 +0700
commitffbdbdc24e53114bc9d1ee1066a7d585a79d5081 (patch)
treeb3dac7158ae688486b9261a8dd1c0a6c974bdfed
parent1c5dfd674faafff1acd82c93b764e2eb41fc27dc (diff)
academic/gmsh: Updated for version 4.12.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/gmsh/gmsh.SlackBuild17
-rw-r--r--academic/gmsh/gmsh.info8
2 files changed, 18 insertions, 7 deletions
diff --git a/academic/gmsh/gmsh.SlackBuild b/academic/gmsh/gmsh.SlackBuild
index 76bf7d5b6e6b..14702dd567f2 100644
--- a/academic/gmsh/gmsh.SlackBuild
+++ b/academic/gmsh/gmsh.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/bash
# Slackware build script for gmsh
-# Copyright 2020-2023 Fellype do Nascimento, Guaratingueta, Brazil
+# Copyright 2020-2024 Fellype do Nascimento, Guaratingueta, Brazil
#
# Based on SlackBuild by Loris Vincenzi and PKGBUILD for gmsh at AUR
#
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gmsh
-VERSION=${VERSION:-4.11.1}
+VERSION=${VERSION:-4.12.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -84,7 +84,9 @@ find -L . \
# do it using BUILDSTATICLIB=yes ./gmsh.SlackBuild
# default is BUILDSTATICLIB=no
if [ "${BUILDSTATICLIB:-no}" = "yes" ]; then
- echo "**building a static library for gmsh**"
+ echo " "
+ echo "** building a static library for gmsh **"
+ echo " "
mkdir lib
cd lib
cmake -DDEFAULT=0 \
@@ -94,12 +96,17 @@ if [ "${BUILDSTATICLIB:-no}" = "yes" ]; then
-DENABLE_BLAS_LAPACK=1 \
-DENABLE_BUILD_LIB=1 \
-DENABLE_PRIVATE_API=1 \
+ -DENABLE_MED=OFF \
+ -DENABLE_CGNS=OFF \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_INSTALL_DOCDIR:PATH=/usr/share/gmsh \
..
make lib
make install/fast DESTDIR=$PKG/
cd ..
+ echo " "
+ echo "** finished building the static library **"
+ echo " "
fi
mkdir build
@@ -113,8 +120,12 @@ cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DENABLE_PRIVATE_API=1 \
-DENABLE_PETSC=OFF \
-DENABLE_SLEPC=OFF \
+ -DENABLE_MED=OFF \
+ -DENABLE_CGNS=OFF \
..
# only demos/ and tutorial/ folders will be left in the /usr/share/gmsh dir
+# TODO: Solve runtime issues with HDF5 - this is the reason for disabling
+# MED and CGNS in gmsh 4.12.1
make
make install DESTDIR=$PKG
diff --git a/academic/gmsh/gmsh.info b/academic/gmsh/gmsh.info
index 1d860321b3a1..a97da1d81834 100644
--- a/academic/gmsh/gmsh.info
+++ b/academic/gmsh/gmsh.info
@@ -1,10 +1,10 @@
PRGNAM="gmsh"
-VERSION="4.11.1"
+VERSION="4.12.1"
HOMEPAGE="https://gmsh.info/"
-DOWNLOAD="https://gmsh.info/src/gmsh-4.11.1-source.tgz"
-MD5SUM="681ccfa83213921884ede92a80191ba2"
+DOWNLOAD="https://gmsh.info/src/gmsh-4.12.1-source.tgz"
+MD5SUM="97b33a99f263dfba6d8df097098e090e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="fltk lapack med OpenCASCADE"
+REQUIRES="fltk lapack OpenCASCADE"
MAINTAINER="Fellype do Nascimento"
EMAIL="fellype (at) gmail (dot) com"