{
 "app_id": "net.veloren.airshipper",
 "source_url": "https://raw.githubusercontent.com/flathub/net.veloren.airshipper/master/net.veloren.airshipper.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "26.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=all"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:13:57.050724+00:00",
 "manifest": {
  "app-id": "net.veloren.airshipper",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "26.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "airshipper",
  "finish-args": [
   "--socket=fallback-x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--share=network",
   "--share=ipc",
   "--device=all"
  ],
  "build-options": {
   "append-path": "/app/sdk/rust-nightly/bin"
  },
  "cleanup": [
   "/sdk"
  ],
  "modules": [
   {
    "name": "rust",
    "build-options": {
     "strip": false,
     "no-debuginfo": true
    },
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "only-arches": [
       "aarch64"
      ],
      "dest": "rust",
      "url": "https://static.rust-lang.org/dist/2025-09-08/rust-nightly-aarch64-unknown-linux-gnu.tar.xz",
      "sha256": "f19b4221c0cb2e237780beef4b3cf89314b27d45ae0a77709a408ddc7aa2c12d"
     },
     {
      "type": "archive",
      "only-arches": [
       "x86_64"
      ],
      "dest": "rust",
      "url": "https://static.rust-lang.org/dist/2025-09-08/rust-nightly-x86_64-unknown-linux-gnu.tar.xz",
      "sha256": "9aa21da7a176371cb344886f511e743e6355d0653381331c5d0767a9035b8d1f"
     }
    ],
    "build-commands": [
     "cd rust && ./install.sh --prefix=/app/sdk/rust-nightly --without=rust-docs --without=rust-docs-json-preview --disable-ldconfig --verbose"
    ]
   },
   {
    "name": "airshipper",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "url": "https://gitlab.com/veloren/airshipper/-/archive/v0.17.0/airshipper-v0.17.0.tar.gz",
      "sha256": "bd92b19d49548263b546d75267c5e9bfa04fb0382446895513cf5861d23f4cf4"
     },
     "generated-sources.json"
    ],
    "build-options": {
     "env": {
      "CARGO_HOME": "/run/build/airshipper/cargo",
      "RUST_BACKTRACE": "1"
     }
    },
    "build-commands": [
     "cargo --offline fetch --manifest-path Cargo.toml",
     "cargo --offline build --bin airshipper --release",
     "install -D -m 755 ./target/release/airshipper -t /app/bin/"
    ],
    "post-install": [
     "install -D client/assets/net.veloren.airshipper.desktop -t /app/share/applications/",
     "install -D client/assets/net.veloren.airshipper.png -t /app/share/icons/hicolor/256x256/apps/",
     "install -D client/assets/net.veloren.airshipper.metainfo.xml -t /app/share/metainfo/"
    ]
   }
  ]
 }
}