{
    "id": "org.libreoffice.LibreOffice",
    "runtime": "org.freedesktop.Platform",
    "runtime-version": "24.08",
    "sdk": "org.freedesktop.Sdk",
    "sdk-extensions": [
        "org.freedesktop.Sdk.Extension.openjdk21"
    ],
    "command": "libreoffice",
    "modules": [
        {
            "name": "openjdk",
            "buildsystem": "simple",
            "build-commands": [
                "/usr/lib/sdk/openjdk21/install.sh"
            ]
        },
        {
            "name": "gvfs",
            "buildsystem": "meson",
            "config-opts": [
                "-Dsystemduserunitdir=no",
                "-Dtmpfilesdir=no",
                "-Dinstalled_tests=true",
                "-Dadmin=false",
                "-Dafc=false",
                "-Dafp=false",
                "-Darchive=false",
                "-Dcdda=false",
                "-Ddnssd=false",
                "-Dgoa=false",
                "-Dgoogle=false",
                "-Dgphoto2=false",
                "-Dhttp=false",
                "-Dmtp=false",
                "-Dnfs=false",
                "-Donedrive=false",
                "-Dsftp=false",
                "-Dsmb=false",
                "-Dudisks2=false",
                "-Dbluray=false",
                "-Dfuse=false",
                "-Dgcr=false",
                "-Dgcrypt=false",
                "-Dgudev=false",
                "-Dkeyring=false",
                "-Dlogind=false",
                "-Dlibusb=false",
                "-Dwsdd=false"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/gvfs/1.56/gvfs-1.56.1.tar.xz",
                    "sha256": "86731ccec679648f8734e237b1de190ebdee6e4c8c0f56f454c31588e509aa10",
                    "x-checker-data": {
                        "type": "gnome",
                        "name": "gvfs",
                        "stable-only": true
                    }
                }
            ]
        },
        {
            "name": "krb5",
            "subdir": "src",
            "config-opts": [
                "--disable-static",
                "--disable-rpath",
                "--sbindir=/app/bin"
            ],
            "cleanup": [
                "/include",
                "/lib/pkgconfig",
                "/var"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://kerberos.org/dist/krb5/1.21/krb5-1.21.3.tar.gz",
                    "sha256": "b7a4cd5ead67fb08b980b21abd150ff7217e85ea320c9ed0c6dadd304840ad35",
                    "x-checker-data": {
                        "type": "html",
                        "url": "https://kerberos.org/dist/",
                        "version-pattern": "Kerberos V5 Release ([\\d\\.]+) - current release",
                        "url-template": "https://kerberos.org/dist/krb5/$major.$minor/krb5-$version.tar.gz"
                    }
                }
            ]
        },
        {
            "name": "libreoffice",
            "sources": [
                {
                    "type": "git",
                    "url": "https://gerrit.libreoffice.org/core",
                    "branch": "@BRANCH@",
                    "disable-fsckobjects": true
                },
                {
                    "type": "archive",
                    "url": "https://archive.apache.org/dist/ant/binaries/apache-ant-1.10.14-bin.tar.bz2",
                    "sha512": "05e9f786044b9ba0dcc5e2b40ed2bd4ecfb25896a453ba78e2d4df18896c6be7d1564fd615f483c90c0d26dd1e0fb507c778f0c10712818b1fc8c9acbc0a26c6",
                    "dest": "ant"
                },
                {
                    "commands": [
                        "mkdir external/tarballs"
                    ],
                    "type": "shell"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@PDFIUM_TARBALL@",
                    "sha256": "@PDFIUM_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@PDFIUM_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@XMLSEC_TARBALL@",
                    "sha256": "@XMLSEC_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@XMLSEC_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_CALADEA_TARBALL@",
                    "sha256": "@FONT_CALADEA_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_CALADEA_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_CARLITO_TARBALL@",
                    "sha256": "@FONT_CARLITO_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_CARLITO_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/33e1e61fab06a547851ed308b4ffef42-dejavu-fonts-ttf-2.37.zip",
                    "sha256": "7576310b219e04159d35ff61dd4a4ec4cdba4f35c00e002a136f00e96a908b0a",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "33e1e61fab06a547851ed308b4ffef42-dejavu-fonts-ttf-2.37.zip"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_GENTIUM_TARBALL@",
                    "sha256": "@FONT_GENTIUM_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_GENTIUM_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_LIBERATION_NARROW_TARBALL@",
                    "sha256": "@FONT_LIBERATION_NARROW_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_LIBERATION_NARROW_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_LIBERATION_TARBALL@",
                    "sha256": "@FONT_LIBERATION_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_LIBERATION_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_LINLIBERTINEG_TARBALL@",
                    "sha256": "@FONT_LINLIBERTINEG_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_LINLIBERTINEG_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@BOOST_TARBALL@",
                    "sha256": "@BOOST_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@BOOST_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@CLUCENE_TARBALL@",
                    "sha256": "@CLUCENE_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@CLUCENE_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@COINMP_TARBALL@",
                    "sha256": "@COINMP_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@COINMP_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@CPPUNIT_TARBALL@",
                    "sha256": "@CPPUNIT_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@CPPUNIT_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FIREBIRD_TARBALL@",
                    "sha256": "@FIREBIRD_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FIREBIRD_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@GLM_TARBALL@",
                    "sha256": "@GLM_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@GLM_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@GPGME_TARBALL@",
                    "sha256": "@GPGME_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@GPGME_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@LIBASSUAN_TARBALL@",
                    "sha256": "@LIBASSUAN_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@LIBASSUAN_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@LIBGPGERROR_TARBALL@",
                    "sha256": "@LIBGPGERROR_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@LIBGPGERROR_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@ABW_TARBALL@",
                    "sha256": "@ABW_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@ABW_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@CDR_TARBALL@",
                    "sha256": "@CDR_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@CDR_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@LIBCMIS_TARBALL@",
                    "sha256": "@LIBCMIS_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@LIBCMIS_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@EBOOK_TARBALL@",
                    "sha256": "@EBOOK_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@EBOOK_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@ETONYEK_TARBALL@",
                    "sha256": "@ETONYEK_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@ETONYEK_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@LIBEXTTEXTCAT_TARBALL@",
                    "sha256": "@LIBEXTTEXTCAT_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@LIBEXTTEXTCAT_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FREEHAND_TARBALL@",
                    "sha256": "@FREEHAND_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FREEHAND_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@LANGTAGREG_TARBALL@",
                    "sha256": "@LANGTAGREG_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@LANGTAGREG_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@LIBLANGTAG_TARBALL@",
                    "sha256": "@LIBLANGTAG_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@LIBLANGTAG_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@MSPUB_TARBALL@",
                    "sha256": "@MSPUB_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@MSPUB_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@MWAW_TARBALL@",
                    "sha256": "@MWAW_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@MWAW_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@ODFGEN_TARBALL@",
                    "sha256": "@ODFGEN_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@ODFGEN_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@PAGEMAKER_TARBALL@",
                    "sha256": "@PAGEMAKER_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@PAGEMAKER_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@REVENGE_TARBALL@",
                    "sha256": "@REVENGE_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@REVENGE_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@STAROFFICE_TARBALL@",
                    "sha256": "@STAROFFICE_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@STAROFFICE_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@LIBTOMMATH_TARBALL@",
                    "sha256": "@LIBTOMMATH_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@LIBTOMMATH_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@VISIO_TARBALL@",
                    "sha256": "@VISIO_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@VISIO_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@WPD_TARBALL@",
                    "sha256": "@WPD_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@WPD_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@WPG_TARBALL@",
                    "sha256": "@WPG_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@WPG_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@WPS_TARBALL@",
                    "sha256": "@WPS_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@WPS_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@ZMF_TARBALL@",
                    "sha256": "@ZMF_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@ZMF_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@LPSOLVE_TARBALL@",
                    "sha256": "@LPSOLVE_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@LPSOLVE_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@MARIADB_CONNECTOR_C_TARBALL@",
                    "sha256": "@MARIADB_CONNECTOR_C_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@MARIADB_CONNECTOR_C_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@MDDS_TARBALL@",
                    "sha256": "@MDDS_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@MDDS_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_KUFI_ARABIC_TARBALL@",
                    "sha256": "@FONT_NOTO_KUFI_ARABIC_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_NOTO_KUFI_ARABIC_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SANS_TARBALL@",
                    "sha256": "@FONT_NOTO_SANS_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_NOTO_SANS_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SERIF_TARBALL@",
                    "sha256": "@FONT_NOTO_SERIF_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_NOTO_SERIF_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SANS_ARABIC_TARBALL@",
                    "sha256": "@FONT_NOTO_SANS_ARABIC_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_NOTO_SANS_ARABIC_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_NASKH_ARABIC_TARBALL@",
                    "sha256": "@FONT_NOTO_NASKH_ARABIC_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_NOTO_NASKH_ARABIC_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SANS_HEBREW_TARBALL@",
                    "sha256": "@FONT_NOTO_SANS_HEBREW_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_NOTO_SANS_HEBREW_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SERIF_HEBREW_TARBALL@",
                    "sha256": "@FONT_NOTO_SERIF_HEBREW_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_NOTO_SERIF_HEBREW_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SANS_ARMENIAN_TARBALL@",
                    "sha256": "@FONT_NOTO_SANS_ARMENIAN_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_NOTO_SANS_ARMENIAN_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SERIF_ARMENIAN_TARBALL@",
                    "sha256": "@FONT_NOTO_SERIF_ARMENIAN_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_NOTO_SERIF_ARMENIAN_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SANS_GEORGIAN_TARBALL@",
                    "sha256": "@FONT_NOTO_SANS_GEORGIAN_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_NOTO_SANS_GEORGIAN_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SERIF_GEORGIAN_TARBALL@",
                    "sha256": "@FONT_NOTO_SERIF_GEORGIAN_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_NOTO_SERIF_GEORGIAN_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SANS_LAO_TARBALL@",
                    "sha256": "@FONT_NOTO_SANS_LAO_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_NOTO_SANS_LAO_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SERIF_LAO_TARBALL@",
                    "sha256": "@FONT_NOTO_SERIF_LAO_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_NOTO_SERIF_LAO_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SANS_LISU_TARBALL@",
                    "sha256": "@FONT_NOTO_SANS_LISU_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_NOTO_SANS_LISU_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@OPENLDAP_TARBALL@",
                    "sha256": "@OPENLDAP_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@OPENLDAP_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@ORCUS_TARBALL@",
                    "sha256": "@ORCUS_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@ORCUS_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@POPPLER_TARBALL@",
                    "sha256": "@POPPLER_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@POPPLER_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@POPPLER_DATA_TARBALL@",
                    "sha256": "@POPPLER_DATA_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@POPPLER_DATA_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@POSTGRESQL_TARBALL@",
                    "sha256": "@POSTGRESQL_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@POSTGRESQL_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@RAPTOR_TARBALL@",
                    "sha256": "@RAPTOR_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@RAPTOR_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/1f5def51ca0026cd192958ef07228b52-rasqal-0.9.33.tar.gz",
                    "sha256": "6924c9ac6570bd241a9669f83b467c728a322470bf34f4b2da4f69492ccfd97c",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "1f5def51ca0026cd192958ef07228b52-rasqal-0.9.33.tar.gz"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@REDLAND_TARBALL@",
                    "sha256": "@REDLAND_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@REDLAND_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_REEM_TARBALL@",
                    "sha256": "@FONT_REEM_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_REEM_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@EPUBGEN_TARBALL@",
                    "sha256": "@EPUBGEN_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@EPUBGEN_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@QXP_TARBALL@",
                    "sha256": "@QXP_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@QXP_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_ALEF_TARBALL@",
                    "sha256": "@FONT_ALEF_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_ALEF_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_AMIRI_TARBALL@",
                    "sha256": "@FONT_AMIRI_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_AMIRI_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_CULMUS_TARBALL@",
                    "sha256": "@FONT_CULMUS_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_CULMUS_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_LIBRE_HEBREW_TARBALL@",
                    "sha256": "@FONT_LIBRE_HEBREW_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_LIBRE_HEBREW_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_SCHEHERAZADE_TARBALL@",
                    "sha256": "@FONT_SCHEHERAZADE_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_SCHEHERAZADE_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_AGDASIMA_TARBALL@",
                    "sha256": "@FONT_AGDASIMA_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_AGDASIMA_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_BACASIME_ANTIQUE_TARBALL@",
                    "sha256": "@FONT_BACASIME_ANTIQUE_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_BACASIME_ANTIQUE_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_BELANOSIMA_TARBALL@",
                    "sha256": "@FONT_BELANOSIMA_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_BELANOSIMA_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_CAPRASIMO_TARBALL@",
                    "sha256": "@FONT_CAPRASIMO_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_CAPRASIMO_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_LUGRASIMO_TARBALL@",
                    "sha256": "@FONT_LUGRASIMO_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_LUGRASIMO_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_LUMANOSIMO_TARBALL@",
                    "sha256": "@FONT_LUMANOSIMO_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_LUMANOSIMO_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FONT_LUNASIMA_TARBALL@",
                    "sha256": "@FONT_LUNASIMA_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FONT_LUNASIMA_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@BSH_TARBALL@",
                    "sha256": "@BSH_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@BSH_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@JFREEREPORT_FLOW_ENGINE_TARBALL@",
                    "sha256": "@JFREEREPORT_FLOW_ENGINE_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@JFREEREPORT_FLOW_ENGINE_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@JFREEREPORT_FLUTE_TARBALL@",
                    "sha256": "@JFREEREPORT_FLUTE_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@JFREEREPORT_FLUTE_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@HSQLDB_TARBALL@",
                    "sha256": "@HSQLDB_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@HSQLDB_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@JFREEREPORT_LIBBASE_TARBALL@",
                    "sha256": "@JFREEREPORT_LIBBASE_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@JFREEREPORT_LIBBASE_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@JFREEREPORT_LIBFONTS_TARBALL@",
                    "sha256": "@JFREEREPORT_LIBFONTS_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@JFREEREPORT_LIBFONTS_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@JFREEREPORT_LIBFORMULA_TARBALL@",
                    "sha256": "@JFREEREPORT_LIBFORMULA_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@JFREEREPORT_LIBFORMULA_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@JFREEREPORT_LIBLAYOUT_TARBALL@",
                    "sha256": "@JFREEREPORT_LIBLAYOUT_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@JFREEREPORT_LIBLAYOUT_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@JFREEREPORT_LIBLOADER_TARBALL@",
                    "sha256": "@JFREEREPORT_LIBLOADER_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@JFREEREPORT_LIBLOADER_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@JFREEREPORT_LIBREPOSITORY_TARBALL@",
                    "sha256": "@JFREEREPORT_LIBREPOSITORY_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@JFREEREPORT_LIBREPOSITORY_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@JFREEREPORT_LIBSERIALIZER_TARBALL@",
                    "sha256": "@JFREEREPORT_LIBSERIALIZER_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@JFREEREPORT_LIBSERIALIZER_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@JFREEREPORT_LIBXML_TARBALL@",
                    "sha256": "@JFREEREPORT_LIBXML_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@JFREEREPORT_LIBXML_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@RHINO_TARBALL@",
                    "sha256": "@RHINO_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@RHINO_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@JFREEREPORT_SAC_TARBALL@",
                    "sha256": "@JFREEREPORT_SAC_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@JFREEREPORT_SAC_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@LIBNUMBERTEXT_TARBALL@",
                    "sha256": "@LIBNUMBERTEXT_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@LIBNUMBERTEXT_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@LIBATOMIC_OPS_TARBALL@",
                    "sha256": "@LIBATOMIC_OPS_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@LIBATOMIC_OPS_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@SKIA_TARBALL@",
                    "sha256": "@SKIA_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@SKIA_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@DRAGONBOX_TARBALL@",
                    "sha256": "@DRAGONBOX_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@DRAGONBOX_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@DTOA_TARBALL@",
                    "sha256": "@DTOA_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@DTOA_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@BOX2D_TARBALL@",
                    "sha256": "@BOX2D_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@BOX2D_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@ZXING_TARBALL@",
                    "sha256": "@ZXING_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@ZXING_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@FROZEN_TARBALL@",
                    "sha256": "@FROZEN_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@FROZEN_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@JAVA_WEBSOCKET_TARBALL@",
                    "sha256": "@JAVA_WEBSOCKET_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@JAVA_WEBSOCKET_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@ZXCVBN_C_TARBALL@",
                    "sha256": "@ZXCVBN_C_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@ZXCVBN_C_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@ARGON2_TARBALL@",
                    "sha256": "@ARGON2_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@ARGON2_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/src/@LIBPNG_TARBALL@",
                    "sha256": "@LIBPNG_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@LIBPNG_TARBALL@"
                },
                {
                    "url": "https://dev-www.libreoffice.org/extern/@OPENSYMBOL_TTF@",
                    "sha256": "@OPENSYMBOL_SHA256SUM@",
                    "type": "file",
                    "dest": "external/tarballs",
                    "dest-filename": "@OPENSYMBOL_TTF@"
                }
            ],
            "buildsystem": "simple",
            "build-commands": [
                "./autogen.sh --prefix=/run/build/libreoffice/inst --with-distro=LibreOfficeFlatpak",
                "make check",
                "make distro-pack-install",
                "make cmd cmd='$(SRCDIR)/solenv/bin/assemble-flatpak.sh'",
                "printf '<?xml version=\"1.0\"?>\\n<oor:data xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:oor=\"http://openoffice.org/2001/registry\"><dependency file=\"main\"/><oor:component-data oor:name=\"Common\" oor:package=\"org.openoffice.Office\"><node oor:name=\"Misc\"><prop oor:name=\"UseOpenCL\"><value>false</value></prop></node></oor:component-data></oor:data>' >/app/libreoffice/share/registry/flatpak.xcd"
            ]
        }
    ],
    "add-extensions": {
        "org.libreoffice.LibreOffice.BundledExtension": {
            "directory": "libreoffice/share/extensions",
            "subdirectories": true,
            "no-autodownload": true,
            "autodelete": true
        },
        "org.libreoffice.LibreOffice.Help": {
            "directory": "libreoffice/help",
            "bundle": true,
            "autodelete": true,
            "no-autodownload": true
        }
    },
    "finish-args": [
        "--share=network",
        "--share=ipc",
        "--socket=fallback-x11",
        "--socket=wayland",
        "--socket=pulseaudio",
        "--device=dri",
        "--filesystem=xdg-config/gtk-3.0",
        "--filesystem=xdg-config/fontconfig:ro",
        "--filesystem=xdg-run/gvfsd",
        "--filesystem=host",
        "--env=GIO_EXTRA_MODULES=/app/lib/gio/modules",
        "--env=JAVA_HOME=/app/jre",
        "--env=LIBO_FLATPAK=1",
        "--own-name=org.libreoffice.LibreOfficeIpc0",
        "--talk-name=org.gtk.vfs.*",
        "--talk-name=com.canonical.AppMenu.Registrar"
    ]
}