Skip to content
This repository has been archived by the owner on May 18, 2022. It is now read-only.

Commit

Permalink
gmsh 4.9.5 & clean up cruft
Browse files Browse the repository at this point in the history
Fixes #1
  • Loading branch information
ppd committed Mar 1, 2022
1 parent 14c72df commit e5e6d79
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,28 @@ parts:
-type f \
-name "*.cmake" \
-exec sed -i -e 's|\\${OCCT_INSTALL_BIN_LETTER}||g' {} \;
prime:
- -usr/share/opencascade

gmsh: # FEM
after: [occt]
plugin: cmake
source: https://gitlab.onelab.info/gmsh/gmsh.git
source-tag: gmsh_4_9_4
source-tag: gmsh_4_9_5
cmake-parameters:
- -DCMAKE_INSTALL_PREFIX=/usr
- -DCMAKE_BUILD_TYPE=Release
- -DENABLE_BUILD_DYNAMIC=1
- -DENABLE_MED=0
- -DENABLE_FLTK=0

cleanup:
after: [occt, gmsh]
plugin: nil
override-prime: |
set -eux
for cruft in bug lintian man; do
rm -rf $SNAPCRAFT_PRIME/usr/share/$cruft
done
find $SNAPCRAFT_PRIME/usr/share/doc/ -type f -not -name 'copyright' -delete
find $SNAPCRAFT_PRIME/usr/share -type d -empty -delete

0 comments on commit e5e6d79

Please sign in to comment.