-
Notifications
You must be signed in to change notification settings - Fork 2
/
snapcraft.yaml
52 lines (50 loc) · 1.17 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
name: gathertown
version: 0.2.9
summary: A better way to meet.
description: |
Electron wrapper for Gather Town
base: core22
confinement: strict
grade: stable
compression: lzo
architectures:
- build-on: amd64
apps:
gathertown:
command: out/gathertown-linux-x64/gathertown --no-sandbox
extensions: [gnome]
plugs:
- browser-support
- network
- network-bind
- audio-playback
- audio-record
- camera
- home
- desktop
- opengl
environment:
# Correct the TMPDIR path for Chromium Framework/Electron to ensure
# libappindicator has readable resources.
TMPDIR: $XDG_RUNTIME_DIR
parts:
gathertown:
plugin: nil
source: .
override-build: |
npm install
npm run build:package
#cp -rv ./out/gathertown-linux-* $SNAPCRAFT_PART_INSTALL/gathertown
#chmod -R +rx $SNAPCRAFT_PART_INSTALL/gathertown
chmod -R +xr ./out
cp -rv ./out $SNAPCRAFT_PRIME/
ls -lh $SNAPCRAFT_PRIME
#chmod -R +x $SNAPCRAFT_PRIME/gathertown
#ls -lh $SNAPCRAFT_PRIME
build-snaps:
- node/18/stable
build-packages:
- unzip
stage-packages:
- libnss3
- libnspr4