Skip to content

Commit e907d13

Browse files
authored
Merge pull request #19 from popey/add-snapcraft
Add support for building a snap of dframe
2 parents f9598c9 + 98eea1f commit e907d13

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

snap/snapcraft.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: dframe
2+
base: core18 # the base snap is the execution environment for this snap
3+
version: git
4+
summary: Put device frames around your mobile/web/progressive app screenshots
5+
description: |
6+
Pass in filenames, file globs, websites urls, or image urls. In any combination or order.
7+
dframe will prompt for the frames to use. Select multiple frames and search by typing.
8+
Once all the frames are selected, hit ESC.
9+
The frames will be downloaded from a CDN and cached locally in case they need re-using.
10+
11+
grade: stable
12+
confinement: strict
13+
14+
parts:
15+
deviceframe:
16+
plugin: nodejs
17+
nodejs-version: "8.14.0"
18+
source: .
19+
build-packages:
20+
- build-essential
21+
stage-packages:
22+
- libpng16-16
23+
- libfreetype6
24+
- libfontconfig1
25+
- fontconfig-config
26+
27+
apps:
28+
dframe:
29+
command: bin/dframe
30+
environment:
31+
FONTCONFIG_PATH: "$SNAP/etc/fonts"
32+
plugs:
33+
- network
34+
- home
35+
- removable-media

0 commit comments

Comments
 (0)