{
 "app_id": "org.openkj.OpenKJ",
 "source_url": "https://raw.githubusercontent.com/flathub/org.openkj.OpenKJ/master/org.openkj.OpenKJ.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15-24.08",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=pulseaudio",
  "--device=dri",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--filesystem=host",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=org.kde.kdeconnect"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-17T16:16:16.067820+00:00",
 "manifest": {
  "app-id": "org.openkj.OpenKJ",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.15-24.08",
  "sdk": "org.kde.Sdk",
  "command": "openkj",
  "add-extensions": {
   "org.freedesktop.Platform.ffmpeg-full": {
    "version": "24.08",
    "directory": "lib/ffmpeg",
    "add-ld-path": "."
   }
  },
  "cleanup-commands": [
   "mkdir -p ${FLATPAK_DEST}/lib/ffmpeg"
  ],
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--device=dri",
   "--share=network",
   "--socket=pulseaudio",
   "--filesystem=host",
   "--env=LADSPA_PATH=/app/lib/ladspa/",
   "--env=QT_QPA_PLATFORM=xcb",
   "--env=PATH=/app/lib/totem-pl-parser/bin/:/app/lib/codecs/bin/:/app/bin:/usr/bin"
  ],
  "modules": [
   {
    "name": "liba52",
    "config-opts": [
     "--enable-shared",
     "--disable-static"
    ],
    "rm-configure": true,
    "cleanup": [
     "/bin/*a52*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.videolan.org/pub/videolan/vlc/0.7.2/contrib/a52dec-0.7.4.tar.gz",
      "sha256": "a21d724ab3b3933330194353687df82c475b5dfb997513eef4c25de6c865ec33"
     },
     {
      "type": "patch",
      "path": "patches/a52dec-0.7.4-rpath64.patch"
     },
     {
      "type": "patch",
      "path": "patches/a52dec-configure-optflags.patch"
     },
     {
      "type": "patch",
      "path": "patches/liba52-silence.patch"
     },
     {
      "type": "patch",
      "path": "patches/liba52-prefer-pic.patch"
     },
     {
      "type": "script",
      "commands": [
       "autoreconf -fiv"
      ],
      "dest-filename": "autogen.sh"
     }
    ]
   },
   {
    "name": "libmpeg2",
    "config-opts": [
     "--enable-shared",
     "--disable-static"
    ],
    "rm-configure": true,
    "cleanup": [
     "/bin/*mpeg2*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.videolan.org/contrib/libmpeg2/libmpeg2-0.5.1.tar.gz",
      "sha256": "dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4"
     },
     {
      "type": "patch",
      "path": "patches/libmpeg2-inline.patch"
     },
     {
      "type": "script",
      "commands": [
       "autoreconf -fiv"
      ],
      "dest-filename": "autogen.sh"
     }
    ]
   },
   {
    "name": "libass",
    "config-opts": [
     "--enable-shared",
     "--disable-static"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/libass/libass.git",
      "tag": "0.14.0",
      "commit": "73284b676b12b47e17af2ef1b430527299e10c17"
     },
     {
      "type": "script",
      "commands": [
       "autoreconf -fiv"
      ],
      "dest-filename": "autogen.sh"
     }
    ]
   },
   {
    "name": "rubberband",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/breakfastquay/rubberband.git",
      "tag": "v4.0.0",
      "commit": "1d95888bec3ae0a17c0c4af791810d5a63f6bc35"
     }
    ]
   },
   {
    "name": "OpenKJ",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DSPDLOG_USE_BUNDLED=true"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/openkj/openkj.git",
      "commit": "f116291e50f1fa46acf05135e164abd81d013ee0"
     },
     {
      "type": "patch",
      "path": "patches/qmutex.patch"
     }
    ]
   }
  ]
 }
}