1
0
Fork 0
mirror of synced 2024-05-17 19:03:08 +12:00
czkawka/snap/snapcraft.yaml
santiago fn 67e648a5ab
Fix Snap build (#965)
* Fix Snap build

Rustc & cargo are now installed using the script provided by
rust-lang.org. Their versions were bumped to 1.68.2. The (outdated)
versions bundled to core22 are not used anymore.

(Solution copied from https://forum.snapcraft.io/t/correct-snapcraft-syntax-for-rust-based-snap-on-core22/30947/5)

* Added additional metadata

* Remove unnecessaty icon attribute
2023-05-02 21:03:25 +02:00

38 lines
1.3 KiB
YAML

name: czkawka # you probably want to 'snapcraft register <name>'
base: core22 # the base snap is the execution environment for this snap
version: '5.1.0' # just for humans, typically '1.2+git' or '1.3.2'
summary: Czkawka - fast data cleaner written in Rust # 79 char long summary
description: |
Czkawka is very fast and feature rich cleaner which finds file duplicates, empty folders and files, duplicated music, similar images or the biggest files in selected directories.
This program have frontend written in GTK 4.
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots
compression: lzo
license: MIT
website: https://github.com/qarmin/czkawka
issues: https://github.com/qarmin/czkawka/issues
donation: https://github.com/sponsors/qarmin
parts:
rust-deps:
plugin: nil
override-pull: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.68.2
czkawka:
plugin: rust
after: [ rust-deps ]
source: https://github.com/qarmin/czkawka.git
build-packages:
- curl
- gcc
- git
rust-path: [ "czkawka_gui" ]
apps:
czkawka:
command: bin/czkawka_gui
extensions: [ gnome ]
plugs:
- home
- removable-media
- udisks2