-
Notifications
You must be signed in to change notification settings - Fork 28
/
io.github.dvlv.boxbuddyrs.json
67 lines (60 loc) · 2.11 KB
/
io.github.dvlv.boxbuddyrs.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"app-id": "io.github.dvlv.boxbuddyrs",
"runtime": "org.gnome.Platform",
"runtime-version": "47",
"sdk": "org.gnome.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.rust-stable"
],
"sdk-version": "23.08",
"command": "boxbuddy-rs",
"finish-args": [
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--device=dri",
"--talk-name=org.freedesktop.Flatpak",
"--filesystem=home"
],
"build-options": {
"append-path": "/usr/lib/sdk/rust-stable/bin"
},
"modules": [{
"name": "boxbuddy",
"buildsystem": "simple",
"build-options": {
"env": {
"CARGO_HOME": "/run/build/boxbuddy/cargo"
}
},
"build-commands": [
"cargo --offline fetch --manifest-path Cargo.toml --verbose",
"cargo --offline build --release --verbose",
"install -Dm755 ./target/release/boxbuddy-rs -t /app/bin/",
"mkdir -p /app/share/applications",
"install -D io.github.dvlv.boxbuddyrs.desktop /app/share/applications/",
"install -Dp -m 644 io.github.dvlv.boxbuddyrs.metainfo.xml /app/share/metainfo/io.github.dvlv.boxbuddyrs.metainfo.xml",
"mkdir -p /app/share/icons/hicolor/scalable/apps",
"install -D icons/io.github.dvlv.boxbuddyrs.svg /app/share/icons/hicolor/scalable/apps",
"mkdir /app/icons",
"cp icons/*.svg /app/icons/",
"cp -r po /app/",
"mkdir -p /app/share/locale/",
"cp -r po/{cs,nl_NL,de_DE,it_IT,uk_UA,ru_RU,pt_BR,es,hi,el,zh_CN,zh_TW,pl_PL} /app/share/locale/",
"mkdir -p /app/share/glib-2.0/schemas/",
"install -D io.github.dvlv.boxbuddyrs.gschema.xml /app/share/glib-2.0/schemas/",
"glib-compile-schemas /app/share/glib-2.0/schemas"
],
"cleanup": [
"docs",
"*.sh",
"scripts"
],
"sources": [{
"type": "dir",
"path": "."
},
"generated-sources.json"
]
}]
}