Skip to content

Commit

Permalink
Merge pull request #19 from popey/add-snapcraft
Browse files Browse the repository at this point in the history
Add support for building a snap of dframe
  • Loading branch information
c0bra authored Apr 4, 2019
2 parents f9598c9 + 98eea1f commit e907d13
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions snap/snapcraft.yaml
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

0 comments on commit e907d13

Please sign in to comment.