{
 "app_id": "com.moulberry.PandoraLauncher",
 "source_url": "https://raw.githubusercontent.com/flathub/com.moulberry.PandoraLauncher/master/com.moulberry.PandoraLauncher.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=dri"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:08:22.752424+00:00",
 "manifest": {
  "app-id": "com.moulberry.PandoraLauncher",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "pandora_launcher",
  "finish-args": [
   "--socket=pulseaudio",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--share=network",
   "--device=dri",
   "--share=ipc"
  ],
  "modules": [
   {
    "name": "sccache",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dma+rwx sccache /app/bin/sccache"
    ],
    "cleanup": [
     "/bin/sccache"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/mozilla/sccache/releases/download/v0.13.0/sccache-v0.13.0-x86_64-unknown-linux-musl.tar.gz",
      "sha256": "0f57d80d0036967bc06b8391dcf4b527a6837187de454b55222ce4e0d5e19d0a",
      "only-arches": [
       "x86_64"
      ]
     },
     {
      "type": "archive",
      "url": "https://github.com/mozilla/sccache/releases/download/v0.13.0/sccache-v0.13.0-aarch64-unknown-linux-musl.tar.gz",
      "sha256": "1bbbd570aa957db85c1e7c3fbc790f7766d4406347371b884515ed723ac03086",
      "only-arches": [
       "aarch64"
      ]
     }
    ]
   },
   {
    "name": "PandoraLauncher",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin",
     "env": {
      "CARGO_HOME": "/run/build/PandoraLauncher/cargo",
      "CARGO_NET_OFFLINE": "true",
      "RUSTC_WRAPPER": "/app/bin/sccache",
      "SCCACHE_DIR": "/run/ccache/sccache/",
      "PANDORA_DISTRIBUTION": "flathub"
     }
    },
    "build-commands": [
     "desktop-file-edit --remove-category=GameTool --remove-category=LauncherStore package/flatpak/com.moulberry.PandoraLauncher.desktop",
     "install -D package/flatpak/com.moulberry.PandoraLauncher.desktop -t /app/share/applications/",
     "install -D package/flatpak/com.moulberry.PandoraLauncher.metainfo.xml -t /app/share/metainfo",
     "cp assets/icons/pandora.svg com.moulberry.PandoraLauncher.svg",
     "install -D com.moulberry.PandoraLauncher.svg -t /app/share/icons/hicolor/scalable/apps/",
     "cargo --offline fetch --manifest-path Cargo.toml --verbose",
     "cargo build --offline --release",
     "install -Dm755 target/release/pandora_launcher -t /app/bin"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Moulberry/PandoraLauncher",
      "tag": "v5.5.2",
      "commit": "c2ef99e953c628226f65a5e8a4d3c7f13b0b5a6f"
     }
    ]
   }
  ]
 }
}