{
 "app_id": "com.wispterm.terminal",
 "source_url": "https://raw.githubusercontent.com/xuzhougeng/wispterm/main/packaging/linux/com.wispterm.terminal.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--share=ipc",
  "--share=network",
  "--talk-name=org.freedesktop.Notifications",
  "--filesystem=home",
  "--filesystem=host:ro"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-20T13:02:38.185003+00:00",
 "manifest": {
  "app-id": "com.wispterm.terminal",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "wispterm",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--share=ipc",
   "--share=network",
   "--talk-name=org.freedesktop.Notifications",
   "--filesystem=home",
   "--filesystem=host:ro"
  ],
  "modules": [
   {
    "name": "sdl3",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DSDL_TEST_LIBRARY=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/libsdl-org/SDL/releases/download/release-3.4.10/SDL3-3.4.10.tar.gz",
      "sha256": "REPLACE_WITH_SDL3_3.4.10_TARBALL_SHA256"
     }
    ]
   },
   {
    "name": "wispterm",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "ZIG_GLOBAL_CACHE_DIR": "/run/build/wispterm/.zig-cache"
     }
    },
    "build-commands": [
     "zig build -Doptimize=ReleaseFast -Dtarget=x86_64-linux-gnu",
     "install -Dm755 zig-out/bin/wispterm /app/bin/wispterm",
     "install -Dm644 packaging/linux/wispterm.desktop /app/share/applications/com.wispterm.terminal.desktop",
     "install -Dm644 packaging/linux/com.wispterm.terminal.metainfo.xml /app/share/metainfo/com.wispterm.terminal.metainfo.xml",
     "install -Dm644 assets/wispterm.png /app/share/icons/hicolor/256x256/apps/com.wispterm.terminal.png"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "../.."
     }
    ]
   }
  ]
 }
}