Skip to content

Commit

Permalink
snapcraft.yaml: stage lensfun
Browse files Browse the repository at this point in the history
liblensfun-dev is a `build-package`, but without actually staging the
lensfun database Darktable is unable to actually do its lens correction
at runtime.

Add liblensfun0 as a `stage-package`.

Fix #5

Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
  • Loading branch information
kyrofa committed Oct 23, 2017
1 parent 48638aa commit 8c9f85e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -2,3 +2,4 @@ parts/
stage/
prime/
*.snap
snap/.snapcraft/
File renamed without changes.
File renamed without changes
7 changes: 7 additions & 0 deletions snap/snapcraft.yaml
Expand Up @@ -6,6 +6,8 @@ description: |
developer. A virtual lighttable and darkroom for photographers. It manages
your digital negatives in a database, lets you view them through a zoomable
lighttable and enables you to develop raw images and enhance them.
grade: stable
confinement: strict

apps:
Expand Down Expand Up @@ -37,6 +39,11 @@ parts:
- libjson-glib-dev
- libexiv2-dev
- libpugixml-dev

# Stage the lensfun database used for lens correction
stage-packages:
- liblensfun0

after: [desktop-gtk3]

desktop-gtk3:
Expand Down

0 comments on commit 8c9f85e

Please sign in to comment.