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
|
name: thunderbird
version: 60.0
summary: Mozilla Thunderbird email application
description: Thunderbird is a free email application that’s easy to set up and customize - and it’s loaded with great features!
confinement: strict
grade: stable
plugs:
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
apps:
thunderbird:
command: bin/desktop-launch $SNAP/thunderbird-bin
environment:
DISABLE_WAYLAND: 1
HOME: "$SNAP_USER_COMMON"
plugs:
- avahi-observe
- browser-sandbox
- camera
- cups-control
- desktop
- desktop-legacy
- gsettings
- home
- network
- network-control
- opengl
- pulseaudio
- removable-media
- unity7
- x11
plugs:
browser-sandbox:
interface: browser-support
allow-sandbox: true
parts:
thunderbird:
plugin: dump
source: https://archive.mozilla.org/pub/thunderbird/releases/60.0/linux-x86_64/en-US/thunderbird-60.0.tar.bz2
stage-packages:
- libxt6
- libdbus-glib-1-2
- libasound2
- libpulse0
- libgl1-mesa-dri
- libgl1-mesa-glx
- libmirclient9
- desktop-file-utils
organize:
"snap/thunderbird/current/usr/*": usr/lib/thunderbird
after: [desktop-gtk3]
magic:
after: [thunderbird]
plugin: nil
stage-packages:
- shared-mime-info
override-build: |
snapcraftctl build
set -eux
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/mime
update-mime-database $SNAPCRAFT_PART_INSTALL/usr/share/mime
|