graphics/FreeCAD: Updated for version 0.17.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2018-05-02 21:19:46 +01:00 committed by David Spencer
parent d104d7c023
commit d66ede22ed
3 changed files with 5 additions and 24 deletions

View File

@ -25,7 +25,7 @@
# Maintained by David Spencer <baildon.research@googlemail.com>
PRGNAM=FreeCAD
VERSION=${VERSION:-0.16.6712}
VERSION=${VERSION:-0.17}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -71,9 +71,6 @@ 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 {} \;
# no downloads allowed during the build
patch -p1 < $CWD/no_coin3d_docs.patch
mkdir build
cd build
cmake \
@ -84,6 +81,7 @@ cd build
-DOCC_INCLUDE_DIR:PATH=/opt/OpenCASCADE/inc \
-DOCC_LIBRARY:PATH=/usr/lib${LIBDIRSUFFIX} \
-DRESOURCEDIR=/opt/$PRGNAM/share/data \
-DBUILD_FEM=OFF \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG

View File

@ -1,8 +1,8 @@
PRGNAM="FreeCAD"
VERSION="0.16.6712"
VERSION="0.17"
HOMEPAGE="https://www.freecadweb.org/"
DOWNLOAD="https://github.com/FreeCAD/FreeCAD/archive/0.16.6712/FreeCAD-0.16.6712.tar.gz"
MD5SUM="40ea50aa495c0dfc2b247dc6a32aec2a"
DOWNLOAD="https://github.com/FreeCAD/FreeCAD/archive/0.17/FreeCAD-0.17.tar.gz"
MD5SUM="fd736abfd79bc37374ea8e490d3a8374"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="OpenCASCADE Pivy matplotlib pyside pyside-tools shiboken xerces-c"

View File

@ -1,17 +0,0 @@
diff -Naur freecad-0.13.1830.orig/src/Doc/CMakeLists.txt freecad-0.13.1830/src/Doc/CMakeLists.txt
--- freecad-0.13.1830.orig/src/Doc/CMakeLists.txt 2013-02-02 18:09:17.000000000 +0100
+++ freecad-0.13.1830/src/Doc/CMakeLists.txt 2013-11-19 21:23:26.655733113 +0100
@@ -53,13 +53,6 @@
SET(DOXYGEN_IMAGE_PATH ${CMAKE_SOURCE_DIR}/src/Gui/Icons)
SET(DOXYGEN_LAYOUT_FILE ${CMAKE_SOURCE_DIR}/src/Doc/FreecadDoxygenLayout.xml)
- find_package(Coin3DDoc)
- if( COIN3D_DOC_FOUND )
- SET(DOXYGEN_TAGFILES
- ${COIN3D_DOC_TAGFILE}=${COIN3D_DOC_PATH}
- )
- endif( COIN3D_DOC_FOUND )
-
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/BuildDevDoc.cfg.in
${CMAKE_CURRENT_BINARY_DIR}/BuildDevDoc.cfg @ONLY)