extra/freecad to 1.0rc1-2

This commit is contained in:
Kevin Mihelich 2024-09-18 00:49:16 +00:00
parent c818d47755
commit 0252b14a80
2 changed files with 5 additions and 3 deletions

View file

@ -1,7 +1,7 @@
pkgbase = freecad
pkgdesc = Feature based parametric 3D CAD modeler
pkgver = 1.0rc1
pkgrel = 1
pkgrel = 2
url = https://freecadweb.org/
arch = x86_64
license = LGPL
@ -52,6 +52,7 @@ pkgbase = freecad
depends = verdict
depends = xerces-c
optdepends = graphviz: dependency graph support
optdepends = opencamlib: CAM workbench support
optdepends = openscad: OpenSCAD support
options = !lto
source = git+https://github.com/freecad/freecad#tag=1.0rc1

View file

@ -20,7 +20,7 @@ highmem=1
pkgname=freecad
pkgver=1.0rc1
pkgrel=1
pkgrel=2
pkgdesc='Feature based parametric 3D CAD modeler'
arch=(x86_64)
url='https://freecadweb.org/'
@ -33,6 +33,7 @@ makedepends=(boost cgns cmake eigen git libharu liblas ninja nlohmann-json
openvdb openvr pdal postgresql-libs python-mpi4py shiboken6
swig utf8cpp dos2unix microsoft-gsl)
optdepends=('graphviz: dependency graph support'
'opencamlib: CAM workbench support'
'openscad: OpenSCAD support')
options=(!lto)
source=("git+https://github.com/$pkgname/$pkgname#tag=$pkgver")
@ -44,11 +45,11 @@ prepare() {
}
build() {
# -D BUILD_DESIGNER_PLUGIN=ON \
cmake \
-B build \
-D BUILD_FLAT_MESH=ON \
-D BUILD_ENABLE_CXX_STD=C++17 \
-D BUILD_DESIGNER_PLUGIN=ON \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_C_FLAGS="$CFLAGS -fPIC -w" \
-D CMAKE_CXX_FLAGS="$CXXFLAGS -fPIC -w" \