{
 "app_id": "page.codeberg.terratactician_expandoria.game",
 "source_url": "https://raw.githubusercontent.com/flathub/page.codeberg.terratactician_expandoria.game/master/page.codeberg.terratactician_expandoria.game.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=all",
  "--filesystem=xdg-download",
  "--filesystem=xdg-pictures"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:17:14.401478+00:00",
 "manifest": {
  "app-id": "page.codeberg.terratactician_expandoria.game",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "terratactician-expandoria",
  "build-options": {
   "env": {
    "CARGO_HOME": "/run/build/terratactician_expandoria/cargo",
    "TTE_BUILD_ASSETS_DIR": "/app/share/terratactician_expandoria/assets"
   },
   "append-path": "/usr/lib/sdk/rust-stable/bin"
  },
  "rename-desktop-file": "terratactician-expandoria.desktop",
  "rename-appdata-file": "page.codeberg.terratactician_expandoria.metainfo.xml",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--device=all",
   "--share=network",
   "--filesystem=xdg-pictures",
   "--filesystem=xdg-download"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/man",
   "/share/doc",
   "/share/man",
   "/share/pkgconfig",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "terratactician_expandoria",
    "buildsystem": "simple",
    "build-commands": [
     "cargo --offline fetch --manifest-path Cargo.toml --verbose",
     "cargo --offline build --release --verbose -F custom-assets-path",
     "install -Dm755 ./target/release/terratactician-expandoria -t /app/bin/",
     "install -Dm755 ./dist/page.codeberg.terratactician_expandoria.metainfo.xml /app/share/metainfo/page.codeberg.terratactician_expandoria.metainfo.xml",
     "install -Dm755 ./assets/icons/app-icon.png /app/share/icons/hicolor/512x512/apps/page.codeberg.terratactician_expandoria.game.png",
     "install -Dm755 ./dist/terratactician-expandoria.desktop /app/share/applications/terratactician-expandoria.desktop",
     "desktop-file-edit --set-icon=page.codeberg.terratactician_expandoria.game /app/share/applications/terratactician-expandoria.desktop",
     "mkdir -p /app/share/terratactician_expandoria",
     "cp assets -r /app/share/terratactician_expandoria/"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://codeberg.org/terratactician-expandoria/game",
      "tag": "v0.4.2"
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}