Skip to content

Commit 6823067

Browse files
Merge pull request #14 from sergio-costas/update-to-49.1
Update to last versions
2 parents 5063b59 + ea6b6c3 commit 6823067

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

snapcraft.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: simple-scan
22
adopt-info: simple-scan
33
summary: Document Scanning Application
4+
version: 49.1
45
description: |
56
A really easy way to scan both documents and photos from a scanner (e.g. a flatbed scanner).
67
78
grade: stable # must be 'stable' to release into candidate/stable channels
89
confinement: strict
9-
base: core22
10+
base: core24
1011

1112
# this is not used or needed for anything other than to trigger automatic
1213
# installation of the cups snap via "default-provider: cups"
@@ -43,7 +44,7 @@ apps:
4344
- avahi-observe
4445
command: usr/bin/simple-scan
4546
extensions: [ gnome ]
46-
desktop: usr/share/applications/simple-scan.desktop
47+
desktop: usr/share/applications/org.gnome.SimpleScan.desktop
4748
environment:
4849
GSETTINGS_SCHEMA_DIR: $SNAP/share/glib-2.0/schemas
4950

@@ -52,7 +53,7 @@ parts:
5253
# ext: updatesnap
5354
source: https://gitlab.com/sane-project/backends.git
5455
source-type: git
55-
source-tag: '1.3.1'
56+
source-tag: '1.4.0'
5657
source-depth: 1
5758
plugin: autotools
5859
autotools-configure-parameters:
@@ -90,7 +91,7 @@ parts:
9091
after: [libsane]
9192
source: https://github.com/alexpevzner/sane-airscan
9293
source-type: git
93-
source-tag: '0.99.34'
94+
source-tag: '0.99.36'
9495
source-depth: 1
9596
plugin: make
9697
make-parameters:
@@ -110,14 +111,14 @@ parts:
110111
after: [libsane]
111112
source: https://gitlab.gnome.org/GNOME/simple-scan.git
112113
source-type: git
113-
source-tag: '48.1'
114+
source-tag: '49.1'
114115
source-depth: 1
115116
plugin: meson
116117
parse-info: [usr/share/metainfo/org.gnome.SimpleScan.appdata.xml]
117118
meson-parameters:
118119
- --prefix=/usr
119120
override-build: |
120-
sed -i.bak -e 's|Icon=org.gnome.SimpleScan$|Icon=${SNAP}/meta/gui/org.gnome.SimpleScan.svg|g' $CRAFT_PART_SRC/data/simple-scan.desktop.in
121+
sed -i.bak -e 's|Icon=org.gnome.SimpleScan$|Icon=${SNAP}/meta/gui/org.gnome.SimpleScan.svg|g' $CRAFT_PART_SRC/data/org.gnome.SimpleScan.desktop.in
121122
mkdir -p $CRAFT_PART_INSTALL/meta/gui/
122123
cp $CRAFT_PART_SRC/data/icons/hicolor/scalable/org.gnome.SimpleScan.svg $CRAFT_PART_INSTALL/meta/gui/
123124
craftctl default
@@ -139,9 +140,9 @@ parts:
139140
cleanup:
140141
after: [ libs ]
141142
plugin: nil
142-
build-snaps: [core22, gtk-common-themes, gnome-42-2204]
143+
build-snaps: [core24, gtk-common-themes, gnome-46-2404]
143144
override-prime: |
144145
set -eux
145-
for snap in "core22" "gtk-common-themes" "gnome-42-2204"; do
146+
for snap in "core24" "gtk-common-themes" "gnome-46-2404"; do
146147
cd "/snap/$snap/current" && find . -type f,l -name *.so.* -exec rm -f "$CRAFT_PRIME/{}" \;
147148
done

0 commit comments

Comments
 (0)