-
Notifications
You must be signed in to change notification settings - Fork 154
/
snapcraft.yaml
68 lines (63 loc) · 1.92 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
name: figma-linux
version: '0.9.4'
summary: Unofficial Figma desktop app for Linux platform
description: |
Figma is the first interface design tool based in the browser,
making it easier for teams to create software.
Join as in Telegram: https://t.me/figma_linux.
icon: resources/icons/256x256.png
base: core18
grade: stable
confinement: strict
architectures:
- build-on: amd64
run-on: amd64
- build-on: arm64
run-on: arm64
plugs:
gnome-3-28-1804:
interface: content
target: $SNAP/gnome-platform
default-provider: gnome-3-28-1804
gtk-3-themes:
interface: content
target: $SNAP/data-dir/themes
default-provider: gtk-common-themes
icon-themes:
interface: content
target: $SNAP/data-dir/icons
default-provider: gtk-common-themes
sound-themes:
interface: content
target: $SNAP/data-dir/sounds
default-provider: gtk-common-themes
removable-devices:
interface: removable-media
parts:
figma-linux:
plugin: dump
source: https://github.com/Figma-Linux/figma-linux/releases/download/v${SNAPCRAFT_PROJECT_VERSION}/figma-linux_${SNAPCRAFT_PROJECT_VERSION}_linux_${SNAPCRAFT_TARGET_ARCH}.zip
stage-packages:
- fonts-noto-cjk
apps:
figma-linux:
desktop: ../resources/figma-linux-snap.desktop
command: command.sh
plugs:
- home
- removable-devices
- desktop
- desktop-legacy
- x11
- unity7
- browser-support
- network
- gsettings
- pulseaudio
- opengl
environment:
DISABLE_WAYLAND: '1'
TMPDIR: $XDG_RUNTIME_DIR
PATH: '$SNAP:$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH'
SNAP_DESKTOP_RUNTIME: $SNAP/gnome-platform
LD_LIBRARY_PATH: '$SNAP_LIBRARY_PATH:$SNAP/lib:$SNAP/usr/lib:$SNAP/lib/${SNAP_ARCH}-linux-gnu:$SNAP/usr/lib/${SNAP_ARCH}-linux-gnu:$LD_LIBRARY_PATH:$SNAP/lib:$SNAP/usr/lib:$SNAP/lib/${SNAP_ARCH}-linux-gnu:$SNAP/usr/lib/${SNAP_ARCH}-linux-gnu'