{
 "app_id": "org.kde.krita",
 "source_url": "https://raw.githubusercontent.com/flathub/org.kde.krita/master/org.kde.krita.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=dri",
  "--filesystem=host",
  "--filesystem=xdg-run/gvfs",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--system-talk-name=org.freedesktop.ColorManager",
  "--unset-env=QT_QPA_PLATFORM",
  "--unset-env=QT_PLUGIN_PATH"
 ],
 "module_count": 67,
 "fetched_at": "2026-09-17T17:20:40.900521+00:00",
 "manifest": {
  "app-id": "org.kde.krita",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "krita",
  "rename-icon": "krita",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=x11",
   "--socket=pulseaudio",
   "--device=dri",
   "--filesystem=host",
   "--filesystem=xdg-run/gvfs",
   "--env=PYTHONPATH=/app/lib/python3.13/site-packages",
   "--env=LADSPA_PATH=/app/extensions/Plugins/ladspa:/app/lib/ladspa",
   "--env=TMPDIR=/var/tmp",
   "--unset-env=QT_PLUGIN_PATH",
   "--unset-env=QT_QPA_PLATFORM",
   "--env=QT_QPA_PLATFORMTHEME=gtk3",
   "--env=FLATPAK=1",
   "--env=QML_DISABLE_DISK_CACHE=1",
   "--system-talk-name=org.freedesktop.ColorManager",
   "--talk-name=com.canonical.AppMenu.Registrar"
  ],
  "cleanup": [
   "/doc",
   "/include",
   "/lib/pkgconfig",
   "/lib/cmake",
   "/lib/mkspecs",
   "/share/aclocal",
   "/share/cmake",
   "/share/doc",
   "/share/pkgconfig",
   "/share/info",
   "/share/man",
   "/cmake",
   "*.a",
   "*.la",
   "*.cmake",
   "*.prl"
  ],
  "cleanup-commands": [
   "mkdir -p ${FLATPAK_DEST}/extensions/Plugins"
  ],
  "add-extensions": {
   "org.freedesktop.LinuxAudio.Plugins": {
    "directory": "extensions/Plugins",
    "version": "25.08",
    "add-ld-path": "lib",
    "merge-dirs": "ladspa",
    "subdirectories": true,
    "no-autodownload": true
   },
   "org.freedesktop.LinuxAudio.Plugins.swh": {
    "directory": "extensions/Plugins/swh",
    "version": "25.08",
    "add-ld-path": "lib",
    "merge-dirs": "ladspa",
    "autodelete": false,
    "subdirectories": true
   },
   "org.freedesktop.LinuxAudio.Plugins.TAP": {
    "directory": "extensions/Plugins/TAP",
    "version": "25.08",
    "add-ld-path": "lib",
    "merge-dirs": "ladspa",
    "autodelete": false,
    "subdirectories": true
   }
  },
  "modules": [
   {
    "name": "qtbase",
    "build-options": {
     "arch": {
      "x86_64": {
       "config-opts": [
        "-reduce-relocations",
        "-force-debug-info"
       ]
      },
      "aarch64": {
       "config-opts": [
        "-no-reduce-relocations"
       ]
      }
     }
    },
    "config-opts": [
     "-confirm-license",
     "-opensource",
     "-shared",
     "-platform",
     "linux-g++",
     "-optimized-qmake",
     "-nomake",
     "examples",
     "-nomake",
     "tests",
     "-system-harfbuzz",
     "-system-sqlite",
     "-accessibility",
     "-dbus-linked",
     "-fontconfig",
     "-glib",
     "-icu",
     "-openssl-linked",
     "-no-pch",
     "-no-rpath",
     "-no-directfb",
     "-no-linuxfb",
     "-no-kms",
     "-system-proxies",
     "-gtk",
     "-no-use-gold-linker",
     "-archdatadir",
     "/app/lib"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://invent.kde.org/szaman/qtbase.git",
      "commit": "3a918b166a8454b51d0a388269407b4599e600b4"
     },
     {
      "type": "shell",
      "commands": [
       "mv configure configure.qt"
      ]
     },
     {
      "type": "script",
      "commands": [
       "processed=`sed -e 's/--/-/g ; s/=/ /g' <<< $@`",
       "./configure.qt $processed"
      ],
      "dest-filename": "configure"
     }
    ]
   },
   {
    "name": "qtdeclarative",
    "buildsystem": "qmake",
    "cleanup": [
     "/bin",
     "/lib/plugins/qmltooling"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://invent.kde.org/szaman/qtdeclarative.git",
      "commit": "967fb735aeb5ef26fb1ccab42bc0720442c14fa2",
      "disable-shallow-clone": true,
      "disable-submodules": true
     }
    ]
   },
   {
    "name": "qtimageformats",
    "buildsystem": "qmake",
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://invent.kde.org/qt/qt/qtimageformats.git",
      "commit": "adbc372b890ed90f006a6c4f3ca56bf0cba477ef"
     }
    ]
   },
   {
    "name": "qttools",
    "buildsystem": "qmake",
    "cleanup": [
     "/bin/assistant",
     "/bin/qhelpgenerator",
     "/bin/qcollectiongenerator",
     "/bin/qhelpconverter",
     "/bin/pixeltool",
     "/bin/designer",
     "/bin/lrelease",
     "/bin/lupdate",
     "/bin/lconvert",
     "/bin/linguist",
     "/bin/qdoc",
     "/bin/qtattributionsscanner",
     "/bin/qtplugininfo",
     "/bin/qtdiag",
     "/bin/qdbusviewer"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://invent.kde.org/szaman/qttools.git",
      "commit": "3cea28be7c7dfe6fd90d3eef88ac6c2307f09051"
     }
    ]
   },
   {
    "name": "qtsvg",
    "buildsystem": "qmake",
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://invent.kde.org/qt/qt/qtsvg.git",
      "commit": "83296f10ebdb9a666b11dc69f3a148c38b9c425c"
     }
    ]
   },
   {
    "name": "qtx11extras",
    "buildsystem": "qmake",
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://invent.kde.org/qt/qt/qtx11extras.git",
      "commit": "9134cdba9386e408ce2ffe515ca0c3f6f6c66685"
     }
    ]
   },
   {
    "name": "qttranslations",
    "buildsystem": "qmake",
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://invent.kde.org/qt/qt/qttranslations.git",
      "commit": "c38edd3a5501bcd53132e1e4abb7d25a98e0e1a9"
     }
    ]
   },
   {
    "name": "qtquickcontrols2",
    "buildsystem": "qmake",
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://invent.kde.org/qt/qt/qtquickcontrols2.git",
      "commit": "5465566a4ad9f6f9758bed304153f0c7fec3437b"
     }
    ]
   },
   {
    "name": "qtgraphicaleffects",
    "buildsystem": "qmake",
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://invent.kde.org/qt/qt/qtgraphicaleffects.git",
      "commit": "a2b1600300cda89804d48ec90e0068a075fecc8b"
     }
    ]
   },
   {
    "name": "extra-cmake-modules",
    "buildsystem": "cmake-ninja",
    "cleanup": [
     "*"
    ],
    "config-opts": [
     "-DBUILD_TESTING=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/frameworks/5.101/extra-cmake-modules-5.101.0.tar.xz",
      "sha256": "8c4c561310db587d390a6c84afc97e1addbaddd73b9d7a4c7309c5da9b9bc8f2"
     },
     {
      "type": "patch",
      "paths": [
       "patches/frameworks/0001-Android-Skip-setting-up-fastlane.patch",
       "patches/frameworks/0002-Android-Recursively-find-dependency-of-dependencies.patch",
       "patches/frameworks/0003-Revert-Use-BIN_INSTALL_DIR-data-for-DATAROOTDIR-on-W.patch",
       "patches/frameworks/0001-ANDROID-Find-dependencies-of-manually-specified-libr.patch"
      ]
     }
    ]
   },
   {
    "name": "kconfig",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_TESTING=OFF"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/frameworks/5.101/kconfig-5.101.0.tar.xz",
      "sha256": "ca747e485756e6d65e4eed85d1187c80b7facc958f379a68fbe862f068cb5383"
     },
     {
      "type": "patch",
      "paths": [
       "patches/frameworks/0001-Patch-kconfig-to-save-the-config-to-AppConfigLocatio.patch",
       "patches/frameworks/0002-Work-around-CMake-multi-config-generators.patch",
       "patches/frameworks/0001-Android-Fix-a-bug-where-new-file-wouldn-t-be-created.patch"
      ]
     }
    ]
   },
   {
    "name": "karchive",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_TESTING=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/frameworks/5.101/karchive-5.101.0.tar.xz",
      "sha256": "58bcb6c61bc4a3fe48a0cbeaf392d42b6b8d33e1bc4c51faf24db0912ecfa9b0"
     }
    ]
   },
   {
    "name": "kwidgetsaddons",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_TESTING=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/frameworks/5.101/kwidgetsaddons-5.101.0.tar.xz",
      "sha256": "78913d3303e94329db964bf072b9e565bd582fbbd026310dce6e994c8d083823"
     }
    ]
   },
   {
    "name": "kcompletion",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_TESTING=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/frameworks/5.101/kcompletion-5.101.0.tar.xz",
      "sha256": "d80f6fbe23285f9f914ed67ffd2a825d36850c086121666bbb62257126553f30"
     }
    ]
   },
   {
    "name": "kcoreaddons",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_TESTING=OFF"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/frameworks/5.101/kcoreaddons-5.101.0.tar.xz",
      "sha256": "77b64fc17f7ebbbd53bbb3614b4c3c73a0a9b21607e96e6abb2823ef1972b72a"
     }
    ]
   },
   {
    "name": "kguiaddons",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_TESTING=OFF",
     "-DWITH_WAYLAND=OFF"
    ],
    "cleanup": [
     "/share/applications/google-maps-geo-handler.desktop",
     "/share/applications/openstreetmap-geo-handler.desktop",
     "/share/applications/qwant-maps-geo-handler.desktop",
     "/share/applications/wheelmap-geo-handler.desktop"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/frameworks/5.101/kguiaddons-5.101.0.tar.xz",
      "sha256": "9894e4193b3cb7b4ed5e3a591cf12043fb87683b09db77e465aa4453c7c757b7"
     },
     {
      "type": "patch",
      "paths": [
       "patches/frameworks/0001-geo-scheme-handler-Don-t-make-it-into-a-bundle-i.patch"
      ]
     }
    ]
   },
   {
    "name": "ki18n",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_TESTING=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/frameworks/5.101/ki18n-5.101.0.tar.xz",
      "sha256": "bf1530be9279d476c0531988eeb1c032e208f6010c8f00880bb5d694229fef65"
     },
     {
      "type": "patch",
      "paths": [
       "patches/frameworks/0001-ki18n-fix-loading-catalogs-with-patched-gettext.patch",
       "patches/frameworks/0002-Ensure-langenv-string-is-null-terminated.patch",
       "patches/frameworks/0003-Patch-the-location-where-ki18n-looks-for-catalogs.patch"
      ]
     }
    ]
   },
   {
    "name": "kitemviews",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_TESTING=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/frameworks/5.101/kitemviews-5.101.0.tar.xz",
      "sha256": "aca259eeff2dde1434cdf3ff3d979e9b17dd55bad15dd7341f92700cf8418fb1"
     }
    ]
   },
   {
    "name": "kimageformats",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_TESTING=OFF",
     "-DKIMAGEFORMATS_JXL=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/frameworks/5.101/kimageformats-5.101.0.tar.xz",
      "sha256": "ae19b07141fdf977035e6decc50fa45855c0e635f57333a2443d3c24464c625f"
     },
     {
      "type": "patch",
      "paths": [
       "patches/frameworks/0001-comment-out-jxl-0.9.0-API-change.patch"
      ]
     }
    ]
   },
   {
    "name": "kwindowsystem",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_TESTING=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/frameworks/5.101/kwindowsystem-5.101.0.tar.xz",
      "sha256": "ef6b9e733e320be63a4557da0453b1a8ea81519e01c1737eff69b66401302eb8"
     }
    ]
   },
   {
    "name": "kcrash",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_TESTING=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/frameworks/5.101/kcrash-5.101.0.tar.xz",
      "sha256": "6dd10951db01918681a8ce6e9e3a99d3f8b5170d2c5a0b5212007e68db0c937a"
     }
    ]
   },
   {
    "name": "pyqt",
    "buildsystem": "simple",
    "build-commands": [
     "sip-install --confirm-license --no-designer-plugin --no-qml-plugin --no-dbus-python --no-tools --verbose --target-dir ${FLATPAK_DEST}/lib/python3.13/site-packages"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://files.pythonhosted.org/packages/0e/07/c9ed0bd428df6f87183fca565a79fee19fa7c88c7f00a7f011ab4379e77a/PyQt5-5.15.11.tar.gz",
      "sha256": "fda45743ebb4a27b4b1a51c6d8ef455c4c1b5d610c90d2934c7802b5c1557c52"
     }
    ],
    "modules": [
     {
      "name": "sip",
      "buildsystem": "simple",
      "build-commands": [
       "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"sip\" --no-build-isolation"
      ],
      "cleanup": [
       "/bin"
      ],
      "sources": [
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/04/85/317e2d2a3e926e928c85ea935bc5991ae09181ebdc724b4144546656fbce/sip-6.10.0-1-py3-none-any.whl",
        "sha256": "3bd6e5ab6e5bc8e5531bbf4ff299781bc2ee5c39da876072e0465efdad215896"
       }
      ],
      "modules": [
       {
        "name": "python",
        "config-opts": [
         "--enable-shared",
         "--without-static-libpython"
        ],
        "sources": [
         {
          "type": "archive",
          "url": "https://www.python.org/ftp/python/3.13.14/Python-3.13.14.tar.xz",
          "sha256": "639e43243c620a308f968213df9e00f2f8f62332f7adbaa7a7eeb9783057c690",
          "x-checker-data": {
           "type": "anitya",
           "project-id": 13254,
           "stable-only": true,
           "versions": {
            "<": "3.14"
           },
           "url-template": "https://www.python.org/ftp/python/$version/Python-$version.tar.xz"
          }
         }
        ]
       },
       {
        "name": "python-flit-core",
        "buildsystem": "simple",
        "build-commands": [
         "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"flit_core\" --no-build-isolation"
        ],
        "cleanup": [
         "/bin"
        ],
        "sources": [
         {
          "type": "file",
          "url": "https://files.pythonhosted.org/packages/69/59/b6fc2188dfc7ea4f936cd12b49d707f66a1cb7a1d2c16172963534db741b/flit_core-3.12.0.tar.gz",
          "sha256": "18f63100d6f94385c6ed57a72073443e1a71a4acb4339491615d0f16d6ff01b2",
          "x-checker-data": {
           "type": "pypi",
           "name": "flit_core"
          }
         }
        ]
       },
       {
        "name": "python-packaging",
        "buildsystem": "simple",
        "build-commands": [
         "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"packaging\" --no-build-isolation"
        ],
        "cleanup": [
         "/bin"
        ],
        "sources": [
         {
          "type": "file",
          "url": "https://files.pythonhosted.org/packages/d7/f1/e7a6dd94a8d4a5626c03e4e99c87f241ba9e350cd9e6d75123f992427270/packaging-26.2.tar.gz",
          "sha256": "ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661",
          "x-checker-data": {
           "type": "pypi",
           "name": "packaging"
          }
         }
        ]
       },
       {
        "name": "python-wheel",
        "buildsystem": "simple",
        "build-commands": [
         "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"wheel\" --no-build-isolation"
        ],
        "cleanup": [
         "/bin"
        ],
        "sources": [
         {
          "type": "file",
          "url": "https://files.pythonhosted.org/packages/39/62/75f18a0f03b4219c456652c7780e4d749b929eb605c098ce3a5b6b6bc081/wheel-0.47.0.tar.gz",
          "sha256": "cc72bd1009ba0cf63922e28f94d9d83b920aa2bb28f798a31d0691b02fa3c9b3",
          "x-checker-data": {
           "type": "pypi",
           "name": "wheel"
          }
         }
        ]
       },
       {
        "name": "python-setuptools",
        "buildsystem": "simple",
        "build-commands": [
         "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"setuptools\" --no-build-isolation"
        ],
        "cleanup": [
         "/bin"
        ],
        "sources": [
         {
          "type": "file",
          "url": "https://files.pythonhosted.org/packages/4f/db/cfac1baf10650ab4d1c111714410d2fbb77ac5a616db26775db562c8fab2/setuptools-82.0.1.tar.gz",
          "sha256": "7d872682c5d01cfde07da7bccc7b65469d3dca203318515ada1de5eda35efbf9",
          "x-checker-data": {
           "type": "pypi",
           "name": "setuptools"
          }
         }
        ]
       },
       {
        "name": "python-ply",
        "buildsystem": "simple",
        "build-commands": [
         "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"ply\" --no-build-isolation"
        ],
        "cleanup": [
         "/bin"
        ],
        "sources": [
         {
          "type": "file",
          "url": "https://files.pythonhosted.org/packages/e5/69/882ee5c9d017149285cab114ebeab373308ef0f874fcdac9beb90e0ac4da/ply-3.11.tar.gz",
          "sha256": "00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3",
          "x-checker-data": {
           "type": "pypi",
           "name": "ply"
          }
         }
        ]
       },
       {
        "name": "python-toml",
        "buildsystem": "simple",
        "build-commands": [
         "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"toml\" --no-build-isolation"
        ],
        "cleanup": [
         "/bin"
        ],
        "sources": [
         {
          "type": "file",
          "url": "https://files.pythonhosted.org/packages/be/ba/1f744cdc819428fc6b5084ec34d9b30660f6f9daaf70eead706e3203ec3c/toml-0.10.2.tar.gz",
          "sha256": "b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f",
          "x-checker-data": {
           "type": "pypi",
           "name": "toml"
          }
         }
        ]
       }
      ]
     },
     {
      "name": "pyqt-builder",
      "buildsystem": "simple",
      "build-commands": [
       "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"PyQt-builder\" --no-build-isolation"
      ],
      "cleanup": [
       "/bin"
      ],
      "sources": [
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/a7/c8/027cb80c99de9bb64aafcf3f5d67c128523e0af08edf18987ea8eb5c4be9/PyQt_builder-1.18.1-py3-none-any.whl",
        "sha256": "59ba2b1df2692986f3b3d3ba7395a6476c54cab0cc0ece18030ffba574657afc"
       }
      ]
     },
     {
      "name": "pyqt-sip",
      "buildsystem": "simple",
      "build-commands": [
       "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"PyQt5_sip\" --no-build-isolation"
      ],
      "sources": [
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/01/79/086b50414bafa71df494398ad277d72e58229a3d1c1b1c766d12b14c2e6d/pyqt5_sip-12.17.0.tar.gz",
        "sha256": "682dadcdbd2239af9fdc0c0628e2776b820e128bec88b49b8d692fe682f90b4f"
       }
      ]
     }
    ]
   },
   {
    "name": "fcitx5-qt",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_TESTING=OFF",
     "-DENABLE_QT4=OFF",
     "-DENABLE_QT5=ON",
     "-DENABLE_QT6=OFF",
     "-DBUILD_ONLY_PLUGIN=ON"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/fcitx/fcitx5-qt/archive/refs/tags/5.1.9.tar.gz",
      "sha256": "4e691182f20984d11f8ea391a57b2711e362c43fda21236327e386c07f9c8998"
     }
    ]
   },
   {
    "name": "boost",
    "buildsystem": "simple",
    "build-commands": [
     "./bootstrap.sh --prefix=/app --with-libraries=system",
     "./b2 variant=release link=shared runtime-link=shared cxxflags=\"$CXXFLAGS\" linkflags=\"$LDFLAGS\" -j $FLATPAK_BUILDER_N_JOBS install"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://archives.boost.io/release/1.88.0/source/boost_1_88_0.tar.gz",
      "sha256": "3621533e820dcab1e8012afd583c0c73cf0f77694952b81352bf38c1488f9cb4"
     }
    ]
   },
   {
    "name": "eigen",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_TESTING=OFF"
    ],
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.gz",
      "sha256": "8586084f71f9bde545ee7fa6d00288b264a2b7ac3607b974e54d13e7162c1c72"
     }
    ]
   },
   {
    "name": "exiv2",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DCMAKE_CXX_STANDARD=14",
     "-DEXIV2_BUILD_SAMPLES=OFF",
     "-DEXIV2_ENABLE_NLS=OFF",
     "-DEXIV2_BUILD_EXIV2_COMMAND=OFF"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/Exiv2/exiv2/archive/refs/tags/v0.28.7.tar.gz",
      "sha256": "5e292b02614dbc0cee40fe1116db2f42f63ef6b2ba430c77b614e17b8d61a638"
     }
    ],
    "modules": [
     {
      "name": "inih",
      "buildsystem": "meson",
      "sources": [
       {
        "type": "archive",
        "url": "https://github.com/benhoyt/inih/archive/refs/tags/r62.tar.gz",
        "sha256": "9c15fa751bb8093d042dae1b9f125eb45198c32c6704cd5481ccde460d4f8151"
       }
      ]
     }
    ]
   },
   "shared-modules/glu/glu-9.json",
   "shared-modules/glew/glew.json",
   {
    "name": "imath",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_TESTING=OFF",
     "-DPYTHON=OFF",
     "-DCMAKE_POSITION_INDEPENDENT_CODE=O"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/AcademySoftwareFoundation/Imath/archive/refs/tags/v3.1.9.tar.gz",
      "sha256": "f1d8aacd46afed958babfced3190d2d3c8209b66da451f556abd6da94c165cf3"
     }
    ]
   },
   {
    "name": "pystring",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/imageworks/pystring/archive/refs/tags/v1.1.4.tar.gz",
      "sha256": "49da0fe2a049340d3c45cce530df63a2278af936003642330287b68cefd788fb"
     },
     {
      "type": "file",
      "path": "patches/pystring/CMakeLists.txt"
     }
    ]
   },
   {
    "name": "yaml-cpp",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DCMAKE_POSITION_INDEPENDENT_CODE=ON",
     "-DBUILD_SHARED_LIBS=ON",
     "-DYAML_BUILD_SHARED_LIBS=ON",
     "-DYAML_CPP_BUILD_TOOLS=OFF",
     "-DYAML_CPP_BUILD_TESTS=OFF",
     "-DYAML_CPP_BUILD_CONTRIB=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/jbeder/yaml-cpp/archive/a83cd31548b19d50f3f983b069dceb4f4d50756d.tar.gz",
      "sha256": "f2fe272e4675e57b040f4ffb4ca83a413b00ebeb45af50f4b0fb92e0d22b45b5"
     }
    ]
   },
   {
    "name": "minizip-ng",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_SHARED_LIBS=ON"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/zlib-ng/minizip-ng/archive/refs/tags/4.0.10.tar.gz",
      "sha256": "c362e35ee973fa7be58cc5e38a4a6c23cc8f7e652555daf4f115a9eb2d3a6be7"
     }
    ]
   },
   {
    "name": "openexr",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DNAMESPACE_VERSIONING=OFF"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v3.1.11.tar.gz",
      "sha256": "06b4a20d0791b5ec0f804c855d320a0615ce8445124f293616a086e093f1f1e1"
     }
    ]
   },
   {
    "name": "opencolorio",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DOCIO_BUILD_NUKE=OFF",
     "-DOCIO_BUILD_DOCS=OFF",
     "-DOCIO_BUILD_TESTS=OFF",
     "-DOCIO_BUILD_GPU_TESTS=OFF",
     "-DOCIO_BUILD_PYTHON=OFF",
     "-DOCIO_INSTALL_EXT_PACKAGES=NONE",
     "-DOCIO_BUILD_APPS=OFF"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/AcademySoftwareFoundation/OpenColorIO/releases/download/v2.5.1/OpenColorIO-2.5.1.tar.gz",
      "sha256": "49ab04d023d7a7a7237e24f2cfead3171b0ff7f466ce20e6e32859ec8c7cc94b"
     }
    ]
   },
   {
    "name": "libraw",
    "config-opts": [
     "--disable-examples",
     "--disable-static"
    ],
    "cleanup": [
     "/bin",
     "/share/doc"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.libraw.org/data/LibRaw-0.21.1.tar.gz",
      "sha256": "630a6bcf5e65d1b1b40cdb8608bdb922316759bfb981c65091fec8682d1543cd"
     },
     {
      "type": "shell",
      "commands": [
       "autoreconf -vfi"
      ]
     }
    ]
   },
   {
    "name": "libkdcraw",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_TESTING=OFF",
     "-DBUILD_SHARED_LIBS=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/Attic/release-service/22.12.1/src/libkdcraw-22.12.1.tar.xz",
      "sha256": "8b0a71937f7ed4926c2c047e0bd36001e5e98f52b1cf633d8bfbe4e4eeac65eb"
     }
    ]
   },
   {
    "name": "gsl",
    "config-opts": [
     "--disable-static"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/ampl/gsl/archive/8eac3b0b5cffb90004a729f0675011e718f41379.zip",
      "sha256": "124bf79bfd2c3cb07df02a2b0e80e13d29a94cab8acae1c2c1e086474381a6c2"
     }
    ]
   },
   {
    "name": "quazip",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/stachenov/quazip/archive/refs/tags/v1.4.tar.gz",
      "sha256": "79633fd3a18e2d11a7d5c40c4c79c1786ba0c74b59ad752e8429746fe1781dd6"
     }
    ]
   },
   {
    "name": "kseexpr",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DENABLE_LLVM_BACKEND=OFF",
     "-DBUILD_DOC=OFF",
     "-DBUILD_TESTS=OFF",
     "-DBUILD_UTILS=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/kseexpr/4.0.4/kseexpr-4.0.4.0.tar.gz",
      "sha256": "ea4f6a8e820e6cc12d2a1e6977e96ea5457f37729fe0bc4ee8cc62d4c26c36ae"
     }
    ]
   },
   {
    "name": "libmypaint",
    "config-opts": [
     "--disable-gegl",
     "--disable-introspection"
    ],
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/share"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/mypaint/libmypaint/releases/download/v1.6.1/libmypaint-1.6.1.tar.xz",
      "sha256": "741754f293f6b7668f941506da07cd7725629a793108bb31633fb6c3eae5315f"
     }
    ],
    "modules": [
     {
      "name": "json-c",
      "buildsystem": "cmake-ninja",
      "config-opts": [
       "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
       "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://s3.amazonaws.com/json-c_releases/releases/json-c-0.18.tar.gz",
        "sha256": "876ab046479166b869afc6896d288183bbc0e5843f141200c677b3e8dfb11724"
       }
      ]
     },
     "shared-modules/intltool/intltool-0.51.json"
    ]
   },
   {
    "name": "xsimd",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/xtensor-stack/xsimd/archive/refs/tags/13.1.0.tar.gz",
      "sha256": "88c9dc6da677feadb40fe09f467659ba0a98e9987f7491d51919ee13d897efa4"
     }
    ]
   },
   {
    "name": "libunibreak",
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/adah1972/libunibreak/releases/download/libunibreak_5_1/libunibreak-5.1.tar.gz",
      "sha256": "dd1a92d4c5646aa0e457ff41d89812ec5243863be6c20bbcb5ee380f3dd78377"
     }
    ]
   },
   {
    "name": "zug",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-Dzug_BUILD_TESTS=OFF",
     "-Dzug_BUILD_EXAMPLES=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/arximboldi/zug/archive/refs/tags/v0.1.0.tar.gz",
      "sha256": "7d9d57a55399784392ba8fa67fcf246b9f5aec8f002c69e1fe4b5f66657214b8"
     }
    ]
   },
   {
    "name": "hiredis",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/redis/hiredis/archive/refs/tags/v1.3.0.tar.gz",
      "sha256": "25cee4500f359cf5cad3b51ed62059aadfc0939b05150c1f19c7e2829123631c"
     }
    ]
   },
   {
    "name": "catch2",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/catchorg/Catch2/archive/refs/tags/v3.4.0.tar.gz",
      "sha256": "122928b814b75717316c71af69bd2b43387643ba076a6ec16e7882bfb2dfacbb"
     }
    ]
   },
   {
    "name": "immer",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-Dzug_BUILD_TESTS=OFF",
     "-Dzug_BUILD_EXAMPLES=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/arximboldi/immer/archive/refs/tags/v0.8.1.tar.gz",
      "sha256": "de8411c84830864604bb685dc8f2e3c0dbdc40b95b2f6726092f7dcc85e75209"
     }
    ]
   },
   {
    "name": "lager",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-Dlager_BUILD_DEBUGGER_EXAMPLES=OFF",
     "-Dlager_BUILD_TESTS=OFF",
     "-Dlager_BUILD_EXAMPLES=OFF",
     "-Dlager_BUILD_DOCS=OFF"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/dimula73/lager.git",
      "commit": "0b6ab3e0e880bc36be5da4984d768fde03b7cf19"
     },
     {
      "type": "patch",
      "paths": [
       "patches/lager/0001-Correctly-use-global-namespace-to-resolve-lager-deta.patch",
       "patches/lager/0002-Fix-attempt-to-use-final-specifier-with-a-non-virtua.patch"
      ]
     }
    ]
   },
   {
    "name": "mlt",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DMOD_OPENCV=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/mltframework/mlt/releases/download/v7.28.0/mlt-7.28.0.tar.gz",
      "sha256": "bc425bf9602213f5f4855b78cfbbcd43eeb78097c508588bde44415963955aa1"
     },
     {
      "type": "patch",
      "paths": [
       "patches/mlt/0002-MLT-check-pointers-before-dereferencing.patch"
      ]
     }
    ]
   },
   {
    "name": "raqm",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/HOST-Oman/libraqm/releases/download/v0.10.1/raqm-0.10.1.tar.xz",
      "sha256": "4d76a358358d67c5945684f2f10b3b08fb80e924371bf3ebf8b15cd2e321d05d"
     },
     {
      "type": "patch",
      "paths": [
       "patches/raqm/0001-Add-arbitrary-run-break-function.patch",
       "patches/raqm/0002-Fix-Unicode-codepoint-conversion-from-UTF-16.patch"
      ]
     }
    ]
   },
   {
    "name": "libvpl",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/intel/libvpl.git",
      "tag": "v2.14.0",
      "commit": "025d43d086a3e663184cb49febe86152bf05409f"
     }
    ]
   },
   {
    "name": "poppler",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_GTK_TESTS=OFF",
     "-DBUILD_QT5_TESTS=FALSE",
     "-DBUILD_CPP_TESTS=FALSE",
     "-DENABLE_UTILS=FALSE",
     "-DENABLE_GLIB=FALSE",
     "-DENABLE_LIBOPENJPEG=none",
     "-DENABLE_QT6=OFF",
     "-DWITH_NSS3=OFF",
     "-DBUILD_MANUAL_TESTS=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://poppler.freedesktop.org/poppler-25.10.0.tar.xz",
      "sha256": "6b5e9bb64dabb15787a14db1675291c7afaf9387438cc93a4fb7f6aec4ee6fe0"
     }
    ]
   },
   {
    "name": "fftw",
    "config-opts": [
     "--enable-shared",
     "--enable-threads"
    ],
    "build-options": {
     "arch": {
      "x86_64": {
       "config-opts": [
        "--enable-sse2",
        "--enable-avx",
        "--enable-avx-128-fma"
       ]
      },
      "aarch64": {
       "config-opts": [
        "--enable-neon"
       ]
      }
     }
    },
    "cleanup": [
     "/bin",
     "/include",
     "/lib/cmake",
     "/lib/pkgconfig",
     "/share/man",
     "/share/info",
     "*.la",
     "*.so"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "http://www.fftw.org/fftw-3.3.10.tar.gz",
      "sha256": "56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467"
     },
     {
      "type": "patch",
      "paths": [
       "patches/fftw/fix-autotools-build.patch"
      ]
     }
    ]
   },
   {
    "name": "krita",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "build-options": {
     "env": {
      "PYTHONPATH": "/app/lib/python3.13/site-packages"
     }
    },
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_TESTING=FALSE"
    ],
    "post-install": [
     "sed -i '/<p>Krita is the full-featured digital art studio.<\\/p>/i \\    <p>This flatpak is community maintained. Please report Flatpak specific bugs that do not occur on the upstream AppImage at https://github.com/flathub/org.kde.krita/issues.</p>' ${FLATPAK_DEST}/share/metainfo/org.kde.krita.appdata.xml",
     "cd ${FLATPAK_DEST}/share/applications\nrename krita_ org.kde.krita. krita*.desktop\nfor f in org.kde.krita.*; do\n  desktop-file-edit --set-icon=${FLATPAK_ID} $f\ndone\n",
     "hicolordir=${FLATPAK_DEST}/share/icons/hicolor\nfor s in 16 22 32 48 64 128 256 512; do\n  mimetypesdir=${hicolordir}/${s}x${s}/mimetypes\n  mv ${mimetypesdir}/application-x-krita.png ${mimetypesdir}/org.kde.krita.application-x-krita.png\ndone\n"
    ],
    "cleanup": [
     "/share/icons/hicolor/1024x1024"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/krita/6.0.3/krita-6.0.3.tar.gz",
      "sha256": "06397997a3b6700d5167068dc0f50cc356d82018611ed37087a1566790b721a8",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 10918,
       "stable-only": true,
       "url-template": "https://download.kde.org/stable/krita/$version/krita-$version.tar.gz"
      }
     },
     {
      "type": "patch",
      "paths": [
       "patches/krita/krita_dont_use_native_file_chooser.patch",
       "patches/krita/krita_appdata.patch"
      ]
     }
    ]
   },
   {
    "name": "gmic",
    "buildsystem": "cmake-ninja",
    "subdir": "gmic-qt",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DGMIC_QT_HOST=krita-plugin",
     "-DENABLE_SYSTEM_GMIC=FALSE"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/vanyossi/gmic/releases/download/v3.7.4.1/gmic-3.7.4.1.tar.gz",
      "sha256": "15674b544264fbc3f020be6fae27477aee6ac49316416f538e578a18ddb23879"
     }
    ]
   }
  ]
 }
}