-
Notifications
You must be signed in to change notification settings - Fork 56
/
snapcraft.yaml
39 lines (35 loc) · 936 Bytes
/
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
name: edumips64
version: '1.2.9'
summary: A free visual and cross-platform MIPS64 CPU simulator.
description: EduMIPS64 is a free MIPS64 visual simulator and debugger, used as a teaching tool in Computer Architecture courses.
grade: stable
base: core18
confinement: strict
parts:
edumips64:
plugin: gradle
source: https://github.com/edumips64/edumips64.git
gradle-version: '6.3'
gradle-options: [jar]
override-build: |
pip3 install -r docs/requirements.txt -U
snapcraftctl build
build-packages:
- git
- python3
- python3-pip
stage-packages:
# This is required because snap ships the headless version by default,
# which lacks splashscreen support.
- openjdk-11-jre
scripts:
plugin: dump
source: scripts
apps:
edumips64:
desktop: edumips64.desktop
command: edumips64-snap-wrapper.sh
plugs:
- home
- x11
- desktop