diff options
author | Fernando Lopez Jr <fernando.lopezjr@gmail.com> | 2019-06-04 08:03:43 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-06-09 05:31:20 +0700 |
commit | 4d08329c0b4ff9e60981bedea2d0f7ae5ee48af0 (patch) | |
tree | d4f99217df5582c31f78ee9ad33f934c5b73654a /development/kicad/kicad.SlackBuild | |
parent | 0f70df48ca143a2eb3604de9ed501db7fd659a82 (diff) |
development/kicad: Updated for version 5.1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/kicad/kicad.SlackBuild')
-rw-r--r-- | development/kicad/kicad.SlackBuild | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/development/kicad/kicad.SlackBuild b/development/kicad/kicad.SlackBuild index 32489410a826b..2f44fce534a4c 100644 --- a/development/kicad/kicad.SlackBuild +++ b/development/kicad/kicad.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for KiCad # Open-Source EDA Suite -# Copyright 2010-2013 Fernando Lopez Jr. <fernando.lopezjr@gmail.com> +# Copyright 2019 Fernando Lopez Jr. <fernando.lopezjr@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,10 +23,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Revision date: 2017/Nov/12 +# Revision date: 2019/Jun/02 PRGNAM=kicad -VERSION=${VERSION:-4.0.7} +VERSION=${VERSION:-5.1.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -75,7 +75,17 @@ find -L . \ # 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 +#patch -p1 --verbose < $CWD/boost-1.61.patch + +# KiCad 5.1.2 patch: +patch -p1 --verbose < $CWD/kicad_boost_hdr.patch + +# Additional notes: +# +# - wxWidgets and wxPython use different toolkits (gtk2 vs (gtk2-unicode)). It +# will result in a broken build. Please either install wxPython built using +# gtk2 or add '-DKICAD_SCRIPTING_WXPYTHON=OFF' to cmake parameters to disable +# wxPython support. mkdir -p build cd build @@ -90,6 +100,9 @@ cd build -DKICAD_SCRIPTING=ON \ -DKICAD_SCRIPTING_MODULES=ON \ -DKICAD_SCRIPTING_WXPYTHON=ON \ + -DKICAD_USE_SPICE=ON \ + -DKICAD_USE_OCC=ON \ + -DKICAD_USE_OCE=OFF \ -DCMAKE_BUILD_TYPE=Release .. make VERBOSE=1 make install DESTDIR=$PKG |