{
 "app_id": "io.github.alsofelix.crabdrop",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.alsofelix.crabdrop/master/io.github.alsofelix.crabdrop.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "49",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-download",
  "--talk-name=org.freedesktop.secrets"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:10:34.481943+00:00",
 "manifest": {
  "app-id": "io.github.alsofelix.crabdrop",
  "runtime": "org.gnome.Platform",
  "runtime-version": "49",
  "sdk": "org.gnome.Sdk",
  "command": "crabdrop",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.node20",
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--filesystem=xdg-download",
   "--talk-name=org.freedesktop.secrets"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/node20/bin:/usr/lib/sdk/rust-stable/bin"
  },
  "modules": [
   {
    "name": "crabdrop",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/alsofelix/crabdrop.git",
      "tag": "v0.6.0",
      "commit": "f5e000b883ff9656f69f95c5df2519fb64d39088"
     },
     "cargo-sources.json",
     "node-sources.json"
    ],
    "build-options": {
     "env": {
      "CARGO_HOME": "/run/build/crabdrop/cargo",
      "XDG_CACHE_HOME": "/run/build/crabdrop/flatpak-node/cache",
      "npm_config_cache": "/run/build/crabdrop/flatpak-node/npm-cache",
      "npm_config_offline": "true"
     }
    },
    "build-commands": [
     "npm ci --offline --legacy-peer-deps",
     "cargo --offline fetch --manifest-path src-tauri/Cargo.toml",
     "npm run tauri -- build --no-bundle",
     "install -Dm755 src-tauri/target/release/crabdrop /app/bin/crabdrop",
     "install -Dm644 packaging/io.github.alsofelix.crabdrop.metainfo.xml /app/share/metainfo/io.github.alsofelix.crabdrop.metainfo.xml",
     "install -Dm644 packaging/io.github.alsofelix.crabdrop.desktop /app/share/applications/io.github.alsofelix.crabdrop.desktop",
     "install -Dm644 src-tauri/icons/32x32.png /app/share/icons/hicolor/32x32/apps/io.github.alsofelix.crabdrop.png",
     "install -Dm644 src-tauri/icons/64x64.png /app/share/icons/hicolor/64x64/apps/io.github.alsofelix.crabdrop.png",
     "install -Dm644 src-tauri/icons/128x128.png /app/share/icons/hicolor/128x128/apps/io.github.alsofelix.crabdrop.png"
    ]
   }
  ]
 }
}