-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxyz.timtimtim.Losange.json
75 lines (75 loc) · 2.52 KB
/
xyz.timtimtim.Losange.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
68
69
70
71
72
73
74
75
{
"app-id": "xyz.timtimtim.Losange",
"runtime": "org.gnome.Platform",
"runtime-version": "47",
"sdk": "org.gnome.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.rust-stable"
],
"add-extensions": {
"org.freedesktop.Platform.ffmpeg-full": {
"version": "24.08",
"directory": "lib/ffmpeg",
"add-ld-path": "."
}
},
"command": "losange",
"finish-args": [
"--socket=wayland",
"--socket=fallback-x11",
"--socket=pulseaudio",
"--share=ipc",
"--share=network",
"--device=dri",
"--filesystem=xdg-data"
],
"build-options": {
"append-path": "/usr/lib/sdk/rust-stable/bin"
},
"modules": [
{
"name": "losange",
"buildsystem": "simple",
"build-options": {
"env": {
"CARGO_HOME": "/run/build/losange/cargo"
}
},
"build-commands": [
"cargo --offline fetch --manifest-path Cargo.toml --verbose",
"cargo --offline build --release --verbose"
],
"post-install": [
"install -Dm755 ./target/release/losange -t /app/bin/",
"install -Dm644 ./data/icons/xyz.timtimtim.Losange.svg -t /app/share/icons/hicolor/scalable/apps/",
"install -Dm644 ./build-aux/flatpak/xyz.timtimtim.Losange.desktop -t /app/share/applications/",
"install -Dm644 ./data/xyz.timtimtim.Losange.metainfo.xml -t /app/share/metainfo/",
"install -Dm644 ./data/xyz.timtimtim.Losange.gschema.xml -t /app/share/glib-2.0/schemas/",
"mkdir -p /app/lib/ffmpeg",
"glib-compile-schemas /app/share/glib-2.0/schemas"
],
"sources": [
{
"type": "dir",
"path": "."
},
"build-aux/flatpak/cargo-sources.json"
]
},
{
"name": "nodejs",
"buildsystem": "simple",
"build-commands": [
"install -D bin/node -t /app/bin/"
],
"sources": [
{
"type": "archive",
"url": "https://nodejs.org/dist/v22.13.1/node-v22.13.1-linux-x64.tar.xz",
"path": "node-v22.13.1-linux-x64.tar.xz",
"sha256": "0d2a5af33c7deab5555c8309cd3f373446fe1526c1b95833935ab3f019733b3b"
}
]
}
]
}