{
 "app_id": "org.kde.calligra",
 "source_url": "https://raw.githubusercontent.com/flathub/org.kde.calligra/master/org.kde.calligra.json",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.10",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 13,
 "fetched_at": "2026-09-17T16:15:26.023662+00:00",
 "manifest": {
  "id": "org.kde.calligra",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "sdk": "org.kde.Sdk",
  "command": "calligralauncher",
  "finish-args": [
   "--device=dri",
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/mkspecs",
   "/share/doc",
   "/share/eigen3",
   "/share/kdevappwizard",
   "/share/man",
   "/share/pkgconfig",
   "*.a",
   "*.la"
  ],
  "modules": [
   {
    "name": "boost",
    "buildsystem": "simple",
    "build-commands": [
     "./bootstrap.sh --prefix=/app --with-libraries=system",
     "./b2 -j $FLATPAK_BUILDER_N_JOBS install"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://archives.boost.io/release/1.90.0/source/boost_1_90_0.tar.bz2",
      "sha256": "49551aff3b22cbc5c5a9ed3dbc92f0e23ea50a0f7325b0d198b705e8ee3fc305",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 6845,
       "stable-only": true,
       "url-template": "https://archives.boost.io/release/$version/source/boost_${major}_${minor}_$patch.tar.bz2"
      }
     }
    ]
   },
   {
    "name": "eigen",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_TESTING=OFF",
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "builddir": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://gitlab.com/libeigen/eigen/-/archive/3.4.1/eigen-3.4.1.tar.bz2",
      "sha256": "8bb7280b7551bf06418d11a9671fdf998cb927830cf21589b394382d26779821",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 666,
       "stable-only": true,
       "url-template": "https://gitlab.com/libeigen/eigen/-/archive/$version/eigen-$version.tar.bz2",
       "versions": {
        "<": "4.0.0"
       }
      }
     }
    ]
   },
   {
    "name": "qtkeychain",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_TESTING=OFF",
     "-DBUILD_TRANSLATIONS=NO",
     "-DBUILD_WITH_QT6=ON",
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DLIB_INSTALL_DIR=/app/lib"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/frankosterfeld/qtkeychain/archive/refs/tags/0.15.0.tar.gz",
      "sha256": "f4254dc8f0933b06d90672d683eab08ef770acd8336e44dfa030ce041dc2ca22",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 4138,
       "stable-only": true,
       "url-template": "https://github.com/frankosterfeld/qtkeychain/archive/refs/tags/$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "kdiagram",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_TESTING=OFF",
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/kdiagram/3.0.1/kdiagram-3.0.1.tar.xz",
      "sha256": "4659b0c2cd9db18143f5abd9c806091c3aab6abc1a956bbf82815ab3d3189c6d",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 17734,
       "stable-only": true,
       "url-template": "https://download.kde.org/stable/kdiagram/$version/kdiagram-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "qca",
    "config-opts": [
     "-DBUILD_TESTING=OFF",
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_WITH_QT6=ON"
    ],
    "buildsystem": "cmake-ninja",
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/qca/2.3.10/qca-2.3.10.tar.xz",
      "sha256": "1c5b722da93d559365719226bb121c726ec3c0dc4c67dea34f1e50e4e0d14a02",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 13606,
       "stable-only": true,
       "url-template": "https://download.kde.org/stable/qca/$version/qca-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "cppunit",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-static"
    ],
    "builddir": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://dev-www.libreoffice.org/src/cppunit-1.15.1.tar.gz",
      "sha256": "89c5c6665337f56fd2db36bc3805a5619709d51fb136e51937072f63fcc717a7",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 9543,
       "stable-only": true,
       "url-template": "https://dev-www.libreoffice.org/src/cppunit-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "librevenge",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-tests",
     "--disable-werror",
     "--without-docs"
    ],
    "builddir": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/libwpd/files/librevenge/librevenge-0.0.5/librevenge-0.0.5.tar.xz",
      "sha256": "106d0c44bb6408b1348b9e0465666fa83b816177665a22cd017e886c1aaeeb34",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 16780,
       "stable-only": true,
       "url-template": "https://sourceforge.net/projects/libwpd/files/librevenge/librevenge-$version/librevenge-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "libodfgen",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-tests",
     "--without-docs"
    ],
    "builddir": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/libwpd/files/libodfgen/libodfgen-0.1.8/libodfgen-0.1.8.tar.xz",
      "sha256": "55200027fd46623b9bdddd38d275e7452d1b0ff8aeddcad6f9ae6dc25f610625",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 15131,
       "stable-only": true,
       "url-template": "https://sourceforge.net/projects/libwpd/files/libodfgen/libodfgen-$version/libodfgen-$version.tar.xz"
      }
     },
     {
      "type": "patch",
      "path": "includes.patch"
     }
    ]
   },
   {
    "name": "libvisio",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-tests",
     "--without-docs"
    ],
    "builddir": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://dev-www.libreoffice.org/src/libvisio/libvisio-0.1.11.tar.xz",
      "sha256": "2a6efd40b6d9dbcb70fba3be53112366882ba97b57151df3698dfa478c8d8dd3",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1757,
       "stable-only": true,
       "url-template": "https://dev-www.libreoffice.org/src/libvisio/libvisio-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "libwpd",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-tests",
     "--without-docs"
    ],
    "builddir": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/libwpd/files/libwpd/libwpd-0.10.3/libwpd-0.10.3.tar.xz",
      "sha256": "2465b0b662fdc5d4e3bebcdc9a79027713fb629ca2bff04a3c9251fdec42dd09",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1693,
       "stable-only": true,
       "url-template": "https://sourceforge.net/projects/libwpd/files/libwpd/libwpd-$version/libwpd-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "libwpg",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-tests",
     "--without-docs"
    ],
    "builddir": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/libwpg/libwpg-0.3.4.tar.xz",
      "sha256": "b55fda9440d1e070630eb2487d8b8697cf412c214a27caee9df69cec7c004de3",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1762,
       "stable-only": true,
       "url-template": "https://downloads.sourceforge.net/libwpg/libwpg-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "libwps",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-tests",
     "--without-docs"
    ],
    "builddir": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/project/libwps/libwps/libwps-0.4.14/libwps-0.4.14.tar.xz",
      "sha256": "365b968e270e85a8469c6b160aa6af5619a4e6c995dbb04c1ecc1b4dd13e80de",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1763,
       "stable-only": true,
       "url-template": "https://downloads.sourceforge.net/project/libwps/libwps/libwps-$version/libwps-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "calligra",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DBUILD_TESTING=OFF",
     "-DCALLIGRA_FLATPAK=ON",
     "-DRELEASE_BUILD=true",
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/release-service/26.04.3/src/calligra-26.04.3.tar.xz",
      "sha256": "4c7fff9af90d7a5a2d3c5683b1fdc936c627459cd2f2cdb4fc3837822c52b345",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 8763,
       "stable-only": true,
       "is-main-source": true,
       "url-template": "https://download.kde.org/stable/release-service/$version/src/calligra-$version.tar.xz"
      }
     }
    ]
   }
  ]
 }
}