generated from TheEvilSkeleton/flatpak-remote
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcom.github.Lea_fish.Leafish.yaml
39 lines (36 loc) · 1.21 KB
/
com.github.Lea_fish.Leafish.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
35
36
37
38
39
app-id: com.github.Lea_fish.Leafish
runtime: org.freedesktop.Platform
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable
command: leafish
rename-icon: leafish-logo
rename-desktop-file: leafish.desktop
rename-appdata-file: leafish.metainfo.xml
finish-args:
- --share=ipc
- --share=network
- --socket=fallback-x11
- --socket=wayland
- --device=dri
modules:
- name: leafish
buildsystem: simple
build-options:
append-path: /usr/lib/sdk/rust-stable/bin
env:
CARGO_HOME: /run/build/leafish/cargo
build-commands:
- cargo --offline fetch --manifest-path Cargo.toml
- cargo --offline build --release
- install -Dm755 ./target/release/leafish -t /app/bin/
- install -Dm644 ./resources/assets/leafish/logo/leafish-logo.svg -t /app/share/icons/hicolor/scalable/apps/
- install -Dm644 ./packaging/leafish.desktop -t /app/share/applications/
- install -Dm644 ./packaging/leafish.metainfo.xml -t /app/share/metainfo/
sources:
- cargo-sources.json
- type: git
url: https://github.com/Lea-fish/Leafish.git
branch: main
commit: fcdfa40b464d8bec8e77efe89e3b55852bd26fe0