[skip-ci] freecad: first attempt to fix #57

This commit is contained in:
Francesco Marinucci 2018-07-11 17:30:40 +02:00
parent a3b29b76ad
commit 2a3721cf34

View File

@ -9,7 +9,7 @@ url='https://www.freecadweb.org/wiki'
license=('GPL')
depends=('boost-libs' 'curl' 'opencascade' 'xerces-c' 'libspnav' 'glu'
'shared-mime-info' 'hicolor-icon-theme' 'jsoncpp' 'med' 'qt5-base' 'qt5-declarative' 'qt5-tools' 'qt5-svg' 'netcdf'
'pyside2' 'python2-matplotlib' 'python-shiboken2'
'pyside2' 'pyside2-tools' 'python3-matplotlib' 'python-shiboken2'
'shiboken2')
makedepends=('boost' 'eigen3' 'gcc-fortran' 'swig' 'xerces-c'
'desktop-file-utils' 'cmake' 'coin' 'zlib')
@ -31,7 +31,7 @@ prepare() {
patch -Np1 -i ../$pkgname-$_rollup-rollup.patch
patch -Np1 -i ../gcc8.patch
patch -Np1 -i ../smesh-pthread.patch
# patch -Np1 -i ../smesh-pthread.patch
patch -Np1 -i ../qt5.11.patch
}
@ -43,7 +43,7 @@ build() {
-DCMAKE_INSTALL_DOCDIR="/usr/share/freecad/doc" \
-DCMAKE_INSTALL_DATADIR="/usr/share/freecad" \
-DFREECAD_USE_OCC_VARIANT="Official Version" \
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
-DBUILD_QT5=ON \
-DBUILD_QT5_WEBKIT=OFF \
-DBUILD_START=OFF \