Revision control

Copy as Markdown

Other Tools

name: thunderbird
version: @VERSION@-@BUILD_NUMBER@
summary: A free and open source email, newsfeed, chat, and calendaring client
description: >
Thunderbird is a free and open source email, newsfeed, chat, and
calendaring client, that’s easy to set up and customize. One of the core
principles of Thunderbird is the use and promotion of open standards -
this focus is a rejection of our world of closed platforms and services
that can’t communicate with each other. We want our users to have freedom
and choice in how they communicate.
confinement: strict
grade: stable
base: core22
compression: lzo
apps:
thunderbird:
command: thunderbird
command-chain: [tmpdir.sh]
desktop: distribution/org.mozilla.thunderbird.desktop
extensions: [gnome]
environment:
HOME: "$SNAP_USER_COMMON"
GTK_USE_PORTAL: 1
slots:
- dbus-daemon
plugs:
- avahi-observe
- browser-sandbox
- camera
- cups-control
- gsettings
- gpg-keys
- home
- network
- network-control
- opengl
- audio-playback
- removable-media
- u2f-devices
slots:
dbus-daemon:
interface: dbus
bus: session
name: org.mozilla.thunderbird
plugs:
browser-sandbox:
interface: browser-support
allow-sandbox: true
etc-thunderbird-policies:
interface: system-files
read: [/etc/thunderbird/policies]
layout:
/usr/share/libdrm:
bind: $SNAP/gnome-platform/usr/share/libdrm
parts:
thunderbird:
plugin: dump
source: source
stage-packages:
- desktop-file-utils
- gnupg # Needed to use Thunderbird >78 with smartcards
- gnupg-agent # Needed to use Thunderbird >78 with smartcards
- libblkid1
- libcurl4 # Needed for the crash reporter (LP: #1983502)
- libgcrypt20
- libgpg-error0
- libgpgme11 # Needed to use Thunderbird >78 with smartcards
- liblzma5
- libudev1
- libuuid1
- zlib1g
- liblz4-1
- libxt6
organize:
"snap/thunderbird/current/usr/*": usr/lib/thunderbird
prime:
- -usr/lib/*/libgio*
- -usr/lib/*/libglib*
- -usr/lib/*/libgm*
# Find files provided by base and platform snap and ensure they aren't
# duplicated in Thunderbird snap
cleanup:
after: [thunderbird]
plugin: nil
build-snaps: [core22, gnome-42-2204]
override-prime: |
set -eux
for snap in "core22" "gnome-42-2204"; do
cd "/snap/$snap/current" && find . -type f,l -exec rm -f "$SNAPCRAFT_PRIME/{}" \;
done