forked from flathub/com.github.qarmin.czkawka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.github.qarmin.czkawka.yaml
34 lines (34 loc) · 1.08 KB
/
com.github.qarmin.czkawka.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
app-id: com.github.qarmin.czkawka
runtime: org.gnome.Platform
runtime-version: '47'
sdk: org.gnome.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable
command: czkawka_gui
finish-args:
- "--share=ipc"
- "--socket=fallback-x11"
- "--socket=wayland"
- "--filesystem=host"
- "--device=dri"
- "--filesystem=~/.var/app"
build-options:
append-path: "/usr/lib/sdk/rust-stable/bin"
env:
CARGO_HOME: "/run/build/czkawka_gui/cargo"
modules:
- name: czkawka_gui
buildsystem: simple
build-commands:
- cargo --offline fetch --manifest-path Cargo.toml
- cargo --offline build --release
- install -Dm755 ./target/release/czkawka_gui -t /app/bin/
- install -Dm644 ./data/icons/com.github.qarmin.czkawka.svg -t /app/share/icons/hicolor/scalable/apps/
- install -Dm644 ./data/com.github.qarmin.czkawka.desktop -t /app/share/applications/
- install -Dm644 ./data/com.github.qarmin.czkawka.metainfo.xml -t /app/share/metainfo
sources:
- cargo-sources.json
- type: git
url: https://github.com/qarmin/czkawka.git
tag: 8.0.0
# commit: 1685fd8ab623cca4e4245a03e0beb661dd48dd53