-
Notifications
You must be signed in to change notification settings - Fork 2
/
com.pojtinger.felicitas.Multiplex.json
45 lines (45 loc) · 1.53 KB
/
com.pojtinger.felicitas.Multiplex.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
{
"id": "com.pojtinger.felicitas.Multiplex",
"runtime": "org.gnome.Platform",
"runtime-version": "46",
"sdk": "org.gnome.Sdk",
"sdk-extensions": ["org.freedesktop.Sdk.Extension.golang"],
"command": "multiplex",
"finish-args": [
"--share=network",
"--socket=fallback-x11",
"--share=ipc",
"--socket=wayland",
"--device=dri",
"--filesystem=xdg-download:rw",
"--filesystem=xdg-videos:rw",
"--filesystem=/tmp:rw",
"--talk-name=org.freedesktop.Flatpak"
],
"modules": [
{
"name": "blueprint-compiler",
"buildsystem": "meson",
"cleanup": ["*"],
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/jwestman/blueprint-compiler",
"tag": "v0.12.0"
}
]
},
{
"name": "multiplex",
"buildsystem": "simple",
"build-commands": [
"mkdir -p vendor && cp modules.txt vendor/modules.txt",
". /usr/lib/sdk/golang/enable.sh && export GOBIN=\"/app/bin\" && go generate ./... && go install -v -mod=vendor .",
"desktop-file-install --dir=/app/share/applications $FLATPAK_ID.desktop",
"install -D -m 0644 internal/resources/$FLATPAK_ID.metainfo.xml /app/share/metainfo/$FLATPAK_ID.metainfo.xml",
"for icon in 16x16 22x22 24x24 32x32 36x36 48x48 64x64 72x72 96x96 128x128 192x192 256x256 512x512; do install -D -m 0644 docs/icon-${icon}.png /app/share/icons/hicolor/${icon}/apps/$FLATPAK_ID.png; done"
],
"sources": [{ "type": "dir", "path": "." }, "go.mod.json"]
}
]
}