forked from Foundry376/Mailspring
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Linux Snapcraft configuration, integration with Travis
- Loading branch information
Showing
4 changed files
with
75 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
!GlobalState | ||
assets: | ||
build-packages: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: mailspring | ||
version: 1.0.1 | ||
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 | ||
source: https://mailspring-builds.s3.amazonaws.com/client/ba1d6734/linux/mailspring-1.0.1-amd64.deb | ||
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 | ||
- libgnome-keyring0 | ||
- 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: | ||
TMPDIR: $XDG_RUNTIME_DIR | ||
plugs: | ||
- avahi-observe | ||
- browser-support | ||
- cups-control | ||
- gsettings | ||
- home | ||
- mount-observe | ||
- network | ||
- network-control | ||
- password-manager-service | ||
- pulseaudio | ||
- removable-media | ||
- screen-inhibit-control | ||
- unity7 | ||
- x11 |