{
 "app_id": "org.okstar.ok-msg",
 "source_url": "https://raw.githubusercontent.com/flathub/org.okstar.ok-msg/master/org.okstar.ok-msg.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15-23.08",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=all",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 7,
 "fetched_at": "2026-09-17T16:16:10.199463+00:00",
 "manifest": {
  "id": "org.okstar.ok-msg",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.15-23.08",
  "sdk": "org.kde.Sdk",
  "command": "ok-msg-desktop",
  "rename-icon": "ok-msg",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--device=all"
  ],
  "add-extensions": {
   "org.freedesktop.Platform.ffmpeg-full": {
    "directory": "lib/ffmpeg",
    "add-ld-path": ".",
    "version": "23.08",
    "autodownload": true,
    "autodelete": false
   }
  },
  "cleanup": [
   "/doc",
   "/include",
   "/lib/cmake",
   "/lib/libexec",
   "/lib/metatypes",
   "/lib/pkgconfig",
   "/lib/systemd",
   "/mkspecs",
   "/modules",
   "/share/doc",
   "/share/man",
   "*.prl",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "tcl",
    "buildsystem": "autotools",
    "subdir": "unix",
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/tcl/files/Tcl/8.6.14/tcl8.6.14-src.tar.gz",
      "sha256": "5880225babf7954c58d4fb0f5cf6279104ce1cd6aa9b71e9a6322540e1c4de66"
     }
    ],
    "post-install": [
     "chmod +w /app/lib/libtcl*.so"
    ]
   },
   {
    "name": "tk",
    "buildsystem": "autotools",
    "subdir": "unix",
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/tcl/files/Tcl/8.6.14/tk8.6.14-src.tar.gz",
      "sha256": "8ffdb720f47a6ca6107eac2dd877e30b0ef7fac14f3a84ebbd0b3612cee41a94"
     }
    ],
    "post-install": [
     "chmod +w /app/lib/libtk*.so"
    ]
   },
   {
    "name": "libsodium",
    "buildsystem": "autotools",
    "builddir": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/jedisct1/libsodium/archive/refs/tags/1.0.19-RELEASE.tar.gz",
      "sha256": "4fb996013283f482f46a457c8ff2c1495e797788e78e8ec56b1aa1b19253bf75"
     }
    ]
   },
   {
    "name": "yasm",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=None"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz",
      "sha256": "3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5286,
       "url-template": "https://www.tortall.net/projects/yasm/releases/yasm-$version.tar.gz"
      }
     }
    ],
    "cleanup": [
     "*"
    ]
   },
   {
    "name": "ok-rtc",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=None"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/okstar-org/ok-rtc.git",
      "commit": "ee9dc00a931fd6e1fdbf46c329950dcd404e60d3"
     }
    ],
    "cleanup": [
     "*"
    ]
   },
   {
    "name": "ok-gloox",
    "buildsystem": "cmake-ninja",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/okstar-org/ok-gloox.git",
      "commit": "f92ff222e1accd1c0dfc0d4498a4a7a8dbffe5d9"
     }
    ]
   },
   {
    "name": "ok-msg-desktop",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DDESKTOP_LAUNCHER_BASENAME=org.okstar.ok-msg",
     "-DDESKTOP_APP_USE_PACKAGED=ON",
     "-DDESKTOP_APP_USE_FLATPAK=ON",
     "-Dwebrtc_SOURCE_DIR=/app/include/ok-rtc",
     "-Dwebrtc_LIB=/app/lib/libok-rtc.a",
     "-Dgloox_SOURCE_DIR=/app/include/ok-gloox",
     "-Dgloox_LIB=/app/lib/libgloox.a"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/okstar-org/ok-msg-desktop.git",
      "commit": "e227a544ac5eb783732942f2d5c83dbe34c57cae"
     }
    ]
   }
  ]
 }
}