godot_ROTA/net.hhoney.rota.json
2024-12-04 01:51:30 -07:00

39 lines
1.2 KiB
JSON

{
"id": "net.hhoney.rota",
"runtime": "org.freedesktop.Platform",
"runtime-version": "24.08",
"base": "org.godotengine.godot.BaseApp",
"base-version": "3.6",
"sdk": "org.freedesktop.Sdk",
"command": "godot-runner",
"finish-args": [
"--share=ipc",
"--socket=x11",
"--socket=pulseaudio",
"--device=dri"
],
"modules": [
{
"name": "rota",
"buildsystem": "simple",
"sources": [
{
"type": "file",
"url": "https://github.com/cassidyjames/ROTA/releases/download/0.0.10/rota-linux.pck",
"sha256": "603fc222d6b163cc332c0e1273c4f9b063236782ccef8dfcf0f8dc3aeaf1bb8d"
},
{
"type": "dir",
"path": "."
}
],
"build-commands": [
"ls -a",
"install -Dm644 rota-linux.pck ${FLATPAK_DEST}/bin/godot-runner.pck",
"install -Dm644 export/flatpak/launcher.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
"install -Dm644 export/flatpak/metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml",
"install -Dm644 media/image/icon/icon256.png ${FLATPAK_DEST}/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png"
]
}
]
}