{
 "app_id": "net.mediaarea.QCTools",
 "source_url": "https://raw.githubusercontent.com/flathub/net.mediaarea.QCTools/master/net.mediaarea.QCTools.json",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.10",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--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"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:13:36.898745+00:00",
 "manifest": {
  "app-id": "net.mediaarea.QCTools",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "sdk": "org.kde.Sdk",
  "command": "QCTools",
  "rename-desktop-file": "qctools.desktop",
  "rename-icon": "qctools",
  "finish-args": [
   "--filesystem=host",
   "--device=dri",
   "--share=network",
   "--socket=wayland",
   "--socket=x11",
   "--socket=pulseaudio",
   "--share=ipc"
  ],
  "modules": [
   {
    "name": "ffmpeg",
    "config-opts": [
     "--enable-gpl",
     "--enable-version3",
     "--disable-doc",
     "--disable-debug",
     "--disable-programs",
     "--disable-autodetect",
     "--disable-static",
     "--enable-shared",
     "--enable-libfreetype",
     "--enable-libharfbuzz"
    ],
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/share"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://ffmpeg.org/releases/ffmpeg-6.1.2.tar.xz",
      "sha256": "3b624649725ecdc565c903ca6643d41f33bd49239922e45c9b1442c63dca4e38"
     }
    ]
   },
   {
    "name": "qwt",
    "buildsystem": "qmake",
    "config-opts": [
     "-after",
     "QWT_INSTALL_PREFIX=/app"
    ],
    "cleanup": [
     "/doc",
     "/features",
     "/plugins",
     "/include",
     "/lib/pkgconfig"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/qwt/files/qwt/6.3.0/qwt-6.3.0.tar.bz2",
      "sha256": "dcb085896c28aaec5518cbc08c0ee2b4e60ada7ac929d82639f6189851a6129a"
     },
     {
      "type": "shell",
      "commands": [
       "sed 's/QWT_INSTALL_PREFIX\\s*=\\s*\\/usr\\/local\\/qwt-$$QWT_VERSION/QWT_INSTALL_PREFIX=\\/app/g' -i qwtconfig.pri",
       "sed 's/#QWT_CONFIG\\s*+=\\s*QwtPkgConfig/QWT_CONFIG+=QwtPkgConfig/g' -i qwtconfig.pri"
      ]
     }
    ]
   },
   {
    "name": "qctools",
    "subdir": "Project/QtCreator",
    "builddir": true,
    "buildsystem": "qmake",
    "config-opts": [
     "QMAKE_LIBDIR=/app/lib"
    ],
    "no-make-install": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://mediaarea.net/download/source/qctools/1.4.1/qctools_1.4.1.tar.xz",
      "sha256": "e07b8d042bcdd410e322c132a3c2e8fc7d6b360085ca0917aa8eb20f7a037f5f"
     },
     {
      "type": "file",
      "path": "net.mediaarea.QCTools.appdata.xml"
     },
     {
      "type": "file",
      "path": "qctools.png"
     }
    ],
    "post-install": [
     "install -D -m 0755 qctools-gui/QCTools /app/bin/QCTools",
     "install -D -m 0644 ../../GNU/GUI/qctools.desktop -t /app/share/applications/",
     "install -D -m 0644 ../../../qctools.png -t /app/share/icons/hicolor/256x256/apps/",
     "install -D -m 0644 ../../../net.mediaarea.QCTools.appdata.xml -t /app/share/metainfo/"
    ]
   }
  ]
 }
}