-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from popey/add-snapcraft
Add support for building a snap of dframe
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
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,35 @@ | ||
name: dframe | ||
base: core18 # the base snap is the execution environment for this snap | ||
version: git | ||
summary: Put device frames around your mobile/web/progressive app screenshots | ||
description: | | ||
Pass in filenames, file globs, websites urls, or image urls. In any combination or order. | ||
dframe will prompt for the frames to use. Select multiple frames and search by typing. | ||
Once all the frames are selected, hit ESC. | ||
The frames will be downloaded from a CDN and cached locally in case they need re-using. | ||
grade: stable | ||
confinement: strict | ||
|
||
parts: | ||
deviceframe: | ||
plugin: nodejs | ||
nodejs-version: "8.14.0" | ||
source: . | ||
build-packages: | ||
- build-essential | ||
stage-packages: | ||
- libpng16-16 | ||
- libfreetype6 | ||
- libfontconfig1 | ||
- fontconfig-config | ||
|
||
apps: | ||
dframe: | ||
command: bin/dframe | ||
environment: | ||
FONTCONFIG_PATH: "$SNAP/etc/fonts" | ||
plugs: | ||
- network | ||
- home | ||
- removable-media |