flatpak/com.sketchymaze.Doodle.json

75 lines
2.5 KiB
JSON
Raw Normal View History

2020-12-06 02:07:33 +00:00
{
"app-id": "com.sketchymaze.Doodle",
"runtime": "org.freedesktop.Platform",
2022-01-04 04:16:48 +00:00
"runtime-version": "21.08",
2020-12-06 02:07:33 +00:00
"sdk": "org.freedesktop.Sdk",
2020-12-28 23:03:52 +00:00
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.golang"
],
2020-12-06 02:07:33 +00:00
"finish-args": [
"--device=all",
"--persist=.doodle",
"--share=ipc",
"--share=network",
"--socket=x11",
"--socket=pulseaudio"
],
2020-12-29 02:24:01 +00:00
"command": "launcher.sh",
2021-07-12 01:15:18 +00:00
"rename-icon": "sketchymaze",
2020-12-06 02:07:33 +00:00
"cleanup": [
"/include",
"/lib/pkgconfig",
"/share/aclocal",
"/share/man",
"*.la", "*.a"
],
"modules": [
{
2021-07-12 01:15:18 +00:00
"name": "sketchymaze",
2020-12-06 02:07:33 +00:00
"buildsystem": "simple",
2020-12-28 23:03:52 +00:00
"build-options": {
"build-args": [
"--share=network"
]
},
2020-12-06 02:07:33 +00:00
"build-commands": [
"find",
2020-12-28 23:03:52 +00:00
"pwd",
". /usr/lib/sdk/golang/enable.sh; env GOPATH=\"$(pwd)\"; make build",
2021-07-12 01:15:18 +00:00
"install -Dm755 ./bin/sketchymaze /app/bin/sketchymaze",
2020-12-28 23:03:52 +00:00
"install -Dm755 ./bin/doodad /app/bin/doodad",
2020-12-29 02:24:01 +00:00
"install -Dm755 ./launcher.sh /app/bin/launcher.sh",
2021-07-12 01:15:18 +00:00
"mkdir -p /app/share/sketchymaze /app/share/icons /app/extra/export/share",
"cp -ra guidebook rtp *.md /app/share/sketchymaze",
"cp -ra 256.png /app/share/icons/sketchymaze.png",
2020-12-06 02:07:33 +00:00
"install -Dm644 com.sketchymaze.Doodle.desktop /app/share/applications/com.sketchymaze.Doodle.desktop",
"install -Dm644 com.sketchymaze.Doodle.appdata.xml /app/share/appdata/com.sketchymaze.Doodle.appdata.xml",
2021-07-12 01:15:18 +00:00
"for s in 16 32 64 128 256; do install -Dm644 ${s}.png /app/share/icons/hicolor/${s}x${s}/apps/sketchymaze.png; done",
2020-12-28 23:03:52 +00:00
"find /app"
2020-12-06 02:07:33 +00:00
],
"sources": [
{
2020-12-28 23:03:52 +00:00
"type": "dir",
"path": "source"
2020-12-06 02:07:33 +00:00
},
{
"type": "dir",
"path": "icons"
},
{
"type": "file",
"path": "com.sketchymaze.Doodle.desktop"
},
{
"type": "file",
"path": "com.sketchymaze.Doodle.appdata.xml"
2020-12-28 23:03:52 +00:00
},
{
2020-12-29 02:24:01 +00:00
"type": "file",
"path": "launcher.sh"
2020-12-06 02:07:33 +00:00
}
]
}
]
}