Merge branch 'master' of ssh://git.code.sf.net/p/maxima/code
[maxima.git] / snap / snapcraft.yaml
blobce841bd55c07dbc3b62e206e22a87ca20c6d1bb5
1 name: maxima
2 version: 5.47.0-0
3 summary: A full-fledged computer algebra system
4 description: |
5   A full featured computer algebra system,
6   doing symbolic manipulation of polynomials, matrices, rational
7   functions, integration, Todd-coxeter, graphing, bigfloats.  It has a
8   symbolic debugger source level debugger for maxima code.  Maxima is
9   based on the original Macsyma developed at MIT in the 1970's.
10   It comes with extensive self tests.
12   What a snappy app cannot provide is allowing an external web browser
13   to open the offline manual it comes bundled with.
14 grade: stable
15 base: core24
16 license: GPL-2.0+
17 confinement: strict
18 platforms:
19   amd64:
20   arm64:
21   armhf:
22   ppc64el:
23   s390x:
24 apps:
25   maxima:
26     command: usr/bin/maxima
27     plugs:
28      - network
29      - network-bind
30      - home
31      - removable-media
32      - optical-drive
34   rmaxima:
35     command: usr/bin/rmaxima
36     plugs:
37      - network
38      - network-bind
39      - home
40      - removable-media
41      - optical-drive
43   xmaxima:
44     command: usr/bin/xmaxima
45     plugs:
46      - network
47      - home
48      - removable-media
49      - optical-drive
50      - desktop
51      - desktop-legacy
52      - wayland
53      - x11
54     desktop: usr/share/applications/net.sourceforge.maxima.xmaxima.desktop
56 parts:
57   maxima:
58     plugin: autotools
59     source: .
60     autotools-configure-parameters:
61        - --prefix=/usr
62     build-packages:
63      - to arm64,amd64,armhf:
64        - clisp
65        - texinfo
66        - libreadline-dev
67        - locales
68        - automake
69        - autoconf
70        - gawk
71        - texlive-latex-recommended
72        - tex-common
73        - python3
74        - sbcl
75      - else:
76        - clisp
77        - texinfo
78        - libreadline-dev
79        - locales
80        - automake
81        - autoconf
82        - gawk
83        - texlive-latex-recommended
84        - tex-common
85        - python3
86     stage-packages:
87      - to arm64,amd64,armhf:
88        - clisp
89        - gnuplot
90        - gnuplot-qt
91        - sbcl
92      - else:
93        - clisp
94        - gnuplot
95        - gnuplot-qt
96     stage:
97      - -usr/share/texmf/ls-R
98 layout:
99   /usr/bin/gnuplot:
100     symlink: $SNAP/usr/bin/gnuplot-qt