{
 "app_id": "org.endlessos.Key",
 "source_url": "https://raw.githubusercontent.com/flathub/org.endlessos.Key/master/org.endlessos.Key.yaml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "45",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=dri"
 ],
 "module_count": 12,
 "fetched_at": "2026-09-20T15:31:26.371013+00:00",
 "manifest": {
  "app-id": "org.endlessos.Key",
  "runtime": "org.gnome.Platform",
  "runtime-version": "45",
  "sdk": "org.gnome.Sdk",
  "command": "kolibri-gnome",
  "finish-args": [
   "--device=dri",
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--socket=wayland",
   "--system-talk-name=org.endlessos.Key.Daemon",
   "--env=KOLIBRI_HTTP_PORT=0",
   "--env=PYTHONPATH=/app/kolibri-plugins/lib/python"
  ],
  "add-extensions": {
   "org.freedesktop.Platform.ffmpeg-full": {
    "version": "23.08",
    "directory": "lib/ffmpeg",
    "add-ld-path": ".",
    "autodelete": false
   },
   "org.learningequality.Kolibri.Content": {
    "version": "1.0",
    "directory": "share/kolibri-content",
    "subdirectories": true,
    "no-autodownload": true
   },
   "org.learningequality.Kolibri.Plugin": {
    "version": "1.0",
    "directory": "kolibri-plugins",
    "merge-dirs": "lib/python",
    "subdirectories": true,
    "no-autodownload": true
   }
  },
  "cleanup-commands": [
   "mkdir -p /app/lib/ffmpeg",
   "find ${KOLIBRI_MODULE_PATH}/dist/cext -type d -name 'cp*' -not -path ${KOLIBRI_MODULE_PATH}/dist/cext/cp311 -exec rm -rf '{}' '+'",
   "rm -rf ${KOLIBRI_MODULE_PATH}/dist/cext/*/Windows",
   "find ${KOLIBRI_MODULE_PATH} -type d -name 'test*' -not -path ${KOLIBRI_MODULE_PATH}/dist/django/test -exec rm -rf '{}' '+'"
  ],
  "build-options": {
   "env": {
    "KOLIBRI_MODULE_PATH": "/app/lib/python3.11/site-packages/kolibri",
    "ENDLESS_KEY_DATA_DIR": "/app/share/endless-key"
   }
  },
  "modules": [
   "modules/iproute2.json",
   "modules/python3-markdown.json",
   "modules/python3-kolibri.json",
   "modules/python3-kolibri-pytz.json",
   "modules/python3-kolibri-app-desktop-xdg-plugin.json",
   "modules/python3-kolibri-desktop-auth-plugin.json",
   "modules/python3-kolibri-explore-plugin.json",
   "modules/python3-setproctitle.json",
   "modules/kolibri-content-dir.json",
   "modules/kolibri-plugins-dir.json",
   "modules/endless-key-collections.json",
   {
    "name": "kolibri-gnome",
    "buildsystem": "meson",
    "builddir": true,
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/endlessm/endless-key-flatpak.git",
      "tag": "v0.9",
      "commit": "c085165542292fa8fb9cf0c287366cd2b38d20d1",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     }
    ]
   }
  ]
 }
}