2017-10-06 03:38:23 +08:00
|
|
|
name: mailspring
|
2017-10-06 05:10:15 +08:00
|
|
|
version: MAILSPRING_VERSION
|
2017-10-06 03:38:23 +08:00
|
|
|
summary: The best email app for people and teams at work
|
|
|
|
description: |
|
|
|
|
An extensible desktop mail app built on the modern web.
|
|
|
|
|
|
|
|
confinement: strict
|
|
|
|
|
|
|
|
parts:
|
|
|
|
mailspring:
|
|
|
|
plugin: dump
|
2017-10-06 05:10:15 +08:00
|
|
|
source: ./app/dist/mailspring-MAILSPRING_VERSION-amd64.deb
|
2017-10-06 03:38:23 +08:00
|
|
|
source-type: deb
|
|
|
|
# Correct path to icon.
|
|
|
|
prepare: |
|
|
|
|
sed -i 's|Icon=mailspring|Icon=/usr/share/pixmaps/mailspring\.png|' usr/share/applications/mailspring.desktop
|
|
|
|
after:
|
|
|
|
- desktop-gtk2
|
|
|
|
stage-packages:
|
|
|
|
- gir1.2-gnomekeyring-1.0
|
|
|
|
- libasound2
|
|
|
|
- libcurl3
|
|
|
|
- libgconf2-4
|
|
|
|
- libgcrypt20
|
2017-10-10 06:08:01 +08:00
|
|
|
- libsecret-1-0
|
2017-10-06 03:38:23 +08:00
|
|
|
- libnotify4
|
|
|
|
- libnspr4
|
|
|
|
- libnss3
|
|
|
|
- libpulse0
|
|
|
|
- libxkbfile1
|
|
|
|
- libxss1
|
|
|
|
- libxtst6
|
|
|
|
- python
|
|
|
|
|
|
|
|
apps:
|
|
|
|
mailspring:
|
|
|
|
command: desktop-launch $SNAP/usr/share/mailspring/mailspring
|
|
|
|
desktop: usr/share/applications/mailspring.desktop
|
|
|
|
# Correct the TMPDIR path for Chromium Framework/Electron to
|
|
|
|
# ensure libappindicator has readable resources.
|
|
|
|
environment:
|
2017-10-07 08:10:51 +08:00
|
|
|
HOME: $SNAP_USER_COMMON
|
|
|
|
XDG_CONFIG_HOME: "$SNAP_USER_COMMON/.config"
|
2017-10-06 03:38:23 +08:00
|
|
|
TMPDIR: $XDG_RUNTIME_DIR
|
|
|
|
plugs:
|
|
|
|
- avahi-observe
|
|
|
|
- browser-support
|
|
|
|
- cups-control
|
|
|
|
- gsettings
|
|
|
|
- home
|
|
|
|
- mount-observe
|
|
|
|
- network
|
2017-10-13 04:53:32 +08:00
|
|
|
- network-observe
|
2017-10-06 03:38:23 +08:00
|
|
|
- password-manager-service
|
|
|
|
- pulseaudio
|
|
|
|
- removable-media
|
|
|
|
- screen-inhibit-control
|
|
|
|
- unity7
|
|
|
|
- x11
|