-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsnapcraft.yaml
More file actions
58 lines (54 loc) · 1.46 KB
/
Copy pathsnapcraft.yaml
File metadata and controls
58 lines (54 loc) · 1.46 KB
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
name: geogebra-discovery
architectures:
- build-on: amd64
base: core20
version: '5.0.641.0'
summary: An experimental version of GeoGebra
description: |
GeoGebra Discovery is an experimental version of GeoGebra.
It contains some bleeding edge features of GeoGebra that are
under heavy development and therefore not intended for every day use yet,
so they are not included in the official GeoGebra version.
grade: stable
confinement: strict
apps:
geogebra-discovery:
command: bin/GeoGebra-Discovery
environment:
JAVA_HOME: $SNAP/usr/lib/jvm/java-16-openjdk-amd64
JAVA_OPTS: -Djava.util.prefs.userRoot="$SNAP_USER_DATA"
LIBGL_DRIVERS_PATH: $SNAP/usr/lib/x86_64-linux-gnu/dri
LC_ALL: C.UTF-8
LANG: C.UTF-8
plugs:
- x11
- home
- network
- desktop
- desktop-legacy
- opengl
- wayland
parts:
geogebra-discovery:
source: https://github.com/kovzol/geogebra-discovery.git
build-packages: [wget, rsync, lsb-release, zip, default-jdk]
stage-packages:
- libfreetype6
- libpng16-16
- libpango-1.0-0
- libxext6
- libxrender1
- libgtk-3-0
- libxtst6
- libgl1
- libgl1-mesa-dri
- libgtk2.0-0
- libasound2
- lsb-release
- openjdk-16-jre
plugin: dump
override-build: |
./build5 && ./deploy5 && mkdir -p ../install/bin && cp -a dist/GeoGebra-Discovery-*/* ../install/bin
stage:
- bin
- usr