{
 "app_id": "com.clustta.clustta",
 "source_url": "https://raw.githubusercontent.com/flathub/com.clustta.clustta/master/com.clustta.clustta.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",
  "--filesystem=home",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.freedesktop.secrets"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:07:07.898801+00:00",
 "manifest": {
  "app-id": "com.clustta.clustta",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.golang",
   "org.freedesktop.Sdk.Extension.node20"
  ],
  "command": "clustta",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--share=network",
   "--filesystem=home",
   "--talk-name=org.freedesktop.secrets",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--env=WEBKIT_DISABLE_DMABUF_RENDERER=1"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/golang/bin:/usr/lib/sdk/node20/bin",
   "env": {
    "GOPATH": "/run/build/clustta/go",
    "GOBIN": "/run/build/clustta/go/bin",
    "GOMODCACHE": "/run/build/clustta/go/pkg/mod",
    "npm_config_nodedir": "/usr/lib/sdk/node20"
   }
  },
  "modules": [
   {
    "name": "clustta",
    "buildsystem": "simple",
    "build-commands": [
     "yarn config set yarn-offline-mirror \"$PWD/flatpak-node/yarn-mirror\"\ncd frontend\nsed -i '/@clustta\\/web-adapters/d' package.json\nsed -i '/^\"@clustta\\/web-adapters/,/^$/d' yarn.lock\nyarn install --offline\n",
     "cd frontend && yarn build",
     ". /usr/lib/sdk/golang/enable.sh\nexport GOFLAGS=\"-mod=mod -modcacherw\"\nCGO_ENABLED=1 go build -tags production -trimpath -buildvcs=false \\\n  -ldflags=\"-w -s\" -o /app/bin/clustta\n",
     "install -Dm644 build/linux/flatpak/com.clustta.clustta.desktop /app/share/applications/com.clustta.clustta.desktop",
     "install -Dm644 build/linux/flatpak/com.clustta.clustta.metainfo.xml /app/share/metainfo/com.clustta.clustta.metainfo.xml",
     "install -Dm644 build/linux/clustta-clst.xml /app/share/mime/packages/com.clustta.clustta-clst.xml",
     "install -Dm644 build/linux/appicon-256.png /app/share/icons/hicolor/256x256/apps/com.clustta.clustta.png"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/eaxum/clustta-client.git",
      "tag": "v0.4.39",
      "commit": "77923fb287640e029654fffd59bdba1aef85f565"
     },
     "generated-sources.json",
     "go-sources.json"
    ]
   }
  ]
 }
}