-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnet.nokyan.Resources.json
94 lines (94 loc) · 3.42 KB
/
net.nokyan.Resources.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"id": "net.nokyan.Resources",
"runtime": "org.gnome.Platform",
"runtime-version": "47",
"sdk": "org.gnome.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.rust-stable",
"org.freedesktop.Sdk.Extension.llvm18"
],
"command": "resources",
"finish-args": [
"--device=dri",
"--env=G_MESSAGES_DEBUG=none",
"--env=RUST_BACKTRACE=full",
"--env=RUST_LOG=resources=info",
"--env=XDG_DATA_DIRS=/app/share:/usr/share:/usr/share/runtime/share:/run/host/user-share:/run/host/usr/share:/run/host/share:/app/local/share:/usr/local/share:/usr/local/share/runtime/share:/run/host/usr/local/share:/run/host/local/share:/var/lib/flatpak/exports/share:~/.local/share/flatpak/exports/share:/var/lib/snapd/desktop",
"--filesystem=/var/lib/snapd:ro",
"--filesystem=/var/lib/flatpak/app:ro",
"--filesystem=/var/lib/flatpak/exports/share:ro",
"--filesystem=xdg-data/flatpak/app:ro",
"--filesystem=xdg-data/flatpak/exports/share:ro",
"--filesystem=host:ro",
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--talk-name=org.freedesktop.Flatpak"
],
"cleanup": [
"/include",
"/lib/pkconfig",
"/man",
"/share/gtk-doc",
"/share/man",
"/share/pkgconfig",
"*.la",
"*.a",
"/bin/mold",
"/share/doc",
"/share/man"
],
"build-options": {
"append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm18/bin",
"env": {
"CARGO_HOME": "/run/build/resources/cargo-home",
"CARGO_REGISTRIES_CRATES_IO_PROTOCOL": "sparse",
"CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER": "clang",
"CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS": "-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold",
"CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER": "clang",
"CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS": "-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold"
}
},
"modules": [
{
"name": "dmidecode",
"buildsystem": "simple",
"build-commands": [
"mkdir /app/bin",
"make install-bin prefix=/app",
"install -v -p -m 755 /app/sbin/dmidecode /app/bin/dmidecode"
],
"sources": [
{
"type": "archive",
"url": "https://git.savannah.nongnu.org/cgit/dmidecode.git/snapshot/dmidecode-3-6.tar.gz",
"sha256": "fe25e4fe567dedf213c5fed0978cb684613ad599d9a50d710476147f58cdb2c1"
}
]
},
{
"name": "resources",
"buildsystem": "meson",
"run-tests": true,
"config-opts": [
"-Dprofile=default"
],
"sources": [
{
"type": "git",
"url": "https://github.com/nokyan/resources.git",
"tag": "v1.7.1",
"commit": "d1fa7dc23c3003a0432c27936e62e51748c94eb2"
},
"generated-sources.json",
{
"type": "shell",
"commands": [
"mkdir .cargo",
"cp cargo/config .cargo/"
]
}
]
}
]
}