{
 "app_id": "io.github.snesrev.Zelda3",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.snesrev.Zelda3/master/io.github.snesrev.Zelda3.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "26.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=all"
 ],
 "module_count": 2,
 "fetched_at": "2026-10-05T15:09:33.009720+00:00",
 "manifest": {
  "app-id": "io.github.snesrev.Zelda3",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "26.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "zelda3.py",
  "finish-args": [
   "--device=all",
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio"
  ],
  "modules": [
   "python3-requirements.yaml",
   {
    "name": "zelda3",
    "buildsystem": "simple",
    "build-commands": [
     "sed -i '/(TARGET_EXEC) zelda3_assets.dat/d' Makefile",
     "make"
    ],
    "post-install": [
     "install -Dm755 zelda3 -t ${FLATPAK_DEST}/bin/",
     "install -Dm755 zelda3.py -t ${FLATPAK_DEST}/bin/",
     "cp -R . ${FLATPAK_DEST}/bin/src",
     "install -Dm644 io.github.snesrev.Zelda3.appdata.xml -t ${FLATPAK_DEST}/share/metainfo/",
     "install -Dm644 io.github.snesrev.Zelda3.svg -t ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/",
     "install -m 0755 -d ${FLATPAK_DEST}/share/icons/hicolor/512x512/apps\nrsvg-convert -w 512 -h 512 io.github.snesrev.Zelda3.svg -o ${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/io.github.snesrev.Zelda3.png\nchmod 0644 ${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/io.github.snesrev.Zelda3.png\n",
     "install -Dm644 io.github.snesrev.Zelda3.desktop -t ${FLATPAK_DEST}/share/applications/"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/snesrev/zelda3.git",
      "commit": "fbbb3f967a51fafe642e6140d0753979e73b4090"
     },
     {
      "type": "patch",
      "path": "fix-build-1.patch"
     },
     {
      "type": "git",
      "url": "https://github.com/libretro/glsl-shaders.git",
      "commit": "799aa9e4d567db0874111d2aed9c9b9058a19641",
      "dest": "shader"
     },
     {
      "type": "file",
      "path": "zelda3.py"
     },
     {
      "type": "file",
      "path": "io.github.snesrev.Zelda3.desktop"
     },
     {
      "type": "file",
      "path": "io.github.snesrev.Zelda3.svg"
     },
     {
      "type": "file",
      "path": "io.github.snesrev.Zelda3.appdata.xml"
     }
    ]
   }
  ]
 }
}