{
 "app_id": "org.tuxfamily.hatari",
 "source_url": "https://raw.githubusercontent.com/flathub/org.tuxfamily.hatari/master/org.tuxfamily.hatari.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=all",
  "--filesystem=xdg-download"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-17T16:16:52.152063+00:00",
 "manifest": {
  "app-id": "org.tuxfamily.hatari",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "hatari",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--share=ipc",
   "--device=all",
   "--filesystem=xdg-download"
  ],
  "cleanup": [
   "org.tuxfamily.hatari.application-x-st-disk-image.png",
   "org.tuxfamily.hatari.application-x-st-disk-image.svg",
   "hatari.desktop",
   "hatariui.desktop",
   "/include",
   "*.la",
   "*.a",
   "share/doc",
   "share/man",
   "share/info"
  ],
  "modules": [
   {
    "name": "hatari",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/hatari/hatari.git",
      "tag": "v2.5.0"
     },
     {
      "type": "patch",
      "path": "use_xdg_config_home.patch"
     },
     {
      "type": "patch",
      "path": "rename-files.patch"
     }
    ],
    "buildsystem": "cmake-ninja",
    "modules": [
     {
      "name": "portaudio",
      "sources": [
       {
        "type": "git",
        "url": "https://github.com/PortAudio/portaudio.git",
        "tag": "v19.7.0"
       }
      ],
      "buildsystem": "cmake-ninja"
     },
     {
      "name": "capsimage",
      "sources": [
       {
        "type": "git",
        "url": "https://github.com/simonowen/capsimage",
        "tag": 5.1
       }
      ],
      "buildsystem": "cmake-ninja"
     }
    ]
   },
   {
    "name": "desktop",
    "sources": [
     {
      "type": "file",
      "path": "org.tuxfamily.hatari.desktop"
     },
     {
      "type": "file",
      "path": "org.tuxfamily.hatari.svg"
     },
     {
      "type": "file",
      "path": "org.tuxfamily.hatari.appdata.xml"
     }
    ],
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm644 org.tuxfamily.hatari.svg /app/share/icons/hicolor/scalable/apps/org.tuxfamily.hatari.svg",
     "install -Dm644 org.tuxfamily.hatari.desktop /app/share/applications/org.tuxfamily.hatari.desktop",
     "install -Dm644 org.tuxfamily.hatari.appdata.xml /app/share/appdata/org.tuxfamily.hatari.appdata.xml"
    ]
   },
   {
    "name": "tos",
    "sources": [
     {
      "type": "file",
      "path": "tos.img"
     },
     {
      "type": "file",
      "path": "etos256us.img"
     },
     {
      "type": "file",
      "path": "etos512us.img"
     },
     {
      "type": "file",
      "path": "etos1024us.img"
     }
    ],
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm444 *.img /app/share/hatari/"
    ]
   }
  ]
 }
}