-
Notifications
You must be signed in to change notification settings - Fork 1
/
moe.tundra.Tundra.json
50 lines (50 loc) · 1.46 KB
/
moe.tundra.Tundra.json
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
{
"app-id": "moe.tundra.Tundra",
"runtime": "org.gnome.Platform",
"runtime-version": "46",
"sdk": "org.gnome.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.rust-stable"
],
"command": "tundra",
"finish-args": [
"--share=network",
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--talk-name=org.freedesktop.Notifications",
"--talk-name=org.freedesktop.DBus",
"--talk-name=org.mpris.MediaPlayer2.*",
"--device=dri"
],
"build-options": {
"append-path": "/usr/lib/sdk/rust-stable/bin",
"env": {
"CARGO_HOME": "/run/build/tundra/cargo"
}
},
"modules": [
{
"name": "tundra",
"buildsystem": "simple",
"build-commands": [
"cargo --offline fetch --manifest-path Cargo.toml --verbose",
"cargo --offline build --release --verbose",
"install -Dm755 ./target/release/tundra -t /app/bin/",
"install -Dm644 ./data/${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo/",
"install -Dm644 ./data/${FLATPAK_ID}.desktop -t /app/share/applications/",
"install -Dm644 ./data/${FLATPAK_ID}.svg -t /app/share/icons/hicolor/scalable/apps/",
"cp -r target/locale /app/share/"
],
"sources": [
{
"type": "git",
"url": "https://github.com/m4tx/tundra.git",
"tag": "v0.5.3",
"commit": "820550c9e928b59e2aae72e9dc8f430cb638166e"
},
"cargo-sources.json"
]
}
]
}