You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
2.4 KiB
74 lines
2.4 KiB
{
|
|
"app-id": "com.sketchymaze.Doodle",
|
|
"runtime": "org.freedesktop.Platform",
|
|
"runtime-version": "20.08",
|
|
"sdk": "org.freedesktop.Sdk",
|
|
"sdk-extensions": [
|
|
"org.freedesktop.Sdk.Extension.golang"
|
|
],
|
|
"finish-args": [
|
|
"--device=all",
|
|
"--persist=.doodle",
|
|
"--share=ipc",
|
|
"--share=network",
|
|
"--socket=x11",
|
|
"--socket=pulseaudio"
|
|
],
|
|
"command": "launcher.sh",
|
|
"rename-icon": "doodle",
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig",
|
|
"/share/aclocal",
|
|
"/share/man",
|
|
"*.la", "*.a"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "doodle",
|
|
"buildsystem": "simple",
|
|
"build-options": {
|
|
"build-args": [
|
|
"--share=network"
|
|
]
|
|
},
|
|
"build-commands": [
|
|
"find",
|
|
"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",
|
|
"install -Dm755 ./launcher.sh /app/bin/launcher.sh",
|
|
"mkdir -p /app/share/doodle /app/share/icons /app/extra/export/share",
|
|
"cp -ra guidebook rtp *.md /app/share/doodle",
|
|
"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",
|
|
"find /app"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "dir",
|
|
"path": "source"
|
|
},
|
|
{
|
|
"type": "dir",
|
|
"path": "icons"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "com.sketchymaze.Doodle.desktop"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "com.sketchymaze.Doodle.appdata.xml"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "launcher.sh"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
|