-
Notifications
You must be signed in to change notification settings - Fork 0
/
snapcraft.yaml
91 lines (82 loc) · 1.96 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
name: freemat-unofficial
summary: freemat-unofficial
description: |
freemat-unofficial.
Note: this application is not maintained anymore.
version: 4.2.0
grade: stable
confinement: strict
base: core18
license: GPL-2.0
icon: snap/gui/icon.png
parts:
desktop-qt4:
source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
source-subdir: qt
plugin: make
make-parameters: ["FLAVOR=qt4"]
build-packages:
- libqt4-dev
- dpkg-dev
stage-packages:
- libxkbcommon0
- ttf-ubuntu-font-family
- dmz-cursor-theme
- light-themes
- adwaita-icon-theme
- gnome-themes-standard
- shared-mime-info
- libqtgui4
- libgdk-pixbuf2.0-0
- libqt4-svg # for loading icon themes which are svg
- appmenu-qt
- locales-all
- sni-qt
qt4gtkstyle:
plugin: nil
stage-packages:
- libgnomeui-0
freemat-unofficial:
plugin: nil
stage-packages:
- freemat
after: [desktop-qt4]
apps:
freemat-unofficial:
command: bin/desktop-launch $SNAP/usr/bin/freemat
desktop: usr/share/applications/freemat.desktop
environment:
PATH: $SNAP/usr/bin:$SNAP/bin/:$PATH
# Fallback to XWayland if running in a Wayland session.
DISABLE_WAYLAND: 1
QT_STYLE_OVERRIDE: gtk2
plugs:
- x11
- unity7
- home
- network
- network-bind
- desktop
- desktop-legacy
- opengl
- audio-playback
plugs:
gtk-2-engines:
interface: content
target: $SNAP/lib/gtk-2.0
default-provider: gtk2-common-themes
gtk-2-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
layout:
/usr/share/freemat:
bind: $SNAP/usr/share/freemat