{
 "app_id": "com.slugchess.SlugChess",
 "source_url": "https://raw.githubusercontent.com/flathub/com.slugchess.SlugChess/master/com.slugchess.SlugChess.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=dri"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:08:49.930669+00:00",
 "manifest": {
  "app-id": "com.slugchess.SlugChess",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "slugchess-run.sh",
  "rename-icon": "sc-black",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.dotnet10"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/dotnet10/bin",
   "append-ld-library-path": "/usr/lib/sdk/dotnet10/lib",
   "prepend-pkg-config-path": "/usr/lib/sdk/dotnet10/lib/pkgconfig",
   "env": {
    "DOTNET_CLI_TELEMETRY_OPTOUT": "true"
   },
   "arch": {
    "aarch64": {
     "env": {
      "RUNTIME": "linux-arm64"
     }
    },
    "x86_64": {
     "env": {
      "RUNTIME": "linux-x64"
     }
    }
   }
  },
  "finish-args": [
   "--socket=x11",
   "--share=ipc",
   "--share=network",
   "--socket=pulseaudio",
   "--device=dri"
  ],
  "modules": [
   {
    "name": "slugchess",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p /app/bin",
     "dotnet publish -c Release -r $RUNTIME --source nuget-sources --no-self-contained -p:PublishSingleFile=false SlugChess/SlugChess.csproj",
     "cp -r --remove-destination SlugChess/bin/Release/net10.0/$RUNTIME/publish/* /app/bin/",
     "install -Dm755 flatpak/slugchess-run.sh -t /app/bin/",
     "install -Dm 644 SlugChess/Assets/images/svg/sc-black.svg -t /app/share/icons/hicolor/scalable/apps/",
     "install -Dm 644 flatpak/${FLATPAK_ID}.desktop -t /app/share/applications/",
     "install -Dm 644 flatpak/${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo/",
     "install.sh"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.com/slugchess/slugchess.git",
      "tag": "v1.0.2-1",
      "commit": "9092292295a63d20ab4208827c586daf5cd72842"
     },
     "nuget-sources.json"
    ]
   }
  ]
 }
}