summaryrefslogtreecommitdiffstats
path: root/graphics/FreeCAD
diff options
context:
space:
mode:
author Christoph Willing <chris.willing@linux.com>2023-04-03 15:51:32 +1000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-08 09:16:37 +0700
commit58cbec94aaa0a5874afd870dd167087f60c87d30 (patch)
treefb2df8124dcd64f3aa66922a0e1422c5c57c2058 /graphics/FreeCAD
parent0ce3f57d5e31d6a7e6bc63f4734efaad32d1ad5d (diff)
downloadslackbuilds-58cbec94aaa0a5874afd870dd167087f60c87d30.tar.gz
slackbuilds-58cbec94aaa0a5874afd870dd167087f60c87d30.tar.xz
graphics/FreeCAD: Updated for version 0.20.2
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/FreeCAD')
-rw-r--r--graphics/FreeCAD/FreeCAD.SlackBuild5
-rw-r--r--graphics/FreeCAD/FreeCAD.info6
2 files changed, 6 insertions, 5 deletions
diff --git a/graphics/FreeCAD/FreeCAD.SlackBuild b/graphics/FreeCAD/FreeCAD.SlackBuild
index e54fa1bb08..497de0bc8a 100644
--- a/graphics/FreeCAD/FreeCAD.SlackBuild
+++ b/graphics/FreeCAD/FreeCAD.SlackBuild
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=FreeCAD
-VERSION=${VERSION:-0.19.2}
+VERSION=${VERSION:-0.20.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,6 +81,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i -e '/# include <Standard_TooManyUsers.hxx>/d' src/Mod/Part/App/OCCError.h
+
mkdir build
cd build
cmake \
@@ -91,7 +93,6 @@ cd build
-DOCC_INCLUDE_DIR:PATH=/usr/include/opencascade \
-DOCC_LIBRARY:PATH=/usr/lib${LIBDIRSUFFIX} \
-DRESOURCEDIR=/opt/$PRGNAM/share/data \
- -DBUILD_ENABLE_CXX_STD=C++14 \
-DBUILD_QT5=ON \
-DBUILD_FEM=OFF \
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
diff --git a/graphics/FreeCAD/FreeCAD.info b/graphics/FreeCAD/FreeCAD.info
index 0c35cbfdd1..509a531c74 100644
--- a/graphics/FreeCAD/FreeCAD.info
+++ b/graphics/FreeCAD/FreeCAD.info
@@ -1,8 +1,8 @@
PRGNAM="FreeCAD"
-VERSION="0.19.2"
+VERSION="0.20.2"
HOMEPAGE="https://www.freecadweb.org/"
-DOWNLOAD="https://github.com/FreeCAD/FreeCAD/archive/0.19.2/FreeCAD-0.19.2.tar.gz"
-MD5SUM="5c13477c7cc2e9a8324da2e5aa47ef66"
+DOWNLOAD="https://github.com/FreeCAD/FreeCAD/archive/0.20.2/FreeCAD-0.20.2.tar.gz"
+MD5SUM="eb80214ec61df548fdf25430ae70d503"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="OpenCASCADE Pivy pyside2 shiboken2 xerces-c"