{
 "app_id": "org.gnome.Chess",
 "source_url": "https://raw.githubusercontent.com/flathub/org.gnome.Chess/master/org.gnome.Chess.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "51",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-18T07:37:55.333178+00:00",
 "manifest": {
  "app-id": "org.gnome.Chess",
  "runtime": "org.gnome.Platform",
  "runtime-version": "51",
  "sdk": "org.gnome.Sdk",
  "command": "gnome-chess",
  "finish-args": [
   "--device=dri",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland"
  ],
  "cleanup": [
   "/share/gnuchess",
   "/share/info",
   "/share/man",
   "/include"
  ],
  "modules": [
   {
    "name": "phalanx",
    "buildsystem": "simple",
    "build-commands": [
     "make",
     "install -D phalanx /app/bin/phalanx",
     "install -D pbook.phalanx /app/share/phalanx/pbook.phalanx",
     "install -D sbook.phalanx /app/share/phalanx/sbook.phalanx",
     "install -D eco.phalanx /app/share/phalanx/eco.phalanx"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/project/phalanx/Version%20XXV/phalanx-XXV-source.tgz",
      "sha256": "b3874d5dcd22c64626b2c955b18b27bcba3aa727855361a91eab57a6324b22dd"
     },
     {
      "type": "patch",
      "path": "phalanx-books-path.patch"
     }
    ]
   },
   {
    "name": "stockfish",
    "buildsystem": "simple",
    "build-options": {
     "arch": {
      "x86_64": {
       "env": {
        "ARCH": "x86-64"
       }
      },
      "aarch64": {
       "env": {
        "ARCH": "armv7"
       }
      }
     }
    },
    "build-commands": [
     "cd src;make build",
     "install -D src/stockfish /app/bin/stockfish"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/official-stockfish/Stockfish/archive/refs/tags/sf_11.tar.gz",
      "sha256": "802261cc601b67bed00c0ef7d21e2125959630f0852a06db9fc9bd74f440b199"
     }
    ]
   },
   {
    "name": "gnuchess",
    "sources": [
     {
      "type": "archive",
      "url": "https://ftpmirror.gnu.org/chess/gnuchess-6.3.0.tar.gz",
      "sha256": "0b37bec2098c2ad695b7443e5d7944dc6dc8284f8d01fcc30bdb94dd033ca23a",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1206,
       "url-template": "https://ftpmirror.gnu.org/chess/gnuchess-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "gnome-chess",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/gnome-chess/50/gnome-chess-50.1.tar.xz",
      "sha256": "dc29a330b8157cfac8d04a24c1afa848b6f0f4792454d8479d2bfeb7a3519298",
      "x-checker-data": {
       "type": "gnome",
       "name": "gnome-chess"
      }
     }
    ]
   }
  ]
 }
}