mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/freecad to 1.0rc1-2
This commit is contained in:
parent
c818d47755
commit
0252b14a80
2 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = freecad
|
pkgbase = freecad
|
||||||
pkgdesc = Feature based parametric 3D CAD modeler
|
pkgdesc = Feature based parametric 3D CAD modeler
|
||||||
pkgver = 1.0rc1
|
pkgver = 1.0rc1
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://freecadweb.org/
|
url = https://freecadweb.org/
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = LGPL
|
license = LGPL
|
||||||
|
@ -52,6 +52,7 @@ pkgbase = freecad
|
||||||
depends = verdict
|
depends = verdict
|
||||||
depends = xerces-c
|
depends = xerces-c
|
||||||
optdepends = graphviz: dependency graph support
|
optdepends = graphviz: dependency graph support
|
||||||
|
optdepends = opencamlib: CAM workbench support
|
||||||
optdepends = openscad: OpenSCAD support
|
optdepends = openscad: OpenSCAD support
|
||||||
options = !lto
|
options = !lto
|
||||||
source = git+https://github.com/freecad/freecad#tag=1.0rc1
|
source = git+https://github.com/freecad/freecad#tag=1.0rc1
|
||||||
|
|
|
@ -20,7 +20,7 @@ highmem=1
|
||||||
|
|
||||||
pkgname=freecad
|
pkgname=freecad
|
||||||
pkgver=1.0rc1
|
pkgver=1.0rc1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='Feature based parametric 3D CAD modeler'
|
pkgdesc='Feature based parametric 3D CAD modeler'
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url='https://freecadweb.org/'
|
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
|
openvdb openvr pdal postgresql-libs python-mpi4py shiboken6
|
||||||
swig utf8cpp dos2unix microsoft-gsl)
|
swig utf8cpp dos2unix microsoft-gsl)
|
||||||
optdepends=('graphviz: dependency graph support'
|
optdepends=('graphviz: dependency graph support'
|
||||||
|
'opencamlib: CAM workbench support'
|
||||||
'openscad: OpenSCAD support')
|
'openscad: OpenSCAD support')
|
||||||
options=(!lto)
|
options=(!lto)
|
||||||
source=("git+https://github.com/$pkgname/$pkgname#tag=$pkgver")
|
source=("git+https://github.com/$pkgname/$pkgname#tag=$pkgver")
|
||||||
|
@ -44,11 +45,11 @@ prepare() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
# -D BUILD_DESIGNER_PLUGIN=ON \
|
|
||||||
cmake \
|
cmake \
|
||||||
-B build \
|
-B build \
|
||||||
-D BUILD_FLAT_MESH=ON \
|
-D BUILD_FLAT_MESH=ON \
|
||||||
-D BUILD_ENABLE_CXX_STD=C++17 \
|
-D BUILD_ENABLE_CXX_STD=C++17 \
|
||||||
|
-D BUILD_DESIGNER_PLUGIN=ON \
|
||||||
-D CMAKE_BUILD_TYPE=Release \
|
-D CMAKE_BUILD_TYPE=Release \
|
||||||
-D CMAKE_C_FLAGS="$CFLAGS -fPIC -w" \
|
-D CMAKE_C_FLAGS="$CFLAGS -fPIC -w" \
|
||||||
-D CMAKE_CXX_FLAGS="$CXXFLAGS -fPIC -w" \
|
-D CMAKE_CXX_FLAGS="$CXXFLAGS -fPIC -w" \
|
||||||
|
|
Loading…
Reference in a new issue