Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages /
freecad
Commits:
2fa93fe3 by Sven-Hendrik Haase at 2024-09-18T01:54:57+02:00
upgpkg: 1.0rc1-2: Add optdep on opencamlib and enable designer plugin
Fixes #4 and #12.
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.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
=====================================
PKGBUILD
=====================================
@@ -14,7 +14,7 @@
pkgname=freecad
pkgver=1.0rc1
-pkgrel=1
+pkgrel=2
pkgdesc='Feature based parametric 3D CAD modeler'
arch=(x86_64)
url='https://freecadweb.org/'
@@ -27,6 +27,7 @@ makedepends=(boost cgns cmake eigen git libharu liblas ninja
nlohmann-json
openvdb openvr ospray 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")
@@ -38,11 +39,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 -ffat-lto-objects -fPIC -w" \
-D CMAKE_CXX_FLAGS="$CXXFLAGS -ffat-lto-objects -fPIC -w" \
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/freecad/-/commit/2fa93fe3448091234daced17bcadb1e85ff40f7e
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/freecad/-/commit/2fa93fe3448091234daced17bcadb1e85ff40f7e
You're receiving this email because of your account on gitlab.archlinux.org.