From 0252b14a80ee5115378db6951656e53c7249f821 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Wed, 18 Sep 2024 00:49:16 +0000 Subject: [PATCH] extra/freecad to 1.0rc1-2 --- extra/freecad/.SRCINFO | 3 ++- extra/freecad/PKGBUILD | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/extra/freecad/.SRCINFO b/extra/freecad/.SRCINFO index 3abcca418..6ee57aec4 100644 --- a/extra/freecad/.SRCINFO +++ b/extra/freecad/.SRCINFO @@ -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 diff --git a/extra/freecad/PKGBUILD b/extra/freecad/PKGBUILD index 5b38ded80..661e860ae 100644 --- a/extra/freecad/PKGBUILD +++ b/extra/freecad/PKGBUILD @@ -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" \