{
 "app_id": "org.tunaos.BlueShell",
 "source_url": "https://raw.githubusercontent.com/tuna-os/blueshell/ptyxis-port/flatpak/org.tunaos.BlueShell.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--device=dri",
  "--device=all",
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--filesystem=home:ro",
  "--talk-name=org.freedesktop.Flatpak",
  "--filesystem=xdg-run/podman",
  "--own-name=com.mitchellh.ghostty",
  "--talk-name=com.mitchellh.ghostty",
  "--env=GHOSTTY_RESOURCES_DIR=/app/share/ghostty"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-20T12:56:40.941451+00:00",
 "manifest": {
  "app-id": "org.tunaos.BlueShell",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "default-branch": "master",
  "command": "ghostty",
  "finish-args": [
   "--device=dri",
   "--device=all",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--filesystem=home:ro",
   "--talk-name=org.freedesktop.Flatpak",
   "--filesystem=xdg-run/podman",
   "--own-name=com.mitchellh.ghostty",
   "--talk-name=com.mitchellh.ghostty",
   "--env=GHOSTTY_RESOURCES_DIR=/app/share/ghostty"
  ],
  "cleanup": [
   "/include",
   "/lib/girepository-1.0",
   "/lib/pkgconfig",
   "/share/gir-1.0",
   "/share/pkgconfig",
   "/share/vala",
   "*.la",
   "*.a",
   "*.so"
  ],
  "modules": [
   "dependencies.yml",
   {
    "name": "ptyxis-agent",
    "buildsystem": "meson",
    "config-opts": [
     "--libexecdir=/app/libexec"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "../third_party/ptyxis-agent"
     }
    ]
   },
   {
    "name": "ghostty",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/app/zig"
    },
    "build-commands": [
     "zig build -Doptimize=ReleaseFast -Dcpu=baseline -Dflatpak=true -Dstrip=false -fno-sys=oniguruma --prefix /app --search-prefix /app --system $PWD/vendor/p",
     "install -Dm644 flatpak/org.tunaos.BlueShell.desktop /app/share/applications/org.tunaos.BlueShell.desktop",
     "install -Dm644 flatpak/org.tunaos.BlueShell.metainfo.xml /app/share/metainfo/org.tunaos.BlueShell.metainfo.xml",
     "install -Dm644 flatpak/org.tunaos.BlueShell.svg /app/share/icons/hicolor/scalable/apps/org.tunaos.BlueShell.svg",
     "install -Dm644 flatpak/org.tunaos.BlueShell-64.png /app/share/icons/hicolor/64x64/apps/org.tunaos.BlueShell.png",
     "install -Dm644 flatpak/org.tunaos.BlueShell-128.png /app/share/icons/hicolor/128x128/apps/org.tunaos.BlueShell.png"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "..",
      "skip": [
       "flatpak/.flatpak-builder",
       "flatpak/builddir",
       "flatpak/repo",
       "zig-cache",
       "zig-out"
      ]
     },
     "zig-packages.json"
    ]
   }
  ]
 }
}