This repository has been archived by the owner on May 26, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsnapcraft.yaml
155 lines (147 loc) · 5.04 KB
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
name: kicad-dev-snap
version: "4.1.0-snap1"
summary: Electronic schematic and PCB design software
description: |
Kicad is a suite of programs for the creation of printed circuit boards.
It includes a schematic editor, a PCB layout tool, support tools and a
3D viewer to display a finished & fully populated PCB.
Kicad is made up of 5 main components
* kicad - project manager
* eeschema - schematic editor
* pcbnew - PCB editor
* gerbview - GERBER viewer
* cvpcb - footprint selector for components
Libraries
* Both eeschema and pcbnew have library managers and editors for their
components and footprints
* You can easily create, edit, delete and exchange library items
* Documentation files can be associated with components, footprints and key
words, allowing a fast search by function
* Very large libraries are available for schematic components and footprints
* Most components have corresponding 3D models
confinement: strict
apps:
bitmap2component:
command: kicad.wrapper $SNAP/usr/bin/bitmap2component
plugs: [home, mount-observe, opengl, unity7]
eeschema:
command: kicad.wrapper $SNAP/usr/bin/eeschema
plugs: [home, mount-observe, network, network-bind, opengl, unity7]
gerbview:
command: kicad.wrapper $SNAP/usr/bin/gerbview
plugs: [home, mount-observe, opengl, unity7]
kicad:
command: kicad.wrapper $SNAP/usr/bin/kicad
plugs: [home, mount-observe, network, network-bind, opengl, unity7]
pcb-calculator:
command: kicad.wrapper $SNAP/usr/bin/pcb_calculator
plugs: [home, mount-observe, opengl, unity7]
pcbnew:
command: kicad.wrapper $SNAP/usr/bin/pcbnew
plugs: [home, mount-observe, network, network-bind, opengl, unity7]
pl-editor:
command: kicad.wrapper $SNAP/usr/bin/pl_editor
plugs: [home, mount-observe, opengl, unity7]
parts:
wrapper:
plugin: copy
files:
kicad.wrapper: bin/
stage-packages:
- locales
- libc-bin
ngspice:
source: http://git.code.sf.net/p/ngspice/ngspice
source-type: git
plugin: autotools
configflags: [--with-ngshared,
--enable-xspice,
--enable-cider,
--enable-openmp,
--prefix=/usr]
build-packages:
- flex
- bison
stage:
- -usr/share/ngspice/scripts/spinit
ngspice-fix:
plugin: copy
files:
fixes/ngspice/spinit: usr/share/ngspice/scripts/
after: [ngspice]
kicad:
source: https://git.launchpad.net/kicad
source-type: git
plugin: cmake
configflags: [-DCMAKE_BUILD_TYPE=Release,
-DCMAKE_INSTALL_PREFIX=/usr,
-DDEFAULT_INSTALL_PATH=$SNAP/usr,
-DKICAD_SCRIPTING=ON,
-DKICAD_SCRIPTING_MODULES=ON,
-DKICAD_SCRIPTING_WXPYTHON=ON,
-DKICAD_SPICE=ON,
-DKICAD_USER_CONFIG_DIR=$SNAP_USER_COMMON]
build-packages:
- build-essential
- git
- grep
- libboost-all-dev
- libbz2-dev
- libcairo2-dev
- libcurl4-openssl-dev
- libgl1-mesa-dev
- libglew-dev
- libglm-dev
- libglu1-mesa-dev
- libssl-dev
- libwxbase3.0-dev
- libwxgtk-webview3.0-dev
- libwxgtk3.0-dev
- libx11-dev
- mesa-common-dev
- pkg-config
- python-dev
- python-wxgtk3.0
- python-wxgtk3.0-dev
- swig3.0
stage-packages:
- python-wxgtk3.0
- libpython2.7
stage:
- -usr/share/doc/fontconfig-config/changelog.Debian.gz
- -usr/share/pkgconfig/shared-mime-info.pc
after: [desktop/gtk2, ngspice]
doc:
source: https://github.com/KiCad/kicad-doc/archive/master.zip
source-subdir: kicad-doc-master
plugin: cmake
configflags: [-DCMAKE_INSTALL_PREFIX=/usr,
-DBUILD_FORMATS=html]
build-packages:
- asciidoc
- dblatex
- docbook-utils
- gettext
- liblocale-gettext-perl
- libunicode-linebreak-perl
- libxml2-utils
- lmodern
- pandoc
- po4a
- source-highlight
- texlive-lang-all
- texlive-xetex
- ttf-freefont
- xmlto
i18n:
source: https://github.com/KiCad/kicad-i18n/archive/master.zip
source-subdir: kicad-i18n-master
plugin: cmake
configflags: [-DCMAKE_INSTALL_PREFIX=/usr]
build-packages:
- gettext
library:
source: https://github.com/KiCad/kicad-library/archive/master.zip
source-subdir: kicad-library-master
plugin: cmake
configflags: [-DCMAKE_INSTALL_PREFIX=/usr]