{
 "app_id": "io.github.DevMercenary.LChat",
 "source_url": "https://raw.githubusercontent.com/DevMercenary/LChat/main/packaging/io.github.DevMercenary.LChat.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--share=ipc",
  "--device=dri",
  "--filesystem=home"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-20T13:04:14.673815+00:00",
 "manifest": {
  "app-id": "io.github.DevMercenary.LChat",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "lchat",
  "finish-args": [
   "--share=network",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--device=dri",
   "--filesystem=home"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin",
   "build-args": [
    "--share=network"
   ],
   "env": {
    "CARGO_HOME": "/run/build/lchat/cargo"
   }
  },
  "modules": [
   {
    "name": "lchat",
    "buildsystem": "simple",
    "build-commands": [
     "cargo build --release --locked",
     "install -Dm755 target/release/lchat /app/bin/lchat",
     "install -Dm644 packaging/io.github.DevMercenary.LChat.desktop /app/share/applications/io.github.DevMercenary.LChat.desktop",
     "install -Dm644 packaging/io.github.DevMercenary.LChat.metainfo.xml /app/share/metainfo/io.github.DevMercenary.LChat.metainfo.xml",
     "install -Dm644 packaging/icons/hicolor/scalable/apps/io.github.DevMercenary.LChat.svg /app/share/icons/hicolor/scalable/apps/io.github.DevMercenary.LChat.svg",
     "for s in 16 32 48 64 128 256 512; do install -Dm644 \"packaging/icons/hicolor/${s}x${s}/apps/io.github.DevMercenary.LChat.png\" \"/app/share/icons/hicolor/${s}x${s}/apps/io.github.DevMercenary.LChat.png\"; done"
    ],
    "sources": [
     {
      "type": "dir",
      "path": ".."
     }
    ]
   }
  ]
 }
}