{
 "app_id": "chat.simplex.simplex",
 "source_url": "https://raw.githubusercontent.com/flathub/chat.simplex.simplex/master/chat.simplex.simplex.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "26.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=dri",
  "--filesystem=home",
  "--talk-name=org.kde.StatusNotifierWatcher"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:06:42.467293+00:00",
 "manifest": {
  "app-id": "chat.simplex.simplex",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "26.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "simplex",
  "separate-locales": false,
  "build-options": {
   "strip": false,
   "no-debuginfo": true,
   "no-debuginfo-compression": true
  },
  "finish-args": [
   "--device=dri",
   "--share=ipc",
   "--share=network",
   "--socket=x11",
   "--socket=pulseaudio",
   "--filesystem=home",
   "--talk-name=org.kde.StatusNotifierWatcher"
  ],
  "modules": [
   {
    "name": "simplex-chat",
    "buildsystem": "simple",
    "build-commands": [
     "chmod +x ./simplex.appimage && ./simplex.appimage --appimage-extract",
     "mkdir -p ${FLATPAK_DEST}/share/icons/hicolor/512x512/apps",
     "mv squashfs-root/simplex.png ${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png",
     "mv squashfs-root/usr/bin squashfs-root/usr/lib ${FLATPAK_DEST}/",
     "mv ${FLATPAK_DEST}/bin/simplex ${FLATPAK_DEST}/bin/simplex-desktop",
     "mv ${FLATPAK_DEST}/lib/app/simplex.cfg ${FLATPAK_DEST}/lib/app/simplex-desktop.cfg",
     "install -Dm644 scripts/flatpak/${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml",
     "install -Dm644 scripts/flatpak/${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm755 -t ${FLATPAK_DEST}/bin/ ./simplex"
    ],
    "sources": [
     {
      "type": "file",
      "only-arches": [
       "x86_64"
      ],
      "dest-filename": "simplex.appimage",
      "url": "https://github.com/simplex-chat/simplex-chat/releases/download/v7.0.2/simplex-desktop-x86_64.AppImage",
      "sha256": "8587f97f5178bb87efc56b261c01c985287941d4cdcdf7400e9b68b65b1711c1"
     },
     {
      "type": "file",
      "only-arches": [
       "aarch64"
      ],
      "dest-filename": "simplex.appimage",
      "url": "https://github.com/simplex-chat/simplex-chat/releases/download/v7.0.2/simplex-desktop-aarch64.AppImage",
      "sha256": "54d41a0ed777da914891220bc6e50a163b1f9ece522ceaa96345b86d62bb88ab"
     },
     {
      "type": "file",
      "path": "simplex"
     },
     {
      "type": "git",
      "url": "https://github.com/simplex-chat/simplex-chat",
      "commit": "4df04bdb3ff94059734ad2da7d2766de6dba2cc7"
     }
    ]
   }
  ]
 }
}