summaryrefslogtreecommitdiff
path: root/snap/snapcraft.yaml
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-14 11:36:54 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-14 11:36:54 +0100
commitcebf725978b32756700671a646aaed9677f6f219 (patch)
tree8aad7e2e09ba66c6ab36da556f7b8265b31898a6 /snap/snapcraft.yaml
parent13eec502b99e47e9910b5610869236698e1a8a13 (diff)
parenta632195d632be90e0da0ed0eef4b0987ed4bea6c (diff)
Merge branch 'release/3.26.2-1'3.26.2-1
Diffstat (limited to 'snap/snapcraft.yaml')
-rw-r--r--snap/snapcraft.yaml79
1 files changed, 79 insertions, 0 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
new file mode 100644
index 0000000..f13f0b5
--- /dev/null
+++ b/snap/snapcraft.yaml
@@ -0,0 +1,79 @@
+name: simple-scan
+version: 3.25.90
+summary: Document Scanning Application
+description: |
+ Simple Scan allows you to get images from a scanner (e.g. a flatbed scanner)
+
+grade: devel # must be 'stable' to release into candidate/stable channels
+confinement: classic
+
+apps:
+ simple-scan:
+ command: bin/classic-launch classic ${SNAP}/usr/bin/simple-scan
+ desktop: usr/share/applications/simple-scan.desktop
+ environment:
+ GSETTINGS_SCHEMA_DIR: $SNAP/share/glib-2.0/schemas
+
+parts:
+ libsane:
+ after: [desktop-gtk3]
+ source: https://anonscm.debian.org/cgit/sane/sane-backends.git
+ source-type: git
+ source-tag: RELEASE_1_0_27
+ plugin: autotools
+ # workaround the issue described in https://launchpad.net/bugs/1583250
+ configflags: [--prefix=/snap/simple-scan/current/usr, --with-api-spec=no]
+ organize:
+ snap/simple-scan/current/usr: usr
+ build-packages:
+ - autotools-dev
+ - autoconf
+ - chrpath
+ - dh-systemd
+ - gettext
+ - libavahi-client-dev
+ - libcups2-dev
+ - libgphoto2-dev
+ - libieee1284-3-dev
+ - libjpeg-dev
+ - libltdl3-dev
+ - libsystemd-dev
+ - libtiff-dev
+ - libusb-1.0-0-dev
+ - pkg-config
+ - po-debconf
+ - xutils-dev
+
+ simple-scan:
+ after: [libsane]
+ source: .
+ plugin: meson
+ meson-parameters: [--prefix=/usr]
+ organize:
+ snap/simple-scan/current/usr: usr
+ install: |
+ mkdir -p $SNAPCRAFT_PART_INSTALL/meta/gui/
+ cp snapbuild/data/simple-scan.desktop $SNAPCRAFT_PART_INSTALL/meta/gui/
+ build-packages:
+ - desktop-file-utils
+ - gettext
+ - gnome-common
+ - intltool
+ - itstool
+ - libcairo2-dev
+ - libcolord-dev
+ - libdbus-glib-1-dev
+ - libglib2.0-dev
+ - libgtk-3-dev
+ - libgdk-pixbuf2.0-dev
+ - libgusb-dev
+ - libpackagekit-glib2-dev
+ - libsane-dev
+ - python-scour
+ - valac
+ - zlib1g-dev
+ classic-launch:
+ plugin: dump
+ source: ./snap
+ organize:
+ classic-launch: bin/classic-launch