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>
This commit is contained in:
Christoph Willing 2023-04-03 15:51:32 +10:00 committed by Willy Sudiarto Raharjo
parent 0ce3f57d5e
commit 58cbec94aa
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 6 additions and 5 deletions

View file

@ -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 \

View file

@ -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"