summaryrefslogtreecommitdiff
path: root/build-aux/snap/snapcraft.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/snap/snapcraft.yaml')
-rw-r--r--build-aux/snap/snapcraft.yaml15
1 files changed, 9 insertions, 6 deletions
diff --git a/build-aux/snap/snapcraft.yaml b/build-aux/snap/snapcraft.yaml
index d9c071b..a20c5b8 100644
--- a/build-aux/snap/snapcraft.yaml
+++ b/build-aux/snap/snapcraft.yaml
@@ -6,7 +6,7 @@ description: |
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict
-base: core18
+base: core20
slots:
# for GtkApplication registration
@@ -28,18 +28,20 @@ apps:
- io-ports-control
- raw-usb
command: usr/bin/simple-scan
- extensions: [gnome-3-28]
+ extensions: [ gnome-3-38 ]
desktop: usr/share/applications/simple-scan.desktop
environment:
GSETTINGS_SCHEMA_DIR: $SNAP/share/glib-2.0/schemas
parts:
libsane:
- source: https://salsa.debian.org/debian/sane-backends.git
+ source: https://gitlab.com/sane-project/backends.git
source-type: git
- source-tag: upstream/1.0.27
+ source-tag: release-1.0.33
plugin: autotools
- configflags: [--prefix=/snap/simple-scan/current/usr, --with-api-spec=no]
+ autotools-configure-parameters:
+ - --prefix=/snap/simple-scan/current/usr
+ - --with-api-spec=no
organize:
snap/simple-scan/current/usr: usr
build-packages:
@@ -82,9 +84,10 @@ parts:
- libgtk-3-dev
- libgdk-pixbuf2.0-dev
- libgusb-dev
+ - libgirepository1.0-dev
- libpackagekit-glib2-dev
- libsane-dev
- - python-scour
+ - libwebp-dev
- valac
- zlib1g-dev
libs: