{
 "app_id": "im.fluffychat.Fluffychat",
 "source_url": "https://raw.githubusercontent.com/flathub/im.fluffychat.Fluffychat/master/im.fluffychat.Fluffychat.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=all",
  "--filesystem=xdg-download",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.freedesktop.NetworkManager",
  "--talk-name=org.freedesktop.secrets",
  "--own-name=chat.fluffy.fluffychat"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:10:04.899221+00:00",
 "manifest": {
  "app-id": "im.fluffychat.Fluffychat",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "fluffychat",
  "separate-locales": false,
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--share=network",
   "--device=all",
   "--filesystem=xdg-download",
   "--talk-name=org.freedesktop.Notifications",
   "--own-name=chat.fluffy.fluffychat",
   "--talk-name=org.freedesktop.NetworkManager",
   "--talk-name=org.freedesktop.secrets"
  ],
  "modules": [
   {
    "name": "libjsoncpp",
    "buildsystem": "meson",
    "config-opts": [
     "--buildtype=release",
     "--default-library=shared"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/open-source-parsers/jsoncpp/archive/refs/tags/1.9.5.tar.gz",
      "sha256": "f409856e5920c18d0c2fb85276e24ee607d2a09b5e7d5f0a371368903c275da2"
     }
    ]
   },
   {
    "name": "fluffychat",
    "buildsystem": "simple",
    "only-arches": [
     "x86_64",
     "aarch64"
    ],
    "build-commands": [
     "ls fluffychat",
     "cp -r fluffychat /app/fluffychat",
     "chmod +x /app/fluffychat/fluffychat",
     "install -Dm644 logo.svg /app/share/icons/hicolor/scalable/apps/im.fluffychat.Fluffychat.svg",
     "mkdir -p /app/bin",
     "ln -s /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 /app/lib/libsqlite3.so",
     "if [ ! -e '/app/lib/libsqlite3.so' ]; then ln -s -f /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 /app/lib/libsqlite3.so; fi",
     "ln -s /app/fluffychat/fluffychat /app/bin/fluffychat",
     "if [ $(arch) == \"aarch64\"  ]; then sed -si \"/Exec=/cExec=env GDK_GL=gles fluffychat %U\" im.fluffychat.Fluffychat.desktop; fi",
     "install -Dm644 im.fluffychat.Fluffychat.desktop /app/share/applications/im.fluffychat.Fluffychat.desktop",
     "install -Dm644 im.fluffychat.Fluffychat.metainfo.xml /app/share/appdata/im.fluffychat.Fluffychat.metainfo.xml"
    ],
    "sources": [
     {
      "type": "archive",
      "only-arches": [
       "x86_64"
      ],
      "url": "https://github.com/krille-chan/fluffychat/releases/download/v2.9.5/fluffychat-linux-x64.tar.gz",
      "dest": "fluffychat",
      "sha256": "e3006788582374c5e169fec6d8c85cd811e3d0fc5cdcdbd04e17a7524ea67132",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/krille-chan/fluffychat/releases/latest",
       "version-query": ".tag_name | sub(\"v\";\"\")",
       "url-query": ".assets[] | select(.name==\"fluffychat-linux-x64.tar.gz\") | .browser_download_url"
      }
     },
     {
      "type": "archive",
      "only-arches": [
       "aarch64"
      ],
      "url": "https://github.com/krille-chan/fluffychat/releases/download/v2.9.5/fluffychat-linux-arm64.tar.gz",
      "dest": "fluffychat",
      "sha256": "c7d707fbce76182c19e35728a06e78d102e0da5318cdcc6748b82fc308fc4de3",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/krille-chan/fluffychat/releases/latest",
       "version-query": ".tag_name | sub(\"v\";\"\")",
       "url-query": ".assets[] | select(.name==\"fluffychat-linux-arm64.tar.gz\") | .browser_download_url"
      }
     },
     {
      "type": "file",
      "path": "im.fluffychat.Fluffychat.metainfo.xml"
     },
     {
      "type": "file",
      "path": "im.fluffychat.Fluffychat.desktop"
     },
     {
      "type": "file",
      "path": "logo.svg"
     }
    ]
   }
  ]
 }
}