{
 "app_id": "org.supertuxproject.SuperTux",
 "source_url": "https://raw.githubusercontent.com/flathub/org.supertuxproject.SuperTux/master/org.supertuxproject.SuperTux.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "26.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=all"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-17T16:16:42.185868+00:00",
 "manifest": {
  "app-id": "org.supertuxproject.SuperTux",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "26.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "supertux2",
  "rename-icon": "supertux2",
  "rename-desktop-file": "supertux2.desktop",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--socket=pulseaudio",
   "--share=network",
   "--device=all"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/share/doc",
   "/share/glm"
  ],
  "modules": [
   "shared-modules/SDL2/SDL2_image.json",
   "shared-modules/physfs/physfs.json",
   {
    "name": "glm",
    "buildsystem": "cmake-ninja",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/g-truc/glm/archive/refs/tags/1.0.2.tar.gz",
      "sha256": "19edf2e860297efab1c74950e6076bf4dad9de483826bc95e2e0f2c758a43f65"
     }
    ]
   },
   {
    "name": "supertux",
    "buildsystem": "cmake",
    "config-opts": [
     "-DINSTALL_SUBDIR_SHARE=share/supertux2",
     "-DINSTALL_SUBDIR_BIN=bin",
     "-DCMAKE_BUILD_TYPE=Release",
     "-DFLATPAK=On",
     "-DUSE_GL_LIBRARY=libepoxy",
     "-DIS_SUPERTUX_RELEASE=ON"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/SuperTux/supertux.git",
      "tag": "v0.7.0",
      "commit": "c11dfb2a2aa429be3db8de96b7fca6a6236eddc3"
     },
     {
      "type": "patch",
      "path": "supertux-appdata.patch"
     }
    ]
   }
  ]
 }
}