{
 "app_id": "dk.tangramgames.mrrescue",
 "source_url": "https://raw.githubusercontent.com/flathub/dk.tangramgames.mrrescue/master/dk.tangramgames.mrrescue.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "26.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=all"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-17T16:09:49.070308+00:00",
 "manifest": {
  "app-id": "dk.tangramgames.mrrescue",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "26.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "mrrescue",
  "rename-icon": "splash",
  "finish-args": [
   "--device=all",
   "--socket=pulseaudio",
   "--socket=x11",
   "--share=ipc"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "modules": [
   "shared-modules/physfs/physfs.json",
   "shared-modules/luajit/luajit.json",
   {
    "name": "libmodplug",
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/modplug-xmms/files/libmodplug/0.8.9.0/libmodplug-0.8.9.0.tar.gz",
      "sha256": "457ca5a6c179656d66c01505c0d95fafaead4329b9dbaa0f997d00a3508ad9de"
     }
    ]
   },
   {
    "name": "love",
    "cleanup": [
     "/share"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/love2d/love/releases/download/11.5/love-11.5-linux-src.tar.gz",
      "sha256": "066e0843f71aa9fd28b8eaf27d41abb74bfaef7556153ac2e3cf08eafc874c39"
     }
    ]
   },
   {
    "name": "mrrescue",
    "buildsystem": "simple",
    "build-commands": [
     "mv mrrescue /app/bin/mrrescue",
     "install -Dm644 ${FLATPAK_ID}.desktop -t /app/share/applications/",
     "install -Dm644 ${FLATPAK_ID}.appdata.xml -t /app/share/metainfo/",
     "install -Dm644 data/splash.png -t /app/share/icons/hicolor/256x256/apps/",
     "zip -r /app/bin/mrrescue.love *"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/SimonLarsen/mrrescue.git",
      "commit": "a5be73c60acb8d1be506f7b5e48e784492ba96ce"
     },
     {
      "type": "script",
      "commands": [
       "love /app/bin/mrrescue.love"
      ],
      "dest-filename": "mrrescue"
     },
     {
      "type": "file",
      "path": "dk.tangramgames.mrrescue.desktop"
     },
     {
      "type": "file",
      "path": "dk.tangramgames.mrrescue.appdata.xml"
     }
    ]
   }
  ]
 }
}