-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathio.github.zc310.ofd.json
More file actions
49 lines (49 loc) · 1.66 KB
/
Copy pathio.github.zc310.ofd.json
File metadata and controls
49 lines (49 loc) · 1.66 KB
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
{
"id": "io.github.zc310.ofd",
"runtime": "org.freedesktop.Platform",
"runtime-version": "25.08",
"sdk": "org.freedesktop.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.golang"
],
"command": "ofd-viewer",
"finish-args": [
"--share=ipc",
"--socket=wayland",
"--socket=fallback-x11",
"--device=dri",
"--filesystem=host-os:ro",
"--filesystem=~/.local/share/fonts:ro",
"--env=XDG_DATA_DIRS=/run/host/usr/share"
],
"modules": [
{
"name": "ofd-viewer",
"buildsystem": "simple",
"build-options": {
"append-path": "/usr/lib/sdk/golang/bin"
},
"build-commands": [
"go build -tags flatpak -mod=vendor -trimpath -ldflags '-s -w' -o /app/bin/ofd-viewer ./cmd/ofd-viewer",
"install -Dm644 data/io.github.zc310.ofd.desktop /app/share/applications/io.github.zc310.ofd.desktop",
"install -Dm644 data/io.github.zc310.ofd.metainfo.xml /app/share/metainfo/io.github.zc310.ofd.metainfo.xml",
"install -Dm644 data/icons/hicolor/scalable/apps/io.github.zc310.ofd.svg /app/share/icons/hicolor/scalable/apps/io.github.zc310.ofd.svg",
"install -Dm644 data/mime/packages/io.github.zc310.ofd.xml /app/share/mime/packages/io.github.zc310.ofd.xml",
"update-mime-database /app/share/mime",
"install -Dm644 LICENSE /app/share/licenses/io.github.zc310.ofd/LICENSE"
],
"sources": [
{
"type": "git",
"url": "https://github.com/zc310/ofd.git",
"commit": "a0bd625a19347ce79e116a609961f3d742e5a9b7"
},
"go.mod.json",
{
"type": "dir",
"path": "data"
}
]
}
]
}