{
 "app_id": "io.github.Youda008.DoomRunner",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.Youda008.DoomRunner/master/io.github.Youda008.DoomRunner.yaml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.10",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=all",
  "--filesystem=home",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=org.freedesktop.Flatpak"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:10:29.195870+00:00",
 "manifest": {
  "app-id": "io.github.Youda008.DoomRunner",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "sdk": "org.kde.Sdk",
  "command": "DoomRunner",
  "finish-args": [
   "--device=all",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--share=ipc",
   "--share=network",
   "--filesystem=home:rw",
   "--talk-name=org.freedesktop.Flatpak",
   "--env=KDE_FULL_SESSION=false"
  ],
  "cleanup": [
   "/include",
   "/lib/*.a",
   "/lib/*.la",
   "/lib/pkgconfig",
   "/lib/cmake",
   "/share/doc",
   "/share/cmake",
   "/share/man"
  ],
  "modules": [
   {
    "name": "minizip-ng",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_SHARED_LIBS=ON",
     "-DMZ_ZLIB=ON"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/zlib-ng/minizip-ng",
      "tag": "4.1.0",
      "commit": "cf4b58e17ebdcff8c6fbce1a9c3af5bf0485423c"
     }
    ]
   },
   {
    "name": "doomrunner-build",
    "buildsystem": "qmake",
    "builddir": true,
    "config-opts": [
     "CONFIG+=release flatpak",
     "INSTALL_DIR+=/app/bin"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Youda008/DoomRunner",
      "tag": "v1.9.2",
      "commit": "1592f21b7eb184e6175ce44a280d245675ebdcb1"
     }
    ],
    "post-install": [
     "desktop-file-edit --set-icon=${FLATPAK_ID} ../Install/XDG/DoomRunner.desktop",
     "install -Dm 644 ../Install/XDG/io.github.Youda008.DoomRunner.appdata.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml",
     "install -Dm 644 ../Install/XDG/DoomRunner.desktop /app/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm 644 ../Install/XDG/DoomRunner.128x128.png /app/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png"
    ]
   },
   {
    "name": "doomrunner-support",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "file",
      "path": "sources/gzdoom.sh"
     }
    ],
    "build-commands": [
     "install -Dm755 gzdoom.sh /app/bin/GZDoom"
    ]
   }
  ]
 }
}