extra/freecad to 0.21.2-22

This commit is contained in:
David Beauchamp 2024-05-20 08:45:01 -04:00
parent 6e1b9ad8c6
commit 9a59c563a3
2 changed files with 8 additions and 6 deletions

View file

@ -1,7 +1,7 @@
pkgbase = freecad
pkgdesc = Feature based parametric 3D CAD modeler
pkgver = 0.21.2
pkgrel = 21
pkgrel = 22
url = https://freecadweb.org/
arch = x86_64
license = LGPL
@ -13,16 +13,17 @@ pkgbase = freecad
makedepends = libharu
makedepends = liblas
makedepends = ninja
makedepends = nlohmann-json
makedepends = openvdb
makedepends = openvr
makedepends = ospray
makedepends = pdal
makedepends = postgresql-libs
makedepends = python-mpi4py
makedepends = setconf
makedepends = shiboken6
makedepends = swig
makedepends = utf8cpp
makedepends = nlohmann-json
depends = asciidoctor
depends = boost-libs
depends = coin

View file

@ -18,7 +18,7 @@ highmem=1
pkgname=freecad
pkgver=0.21.2
pkgrel=21
pkgrel=22
pkgdesc='Feature based parametric 3D CAD modeler'
arch=(x86_64)
url='https://freecadweb.org/'
@ -28,9 +28,9 @@ depends=(asciidoctor boost-libs coin fmt glew jsoncpp libspnav med-openmpi netcd
python-markdown python-matplotlib python-pip python-pivy python-ply
python-yaml qt6-svg qt6-tools qt6-webengine
xerces-c verdict)
makedepends=(boost cgns cmake eigen git libharu liblas ninja openvdb openvr
pdal postgresql-libs python-mpi4py
shiboken6 swig utf8cpp nlohmann-json)
makedepends=(boost cgns cmake eigen git libharu liblas ninja nlohmann-json openvdb
openvr pdal postgresql-libs python-mpi4py setconf shiboken6 swig
utf8cpp)
optdepends=('graphviz: dependency graph support'
'openscad: OpenSCAD support')
options=(!lto)
@ -61,6 +61,7 @@ prepare() {
patch -d freecad -Np1 -i ../fixups-with-qt6-enums.patch # Discard int conversions in WBs Python sources
sed -e 's|Shiboken::Module::getTypes(requiredModule)|reinterpret_cast<PyTypeObject **>(Shiboken::Module::getTypes(requiredModule))|' \
-i freecad/src/Gui/PythonWrapper.cpp # Fix build with PySide 6.7
setconf freecad/src/XDGData/org.freecad.FreeCAD.desktop Icon=org.freecad.FreeCAD
}
build() {