{
 "app_id": "com.a_chacon.chaski",
 "source_url": "https://raw.githubusercontent.com/flathub/com.a_chacon.chaski/master/com.a_chacon.chaski.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:06:47.361806+00:00",
 "manifest": {
  "app-id": "com.a_chacon.chaski",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "chaski",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.node24",
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/node24/bin:/usr/lib/sdk/rust-stable/bin"
  },
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri"
  ],
  "modules": [
   {
    "name": "chaski",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/a-chacon/chaski-app/archive/refs/tags/app-v0.7.0.tar.gz",
      "sha256": "c5a2bde3b4df4b5a31074e4457e37aba44939334519ff63df05d51f8b53c380a"
     },
     "yarn-sources.json",
     "cargo-sources.json"
    ],
    "build-options": {
     "env": {
      "CARGO_HOME": "/run/build/chaski/cargo",
      "CARGO_NET_OFFLINE": "true",
      "XDG_CACHE_HOME": "/run/build/chaski/flatpak-node/cache"
     }
    },
    "build-commands": [
     "export YARN_OFFLINE_MIRROR=\"$PWD/flatpak-node/yarn-mirror\"\nyarn config --offline set yarn-offline-mirror \"$YARN_OFFLINE_MIRROR\"\nyarn install --offline --frozen-lockfile --ignore-scripts\n",
     "cargo --offline fetch --manifest-path src-tauri/Cargo.toml",
     "yarn run --offline tauri build -- --no-bundle",
     "install -Dm755 src-tauri/target/release/chaski /app/bin/chaski",
     "install -Dm644 data/com.a_chacon.chaski.desktop /app/share/applications/com.a_chacon.chaski.desktop",
     "install -Dm644 data/com.a_chacon.chaski.metainfo.xml /app/share/metainfo/com.a_chacon.chaski.metainfo.xml",
     "install -Dm644 src-tauri/icons/32x32.png /app/share/icons/hicolor/32x32/apps/com.a_chacon.chaski.png",
     "install -Dm644 src-tauri/icons/128x128.png /app/share/icons/hicolor/128x128/apps/com.a_chacon.chaski.png",
     "install -Dm644 src-tauri/icons/512x512.png /app/share/icons/hicolor/512x512/apps/com.a_chacon.chaski.png",
     "install -Dm644 LICENSE /app/share/licenses/io.github.lullabyX.sone/LICENSE"
    ]
   }
  ]
 }
}