summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2018-05-02 21:19:46 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-05-02 21:19:46 +0100
commitd66ede22edaeb26f30f0f28e884ef2dbdd7d1f95 (patch)
tree20aef1dc8a771dba28633404447b78b8b1478ef2 /graphics
parentd104d7c023f2944b8bf3cd522121ec4d3f5fcee9 (diff)
downloadslackbuilds-d66ede22edaeb26f30f0f28e884ef2dbdd7d1f95.tar.gz
graphics/FreeCAD: Updated for version 0.17.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/FreeCAD/FreeCAD.SlackBuild6
-rw-r--r--graphics/FreeCAD/FreeCAD.info6
-rw-r--r--graphics/FreeCAD/no_coin3d_docs.patch17
3 files changed, 5 insertions, 24 deletions
diff --git a/graphics/FreeCAD/FreeCAD.SlackBuild b/graphics/FreeCAD/FreeCAD.SlackBuild
index 5e4db3365d..dc09930805 100644
--- a/graphics/FreeCAD/FreeCAD.SlackBuild
+++ b/graphics/FreeCAD/FreeCAD.SlackBuild
@@ -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
diff --git a/graphics/FreeCAD/FreeCAD.info b/graphics/FreeCAD/FreeCAD.info
index 73b554d4da..48410101bb 100644
--- a/graphics/FreeCAD/FreeCAD.info
+++ b/graphics/FreeCAD/FreeCAD.info
@@ -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"
diff --git a/graphics/FreeCAD/no_coin3d_docs.patch b/graphics/FreeCAD/no_coin3d_docs.patch
deleted file mode 100644
index bf6db9d20b..0000000000
--- a/graphics/FreeCAD/no_coin3d_docs.patch
+++ /dev/null
@@ -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)
-