community/freecad to 0.20.1-9

This commit is contained in:
Kevin Mihelich 2022-11-01 00:21:24 +00:00
parent 4abe1b3afd
commit a7ff49fa75

View file

@ -18,16 +18,21 @@ highmem=1
pkgname=freecad
pkgver=0.20.1
pkgrel=8
pkgrel=9
pkgdesc='Feature based parametric 3D CAD modeler'
arch=(x86_64)
url='https://freecadweb.org/'
license=(LGPL)
depends=(boost-libs coin fmt glew jsoncpp libspnav med-openmpi netcdf opencascade openmpi pugixml pyside2 pyside2-tools python-gitpython python-matplotlib python-pip python-pivy python-ply qt5-svg qt5-tools qt5-webengine qt5-x11extras qt5-xmlpatterns xerces-c)
makedepends=(boost cgns cmake eigen git libharu liblas ninja openvdb openvr pdal postgresql-libs python-mpi4py python-shiboken2 qt5-webengine shiboken2 swig utf8cpp)
depends=(boost-libs coin fmt glew jsoncpp libspnav med-openmpi netcdf
opencascade openmpi pugixml pyside2 pyside2-tools python-gitpython
python-markdown python-matplotlib python-pip python-pivy python-ply
python-yaml qt5-svg qt5-tools qt5-webengine qt5-x11extras
qt5-xmlpatterns xerces-c)
makedepends=(boost cgns cmake eigen git libharu liblas ninja openvdb openvr
pdal postgresql-libs python-mpi4py python-shiboken2
qt5-webengine shiboken2 swig utf8cpp)
optdepends=('graphviz: dependency graph support'
'openscad: OpenSCAD support'
'python-markdown: for the addon manager')
'openscad: OpenSCAD support')
source=("git+https://github.com/$pkgname/$pkgname#commit=f5d13554ecc7a456fb6e970568ae5c74ba727563") # tag: 0.20.1 SE
b2sums=(SKIP)
@ -59,8 +64,10 @@ build() {
package() {
DESTDIR="$pkgdir" ninja -C build install
# thumbnailer
install -Dm755 $pkgname/src/Tools/$pkgname-thumbnailer -t "$pkgdir/usr/bin/"
# symlinks
install -d "$pkgdir/usr/bin"
ln -sf /usr/lib/freecad/bin/FreeCAD "$pkgdir/usr/bin/freecad"