{
 "app_id": "zone.xiv.astra",
 "source_url": "https://raw.githubusercontent.com/redstrate/Astra/main/zone.xiv.astra.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.10",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--share=network",
  "--filesystem=xdg-pictures:rw",
  "--filesystem=~/.steam/steam/compatibilitytools.d/:rw",
  "--filesystem=~/.var/app/com.valvesoftware.Steam/data/Steam/compatibilitytools.d/:rw",
  "--socket=pulseaudio",
  "--talk-name=org.freedesktop.secrets",
  "--talk-name=org.gnome.keyring",
  "--talk-name=org.kde.kwalletd5",
  "--talk-name=org.kde.kwalletd6",
  "--device=all",
  "--allow=devel"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-20T12:57:48.932971+00:00",
 "manifest": {
  "app-id": "zone.xiv.astra",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "sdk": "org.kde.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "astra",
  "separate-locales": true,
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin",
   "build-args": [
    "--share=network"
   ]
  },
  "cleanup": [
   "/share/cmake",
   "/share/kdevappwizard",
   "/include",
   "/lib/cmake",
   "/lib/x86_64-linux-gnu/cmake",
   "/lib/x86_64-linux-gnu/pkgconfig",
   "/mkspecs"
  ],
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--socket=wayland",
   "--share=network",
   "--filesystem=xdg-pictures:rw",
   "--filesystem=~/.steam/steam/compatibilitytools.d/:rw",
   "--filesystem=~/.var/app/com.valvesoftware.Steam/data/Steam/compatibilitytools.d/:rw",
   "--socket=pulseaudio",
   "--talk-name=org.freedesktop.secrets",
   "--talk-name=org.gnome.keyring",
   "--talk-name=org.kde.kwalletd5",
   "--talk-name=org.kde.kwalletd6",
   "--device=all",
   "--allow=devel"
  ],
  "modules": [
   {
    "name": "qtkeychain",
    "cleanup": [
     "/bin"
    ],
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_WITH_QT6=ON",
     "-DCMAKE_INSTALL_LIBDIR=/app/lib",
     "-DLIB_INSTALL_DIR=/app/lib",
     "-DBUILD_TRANSLATIONS=NO",
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/frankosterfeld/qtkeychain/archive/refs/tags/0.16.0.tar.gz",
      "sha256": "3be26ec4ae30eecf0c2ff7572ba83799791b157c76e15a05ef35f23dc25e4054"
     }
    ]
   },
   {
    "name": "steamwrap",
    "buildsystem": "simple",
    "build-commands": [
     "install -D steamwrap /app/libexec/steamwrap"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://xiv.zone/distrib/steamwrap/steamwrap",
      "sha256": "196a7d07fcfa65dbb13a6cb37490926cd6c219875f0184f4c5aa156e99d2c454"
     }
    ]
   },
   {
    "name": "steamapi",
    "buildsystem": "simple",
    "build-commands": [
     "install -D libsteam_api.so /app/libexec/libsteam_api.so"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://xiv.zone/distrib/steamwrap/libsteam_api.so",
      "sha256": "0f2c41c20644503c17e13498203986493332fc8296dbd78493bc1fed352ec0cc"
     }
    ]
   },
   {
    "name": "corrosion",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCORROSION_BUILD_TESTS=OFF"
    ],
    "build-options": {
     "env": [
      {
       "CARGO_HOME": "/run/build/corrosion/cargo"
      }
     ]
    },
    "cleanup": [
     "/app"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/corrosion-rs/corrosion/archive/refs/tags/v0.6.1.tar.gz",
      "sha256": "e9e95b1ee2bad52681f347993fb1a5af5cce458c5ce8a2636c9e476e4babf8e3"
     }
    ]
   },
   {
    "name": "astra",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DRust_COMPILER=/usr/lib/sdk/rust-stable/bin/rustc",
     "-DCMAKE_INSTALL_LIBDIR=/app/lib",
     "-DLIB_INSTALL_DIR=/app/lib",
     "-DBUILD_TESTING=OFF",
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "build-options": {
     "build-args": [
      "--share=network"
     ]
    },
    "sources": [
     {
      "type": "dir",
      "path": "."
     }
    ],
    "cleanup": [
     "/lib/debug/source/astra/launcher/.rcc"
    ]
   }
  ]
 }
}