{
 "app_id": "com.k8s_gui.app",
 "source_url": "https://raw.githubusercontent.com/Dudude-bit/rubick/main/packaging/flatpak/com.k8s_gui.app.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--device=dri",
  "--filesystem=home",
  "--filesystem=host-os:ro",
  "--talk-name=org.freedesktop.secrets",
  "--talk-name=org.freedesktop.Notifications",
  "--own-name=com.k8s-gui.app.SingleInstance",
  "--env=GDK_BACKEND=x11"
 ],
 "module_count": 1,
 "fetched_at": "2026-10-05T15:53:56.284320+00:00",
 "manifest": {
  "app-id": "com.k8s_gui.app",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "Rubick",
  "separate-locales": false,
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=x11",
   "--device=dri",
   "--filesystem=home",
   "--filesystem=host-os:ro",
   "--talk-name=org.freedesktop.secrets",
   "--talk-name=org.freedesktop.Notifications",
   "--own-name=com.k8s-gui.app.SingleInstance",
   "--env=GDK_BACKEND=x11"
  ],
  "modules": [
   {
    "name": "rubick",
    "buildsystem": "simple",
    "build-commands": [
     "ar x rubick.deb && tar -xf data.tar.*",
     "install -Dm755 usr/bin/Rubick /app/bin/Rubick",
     "missing=$(ldd /app/bin/Rubick | awk '/=> not found/ { print $1 }' | sort -u)\nfor lib in $missing; do\n  # The .deb carries no libraries, so a gap here is a gap in the\n  # runtime \u2014 said out loud rather than filled from somewhere else.\n  echo \"the runtime does not provide $lib\" >&2\n  exit 1\ndone\n# And nothing in /app/lib at all: a library of ours first on the path\n# is the whole of the bug this manifest was rewritten for.\nif [ -n \"$(ls -A /app/lib 2>/dev/null)\" ]; then\n  echo \"the bundle carries libraries; it must carry none\" >&2\n  ls -la /app/lib >&2\n  exit 1\nfi\n",
     "install -Dm644 usr/share/applications/Rubick.desktop /app/share/applications/com.k8s_gui.app.desktop",
     "desktop-file-edit --set-key=Icon --set-value=com.k8s_gui.app /app/share/applications/com.k8s_gui.app.desktop",
     "desktop-file-edit --set-key=Exec --set-value='Rubick %u' /app/share/applications/com.k8s_gui.app.desktop",
     "for d in 32x32 128x128 256x256@2; do install -Dm644 \"usr/share/icons/hicolor/$d/apps/Rubick.png\" \"/app/share/icons/hicolor/$d/apps/com.k8s_gui.app.png\"; done"
    ],
    "sources": [
     {
      "type": "file",
      "path": "rubick.deb"
     }
    ]
   }
  ]
 }
}