{
 "app_id": "io.github.Rescator7.Hearts",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.Rescator7.Hearts/master/io.github.Rescator7.Hearts.yaml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.11",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:10:24.841549+00:00",
 "manifest": {
  "id": "io.github.Rescator7.Hearts",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "command": "Hearts",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--socket=pulseaudio",
   "--share=network"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/lib/cmake",
   "/share/pkgconfig",
   "*.a",
   "*.la"
  ],
  "modules": [
   {
    "name": "allegro5",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DSHARED=on",
     "-DWANT_DOCS=off",
     "-DWANT_EXAMPLES=off",
     "-DWANT_DEMO=off",
     "-DWANT_TESTS=off",
     "-DWANT_VIDEO=off",
     "-DWANT_PHYSFS=off",
     "-DWANT_NATIVE_DIALOG=off",
     "-DWANT_PRIMITIVES=off",
     "-DWANT_IMAGE=off",
     "-DWANT_FONT=off",
     "-DWANT_TTF=off",
     "-DWANT_COLOR=off",
     "-DWANT_MEMFILE=on",
     "-DWANT_AUDIO=on",
     "-DWANT_ACODEC=on"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/liballeg/allegro5/releases/download/5.2.11.3/allegro-5.2.11.3.tar.gz",
      "sha256": "aba4679a5b1f2bf62482eba6e8814a94de7ffc86de5f8587ba199fcc61b4a04f"
     }
    ]
   },
   {
    "name": "hearts",
    "buildsystem": "qmake",
    "config-opts": [
     "QMAKE_LFLAGS+=-L/app/lib"
    ],
    "post-install": [
     "install -Dm644 io.github.Rescator7.Hearts.desktop /app/share/applications/io.github.Rescator7.Hearts.desktop",
     "install -Dm644 io.github.Rescator7.Hearts.metainfo.xml /app/share/metainfo/io.github.Rescator7.Hearts.metainfo.xml",
     "install -Dm644 io.github.Rescator7.Hearts.svg /app/share/icons/hicolor/scalable/apps/io.github.Rescator7.Hearts.svg"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Rescator7/Hearts.git",
      "tag": "v1.9.7",
      "commit": "ed27217ad286d86c6f79168f9386afb2345725a3"
     },
     {
      "type": "patch",
      "path": "flatpak-build.patch"
     },
     {
      "type": "patch",
      "path": "xdg-config-dir.patch"
     }
    ]
   }
  ]
 }
}