{
 "app_id": "io.github.paulwedeck.settlers-remake",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.paulwedeck.settlers-remake/master/io.github.paulwedeck.settlers-remake.yaml",
 "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": 2,
 "fetched_at": "2026-09-17T16:11:56.654464+00:00",
 "manifest": {
  "app-id": "io.github.paulwedeck.settlers-remake",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "jsettlers",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.openjdk11"
  ],
  "finish-args": [
   "--socket=x11",
   "--share=ipc",
   "--device=dri",
   "--share=network",
   "--socket=pulseaudio",
   "--env=SETTLERS_MAPS=/app/JSettlers/maps"
  ],
  "modules": [
   {
    "name": "openjdk",
    "buildsystem": "simple",
    "build-commands": [
     "/usr/lib/sdk/openjdk11/install.sh"
    ]
   },
   {
    "name": "jsettlers",
    "buildsystem": "simple",
    "build-commands": [
     "cp -r JSettlers $FLATPAK_DEST/JSettlers",
     "install -Dm755 jsettlers.sh $FLATPAK_DEST/bin/jsettlers",
     "install -Dm755 jsettlers-mapcreator.sh $FLATPAK_DEST/bin/jsettlers-mapcreator",
     "install -Dm644 JSettlers/icon.png  $FLATPAK_DEST/share/icons/hicolor/128x128/apps/$FLATPAK_ID.png",
     "install -Dm644 io.github.paulwedeck.settlers-remake.desktop -t  $FLATPAK_DEST/share/applications",
     "install -Dm644 io.github.paulwedeck.settlers-remake.mapcreator.desktop -t  $FLATPAK_DEST/share/applications",
     "install -Dm644 io.github.paulwedeck.settlers-remake.metainfo.xml -t  $FLATPAK_DEST/share/metainfo"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/paulwedeck/settlers-remake/releases/download/v0.6.0.9-alpha/JSettlers.zip",
      "sha256": "98f60ba9a0d4dbc81015be6a174306bb1434d34de237ef01ff907b7823dea39d",
      "dest": "JSettlers"
     },
     {
      "type": "file",
      "path": "io.github.paulwedeck.settlers-remake.desktop"
     },
     {
      "type": "file",
      "path": "io.github.paulwedeck.settlers-remake.mapcreator.desktop"
     },
     {
      "type": "file",
      "path": "io.github.paulwedeck.settlers-remake.metainfo.xml"
     },
     {
      "type": "file",
      "path": "jsettlers.sh"
     },
     {
      "type": "file",
      "path": "jsettlers-mapcreator.sh"
     }
    ]
   }
  ]
 }
}