-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathchat.iamb.iamb.yml
42 lines (42 loc) · 1.36 KB
/
chat.iamb.iamb.yml
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
app-id: chat.iamb.iamb
runtime: org.freedesktop.Platform
runtime-version: "23.08"
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable
command: iamb
rename-icon: "iamb"
rename-appdata-file: "iamb.metainfo.xml"
rename-desktop-file: "iamb.desktop"
finish-args:
- --share=ipc
- --share=network
- --socket=fallback-x11
- --socket=wayland
- --filesystem=xdg-download
- --filesystem=home
- --talk-name=org.freedesktop.Notifications
build-options:
append-path: /usr/lib/sdk/rust-stable/bin
env:
- CARGO_HOME: /run/build/iamb/cargo
- IAMB_XDG_NAME: chat.iamb.iamb
modules:
- name: iamb
buildsystem: simple
build-commands:
- cargo --offline fetch --manifest-path Cargo.toml --verbose
- cargo --offline build --profile release-lto --verbose
- install -Dm755 ./target/release-lto/iamb -t /app/bin/
- install -Dm644 ./iamb.desktop -t /app/share/applications/
- install -Dm644 ./config.example.toml -t /app/share/iamb/
- install -Dm644 ./docs/iamb.svg -t /app/share/icons/hicolor/scalable/apps/
- install -Dm644 ./docs/iamb.metainfo.xml -t /app/share/metainfo/
sources:
- cargo-sources.json
- type: git
url: https://github.com/ulyssa/iamb.git
commit: 3355eb2d2622f28d2fed6eb00a6aa78868a87b83
- type: file
path: config.toml
dest: .cargo/