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:
|
2018-07-15 15:58:51 +08:00
|
|
|
- desktop-gtk3
|
2017-10-06 03:38:23 +08:00
|
|
|
stage-packages:
|
|
|
|
- gir1.2-gnomekeyring-1.0
|
2018-07-17 07:47:18 +08:00
|
|
|
- libcanberra-gtk-module
|
2017-10-06 03:38:23 +08:00
|
|
|
- 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
|
2018-07-15 15:58:51 +08:00
|
|
|
- libpcre3
|
2017-10-06 03:38:23 +08:00
|
|
|
- libxkbfile1
|
|
|
|
- libxss1
|
|
|
|
- libxtst6
|
|
|
|
- python
|
|
|
|
|
|
|
|
apps:
|
|
|
|
mailspring:
|
|
|
|
command: desktop-launch $SNAP/usr/share/mailspring/mailspring
|
|
|
|
desktop: usr/share/applications/mailspring.desktop
|
|
|
|
environment:
|
2018-05-25 02:47:24 +08:00
|
|
|
# Correct the TMPDIR path for Chromium Framework/Electron to
|
|
|
|
# ensure libappindicator has readable resources.
|
2017-10-07 08:10:51 +08:00
|
|
|
HOME: $SNAP_USER_COMMON
|
2017-10-06 03:38:23 +08:00
|
|
|
TMPDIR: $XDG_RUNTIME_DIR
|
2018-05-25 02:47:24 +08:00
|
|
|
# Coerce XDG_CURRENT_DESKTOP to Unity so that App Indicators
|
|
|
|
# are used and do not fall back to Notification Area applets
|
|
|
|
# or disappear completely.
|
|
|
|
XDG_CURRENT_DESKTOP: Unity
|
2017-10-06 03:38:23 +08:00
|
|
|
plugs:
|
|
|
|
- avahi-observe
|
2017-11-08 20:32:48 +08:00
|
|
|
- browser-support
|
2017-10-06 03:38:23 +08:00
|
|
|
- cups-control
|
|
|
|
- gsettings
|
2018-07-17 07:38:11 +08:00
|
|
|
- opengl
|
2017-10-06 03:38:23 +08:00
|
|
|
- home
|
2017-12-09 03:56:16 +08:00
|
|
|
- desktop
|
2018-07-15 15:58:51 +08:00
|
|
|
- desktop-legacy
|
2017-10-06 03:38:23 +08:00
|
|
|
- mount-observe
|
|
|
|
- network
|
2017-11-02 02:16:57 +08:00
|
|
|
- network-bind
|
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
|