flatpak:
id: org.mozilla.Thunderbird
branch: stable
runtime-name: flatpak-runtime
runtime-version: f39
packages:
- thunderbird
command: thunderbird
rename-appdata-file: thunderbird.appdata.xml
rename-desktop-file: mozilla-thunderbird.desktop
rename-icon: thunderbird
finish-args: |-
--share=ipc
--socket=x11
--socket=wayland
--device=dri
--share=network
--socket=pulseaudio
--persist=.thunderbird
--filesystem=xdg-download:rw
--talk-name=org.a11y.Bus
--own-name=org.mozilla.thunderbird_default.*
--talk-name=org.freedesktop.Notifications
--socket=pcsc
--require-version=0.10.3
--filesystem=~/.gnupg
--filesystem=xdg-run/gnupg:ro
--filesystem=/run/.heim_org.h5l.kcm-socket
--socket=cups
cleanup-commands: |
sed -i 's@>net\.thunderbird\.Thunderbird<@>mozilla-thunderbird.desktop<@' \
/app/share/metainfo/thunderbird.appdata.xml
sed -i 's|<icon.*</icon>||' \
/app/share/metainfo/thunderbird.appdata.xml
rm /app/share/icons/hicolor/24x24/apps/thunderbird.png