flatpak/com.sketchymaze.Doodle.json

75 lines
2.4 KiB
JSON
Raw Normal View History

2020-12-06 02:07:33 +00:00
{
"app-id": "com.sketchymaze.Doodle",
"runtime": "org.freedesktop.Platform",
"runtime-version": "20.08",
"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",
2020-12-06 02:07:33 +00:00
"rename-icon": "doodle",
"cleanup": [
"/include",
"/lib/pkgconfig",
"/share/aclocal",
"/share/man",
"*.la", "*.a"
],
"modules": [
{
"name": "doodle",
"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",
"install -Dm755 ./bin/doodle /app/bin/doodle",
"install -Dm755 ./bin/doodad /app/bin/doodad",
2020-12-29 02:24:01 +00:00
"install -Dm755 ./launcher.sh /app/bin/launcher.sh",
2020-12-28 23:03:52 +00:00
"mkdir -p /app/share/doodle /app/share/icons /app/extra/export/share",
2020-12-29 02:24:01 +00:00
"cp -ra guidebook rtp *.md /app/share/doodle",
2020-12-06 02:07:33 +00:00
"cp -ra 256.png /app/share/icons/doodle.png",
"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",
"for s in 16 32 64 128 256; do install -Dm644 ${s}.png /app/share/icons/hicolor/${s}x${s}/apps/doodle.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
}
]
}
]
}