Browse Source

Upgrade kicad

master
mid-kid 6 years ago
parent
commit
7db09410e9
  1. 11
      satellites/kicad-footprints.sat
  2. 19
      satellites/kicad-library.sat
  3. 12
      satellites/kicad.sat
  4. 18
      satellites/ngspice.sat
  5. 4
      satellites/waf.sat
  6. 2
      satellites/wxwidgets.sat

11
satellites/kicad-footprints.sat

@ -1,11 +0,0 @@
name=kicad
version=4.0.7
dlextract "http://downloads.kicad-pcb.org/libraries/$name-footprints-$version.tar.gz" \
'280b065c34ca9ea225772893e84c65cc'
_
mkdir -p "$dir_install/$dir_prefix/$dir_data/kicad"
cp -aT "$name-footprints-$version" "$dir_install/$dir_prefix/$dir_data/kicad/footprints"
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:

19
satellites/kicad-library.sat

@ -1,13 +1,24 @@
import 'compile/cmake' import 'compile/cmake'
name=kicad name=kicad
version=4.0.7 version=5.0.0
dlextract "http://downloads.kicad-pcb.org/libraries/$name-library-$version.tar.gz" \ dlextract "https://github.com/KiCad/$name-symbols/archive/$version/$name-symbols-$version.tar.gz" \
'b8517ed459d1f9d73a85b0a79691df29' '03cb33312062571118a277bafd01c06d'
dlextract "https://github.com/KiCad/$name-footprints/archive/$version/$name-footprints-$version.tar.gz" \
'e8ce40c47b108280d7878f858899ab10'
dlextract "https://github.com/KiCad/$name-packages3D/archive/$version/$name-packages3D-$version.tar.gz" \
'aac66499bbbd9f21ad3e90af7ba854d2'
_ _
cd "$name-library-$version" ( cd "$name-symbols-$version"
compile_cmake compile_cmake
)
( cd "$name-footprints-$version"
compile_cmake
)
( cd "$name-packages3D-$version"
compile_cmake
)
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:

12
satellites/kicad.sat

@ -1,14 +1,18 @@
import 'compile/cmake' import 'compile/cmake'
name=kicad name=kicad
majver=4.0 majver=5.0
version=$majver.7 version=$majver.0
dlextract "https://launchpad.net/$name/$majver/$version/+download/$name-$version.tar.xz" \ dlextract "https://launchpad.net/$name/$majver/$version/+download/$name-$version.tar.xz" \
'af3ee2e40c25f1c01b92cd27c1a1b180' '99a39910a3f7d8320b605bb9a9ff3af8'
_ _
cd "$name-$version" cd "$name-$version"
compile_cmake -- -DKICAD_SKIP_BOOST=ON compile_cmake -- \
-DKICAD_USE_OCE=OFF \
-DKICAD_SCRIPTING_WXPYTHON=OFF
# Disabled WxPython until Phoenix is supported...
# It's not worth it to downgrade WxWidgets just to be able use non-existing scripts for an old library on a now unsupported version of python.
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:

18
satellites/ngspice.sat

@ -0,0 +1,18 @@
import 'compile/configure'
name=ngspice
version=28
dlextract "https://sourceforge.net/projects/ngspice/files/ng-spice-rework/$version/$name-$version.tar.gz" \
'5ee9c0a5f52d69ae20b8ef9b46608769'
_
cd "$name-$version"
compile_configure -- \
--with-readline=yes \
--with-ngshared \
--enable-xspice \
--enable-cider \
--enable-openmp
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:

4
satellites/waf.sat

@ -1,10 +1,10 @@
import 'compile/waf' import 'compile/waf'
name=waf name=waf
version=1.9.12 version=2.0.9
dlextract "https://waf.io/$name-$version.tar.bz2" \ dlextract "https://waf.io/$name-$version.tar.bz2" \
'601d7f5d92c9366f1196c2dfa32dee76' 'ae4225757cb0611b408856ea99b9a901'
_ _
cd "$name-$version" cd "$name-$version"

2
satellites/wxwidgets.sat

@ -8,6 +8,6 @@ dlextract "https://github.com/$name/$name/releases/download/v$version/$name-$ver
_ _
cd "$name-$version" cd "$name-$version"
compile_configure compile_configure -- --with-gtk=2
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:

Loading…
Cancel
Save