-
Notifications
You must be signed in to change notification settings - Fork 97
Expand file tree
/
Copy pathorg.satty.Satty.yml
More file actions
58 lines (57 loc) · 2.25 KB
/
Copy pathorg.satty.Satty.yml
File metadata and controls
58 lines (57 loc) · 2.25 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
app-id: org.satty.Satty
runtime: org.gnome.Platform
runtime-version: '49'
sdk: org.gnome.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable
command: satty
build-options:
append-path: /usr/lib/sdk/rust-stable/bin
build-args:
- --share=network
env:
CARGO_HOME: /run/build/satty/cargo
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
RUSTFLAGS: -C link-arg=-Wl,-z,now
finish-args:
# Wayland support
- --socket=wayland
- --socket=x11
- --device=dri
# File access
- --filesystem=home
- --filesystem=xdg-config/satty:ro
- --filesystem=xdg-data/satty:rw
# Clipboard access
- --talk-name=org.freedesktop.portal.Clipboard
- --talk-name=org.freedesktop.portal.Secret
# Screenshot/desktop integration
- --talk-name=org.freedesktop.portal.Screenshot
- --talk-name=org.freedesktop.portal.Desktop
# Notifications
- --talk-name=org.freedesktop.Notifications
# Share MIME types
- --share=ipc
# Allow reading from stdin
- --share=network
modules:
- name: satty
buildsystem: simple
build-commands:
- cargo build --release --locked --features ci-release
- install -Dm755 target/release/satty /app/bin/satty
- install -Dm644 satty.desktop /app/share/applications/org.satty.Satty.desktop
- install -Dm644 org.satty.Satty.metainfo.xml /app/share/metainfo/org.satty.Satty.metainfo.xml
- install -Dm644 assets/satty.svg /app/share/icons/hicolor/scalable/apps/org.satty.Satty.svg
- install -Dm644 LICENSE /app/share/licenses/org.satty.Satty/LICENSE
- install -Dm644 completions/satty.bash /app/share/bash-completion/completions/satty
- install -Dm644 completions/satty.fish /app/share/fish/vendor_completions.d/satty.fish
- install -Dm644 completions/satty.elv /app/share/elvish/lib/satty.elv
- install -Dm644 completions/satty.nu /app/share/nushell/completions/satty.nu
- install -Dm644 man/satty.1 /app/share/man/satty.1
- sed -i 's|^Exec=satty|Exec=/app/bin/satty|' /app/share/applications/org.satty.Satty.desktop
- sed -i 's|^TryExec=satty|TryExec=/app/bin/satty|' /app/share/applications/org.satty.Satty.desktop
- sed -i 's|^Icon=satty|Icon=org.satty.Satty|' /app/share/applications/org.satty.Satty.desktop
sources:
- type: dir
path: .