File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed
Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 11name : image-sieve
22title : ImageSieve
3- base : core20
3+ base : core22
44summary : Tool to sort out images and archive them in a target folder
55description : |
66 ImageSieve aims to help in the process of sorting through images taken by several
@@ -18,24 +18,32 @@ icon: snap/gui/ImageSieve.png
1818apps :
1919 image-sieve :
2020 command : bin/image_sieve
21- extensions : [gnome-3-38 ]
21+ extensions : [gnome]
2222 plugs :
2323 - home
2424 - removable-media
2525 - network
2626
2727parts :
28+ install-rust :
29+ plugin : nil
30+ override-build : |
31+ if ! command -v rustup 2>/dev/null; then
32+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --profile=minimal
33+ export PATH="${HOME}/.cargo/bin:${PATH}"
34+ fi
2835 image-sieve :
2936 plugin : rust
37+ after : [install-rust]
3038 source : .
3139 override-pull : |
32- snapcraftctl pull
40+ craftctl default
3341 ver=""
3442 ver=$(git describe --tags --abbrev=0 | sed 's/v//') || true
3543 if [ -z $ver ]
3644 then ver="0.0.0"
3745 fi
38- snapcraftctl set-version $ver
46+ craftctl set version= $ver
3947 build-packages :
4048 - cmake
4149 - git
4957 - libavutil-dev
5058 - libswscale-dev
5159 - libclang-dev
60+ - rustc
61+ - cargo
5262
5363 deps :
5464 plugin : nil
You can’t perform that action at this time.
0 commit comments