{
 "app_id": "io.github.retux_game.retux",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.retux_game.retux/master/io.github.retux_game.retux.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "26.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=dri"
 ],
 "module_count": 6,
 "fetched_at": "2026-09-17T16:12:06.897686+00:00",
 "manifest": {
  "app-id": "io.github.retux_game.retux",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": 26.08,
  "sdk": "org.freedesktop.Sdk",
  "command": "retux",
  "finish-args": [
   "--socket=x11",
   "--share=ipc",
   "--share=network",
   "--device=dri",
   "--socket=pulseaudio"
  ],
  "cleanup": [
   "/include",
   "/lib/python3.*/*/pygame/docs",
   "/lib/python3.*/*/pygame/examples",
   "/lib/python3.*/*/pygame/tests",
   "/lib/python3.*/*/uniseg/docs"
  ],
  "cleanup-commands": [
   "python3 -m compileall --invalidation-mode=unchecked-hash /app"
  ],
  "modules": [
   "shared-modules/SDL2/SDL2_ttf.json",
   "shared-modules/SDL2/SDL2_image.json",
   "shared-modules/SDL2/SDL2_mixer.json",
   "python3-pygame.json",
   "pypi-dependencies.json",
   {
    "name": "retux",
    "buildsystem": "simple",
    "build-commands": [
     "cd data/locale/ && ./build.py"
    ],
    "post-install": [
     "install -Dm 755 run.sh ${FLATPAK_DEST}/bin/retux",
     "install -Dm 755 retux.py ${FLATPAK_DEST}/share/retux/retux.py",
     "install -m 644 get_errors.py globalize.py localize.py ${FLATPAK_DEST}/share/retux",
     "cp -a data ${FLATPAK_DEST}/share/retux",
     "install -Dm 644 data/images/misc/icon.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg",
     "install -Dm 644 ${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm 644 ${FLATPAK_ID}.appdata.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/retux-game/retux.git",
      "tag": "v1.6.2",
      "commit": "8b7e9e26dbd4f3c406ed3043a006edf1a6c82865",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     },
     {
      "type": "file",
      "path": "run.sh"
     },
     {
      "type": "file",
      "path": "io.github.retux_game.retux.appdata.xml"
     },
     {
      "type": "file",
      "path": "io.github.retux_game.retux.desktop"
     }
    ]
   }
  ]
 }
}