summaryrefslogtreecommitdiffstats
path: root/development/kicad/kicad.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/kicad/kicad.SlackBuild')
-rw-r--r--development/kicad/kicad.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/development/kicad/kicad.SlackBuild b/development/kicad/kicad.SlackBuild
index 32489410a8..0366f8c99a 100644
--- a/development/kicad/kicad.SlackBuild
+++ b/development/kicad/kicad.SlackBuild
@@ -26,7 +26,7 @@
# Revision date: 2017/Nov/12
PRGNAM=kicad
-VERSION=${VERSION:-4.0.7}
+VERSION=${VERSION:-5.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,10 +72,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 {} \;
-# KiCad 4.0.5 cannot be compiled with boost 1.61 and higher since the latter requires C++11.
-# If you insist to use boost 1.61 and higher, you can apply this patch manually and compile
-# with a C++11 capable compiler and its appropriate compiler switches.
-patch -p1 --verbose < $CWD/boost-1.61.patch
+# https://bugs.launchpad.net/kicad/+bug/1816286
+patch -p1 < $CWD/swig-4.0.0.patch
mkdir -p build
cd build
@@ -90,6 +88,8 @@ cd build
-DKICAD_SCRIPTING=ON \
-DKICAD_SCRIPTING_MODULES=ON \
-DKICAD_SCRIPTING_WXPYTHON=ON \
+ -DKICAD_USE_OCE=OFF \
+ -DBoost_NO_BOOST_CMAKE=ON \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
make install DESTDIR=$PKG