{
 "app_id": "games.rednblack.HyperLap2D",
 "source_url": "https://raw.githubusercontent.com/rednblackgames/HyperLap2D/master/flatpak/games.rednblack.HyperLap2D.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--device=all",
  "--share=network",
  "--filesystem=host"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-20T12:54:27.984476+00:00",
 "manifest": {
  "app-id": "games.rednblack.HyperLap2D",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.openjdk25"
  ],
  "command": "hyperlap2d-launcher",
  "add-extensions": {
   "org.freedesktop.Platform.Extension.openjdk25": {
    "directory": "lib/sdk/openjdk25",
    "version": "25.08",
    "no-autodownload": false
   }
  },
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--socket=wayland",
   "--device=all",
   "--share=network",
   "--filesystem=host"
  ],
  "modules": [
   {
    "name": "openjdk",
    "buildsystem": "simple",
    "build-commands": [
     "/usr/lib/sdk/openjdk25/install.sh"
    ]
   },
   {
    "name": "hyperlap2d",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/openjdk25/bin",
     "env": {
      "JAVA_HOME": "/usr/lib/sdk/openjdk25"
     },
     "build-args": [
      "--share=network"
     ]
    },
    "sources": [
     {
      "type": "dir",
      "path": ".."
     }
    ],
    "build-commands": [
     "./gradlew dist -PSNAPSHOT=true",
     "mkdir -p /app/share/hyperlap2d/lib",
     "cp -r distBuild/lib/* /app/share/hyperlap2d/lib/",
     "cp -r assets /app/share/hyperlap2d/",
     "install -Dm644 icons/HyperLap2D.png /app/share/icons/hicolor/256x256/apps/games.rednblack.HyperLap2D.png",
     "install -Dm644 flatpak/games.rednblack.HyperLap2D.desktop /app/share/applications/games.rednblack.HyperLap2D.desktop",
     "install -Dm755 flatpak/hyperlap2d-launcher.sh /app/bin/hyperlap2d-launcher"
    ]
   }
  ]
 }
}