{
 "app_id": "io.github.openc2e.openc2e",
 "source_url": "https://raw.githubusercontent.com/Kirtai/flatpaks/master/engines/io.github.openc2e.openc2e.yaml",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.14",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--socket=x11",
  "--socket=wayland",
  "--share=ipc",
  "--device=all",
  "--socket=pulseaudio",
  "--share=network",
  "--filesystem=host:ro"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-20T13:03:41.555382+00:00",
 "manifest": {
  "app-id": "io.github.openc2e.openc2e",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.14",
  "sdk": "org.kde.Sdk",
  "command": "start",
  "finish-args": [
   "--socket=x11",
   "--socket=wayland",
   "--share=ipc",
   "--device=all",
   "--socket=pulseaudio",
   "--share=network",
   "--filesystem=host:ro"
  ],
  "modules": [
   {
    "name": "SDL2_gfx",
    "sources": [
     {
      "type": "archive",
      "url": "http://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-1.0.4.tar.gz",
      "sha256": "63e0e01addedc9df2f85b93a248f06e8a04affa014a835c2ea34bfe34e576262"
     }
    ],
    "cleanup": [
     "lib/debug"
    ]
   },
   {
    "name": "openc2e",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/openc2e/openc2e.git"
     }
    ],
    "post-install": [
     "mkdir \"${FLATPAK_DEST}/bin/\"",
     "install -Dm755 openc2e \"${FLATPAK_DEST}/bin/\""
    ]
   },
   {
    "name": "launcher",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm755 start \"${FLATPAK_DEST}/bin/\""
    ],
    "sources": [
     {
      "type": "script",
      "dest-filename": "start",
      "commands": [
       "#!/bin/sh",
       "openc2e \"$@\""
      ]
     }
    ],
    "cleanup": [
     "docs",
     "include"
    ]
   }
  ]
 }
}