{
 "app_id": "org.kde.kile",
 "source_url": "https://raw.githubusercontent.com/flathub/org.kde.kile/master/org.kde.kile.json",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.10",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--socket=cups",
  "--device=dri",
  "--filesystem=home",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=org.freedesktop.Flatpak"
 ],
 "module_count": 26,
 "fetched_at": "2026-09-17T16:15:35.500116+00:00",
 "manifest": {
  "id": "org.kde.kile",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "sdk": "org.kde.Sdk",
  "command": "kile.sh",
  "rename-icon": "kile",
  "finish-args": [
   "--device=dri",
   "--filesystem=home",
   "--share=ipc",
   "--socket=cups",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--talk-name=org.freedesktop.Flatpak"
  ],
  "separate-locales": false,
  "add-extensions": {
   "org.freedesktop.Sdk.Extension.texlive": {
    "directory": "texlive",
    "version": "24.08"
   }
  },
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/share/doc",
   "/share/man",
   "/share/pkgconfig",
   "/share/qlogging-categories6",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "gnustep-make",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/gnustep/tools-make/archive/make-2_9_3.tar.gz",
      "sha256": "aad12caecb0398b099f3b8b0282cecc3f01a9f371200641b2e1e535ae6ee2543",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1220,
       "stable-only": true,
       "url-template": "https://github.com/gnustep/tools-make/archive/make-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "gnustep",
    "buildsystem": "simple",
    "build-commands": [
     "./configure --prefix=/app",
     "make -j $FLATPAK_BUILDER_N_JOBS install",
     "ls /app/include"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/gnustep/libs-base/archive/refs/tags/base-1_31_1.tar.gz",
      "sha256": "612e4415efc486c9e7017b00b28b0e122dc739d29b8e5d57ce79bf1a86a9862b",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 9105,
       "stable-only": true,
       "url-template": "https://github.com/gnustep/libs-base/archive/refs/tags/base-$version.tar.gz"
      }
     },
     {
      "type": "patch",
      "path": "gnustep-base-fix_GCC15.patch"
     }
    ]
   },
   {
    "name": "unarchiver",
    "buildsystem": "simple",
    "build-options": {
     "cflags": "-Wno-int-conversion"
    },
    "build-commands": [
     "sed -s -i 's#/usr/include/GNUstep#/app/include#g' */Makefile.linux",
     "make -C XADMaster -j $FLATPAK_BUILDER_N_JOBS -f Makefile.linux",
     "install -m755 XADMaster/unar XADMaster/lsar /app/bin/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/MacPaw/XADMaster/archive/refs/tags/v1.10.8.tar.gz",
      "sha256": "652953d7988b3c33f4f52b61c357afd1a7c2fc170e5e6e2219f4432b0c4cd39f",
      "strip-components": 1,
      "dest": "XADMaster",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5041,
       "stable-only": true,
       "url-template": "https://github.com/MacPaw/XADMaster/archive/refs/tags/v$version.tar.gz"
      }
     },
     {
      "type": "archive",
      "url": "https://github.com/MacPaw/universal-detector/archive/refs/tags/1.1.tar.gz",
      "sha256": "8e8532111d0163628eb828a60d67b53133afad3f710b1967e69d3b8eee28a811",
      "strip-components": 1,
      "dest": "UniversalDetector"
     }
    ]
   },
   {
    "name": "discount",
    "buildsystem": "simple",
    "build-commands": [
     "CFLAGS=-Wno-incompatible-pointer-types ./configure.sh --prefix=/app --enable-all-features --with-fenced-code --shared",
     "sed -e 's|/sbin/ldconfig|/sbin/ldconfig -n|' -i librarian.sh",
     "make install"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/Orc/discount/archive/v3.0.1.2.tar.gz",
      "sha256": "4ea6cc8782c6508b3051c469ed7a1b6ca20b023c2a0c26ccd9c83bc7e61dfc16",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 14521,
       "stable-only": true,
       "url-template": "https://github.com/Orc/discount/archive/v$version.tar.gz"
      }
     }
    ]
   },
   {
    "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": "libzip",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://libzip.org/download/libzip-1.11.4.tar.xz",
      "sha256": "8a247f57d1e3e6f6d11413b12a6f28a9d388de110adc0ec608d893180ed7097b",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 10649,
       "stable-only": true,
       "url-template": "https://libzip.org/download/libzip-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "chmlib",
    "rm-configure": true,
    "build-options": {
     "env": {
      "CFLAGS": "-Wno-implicit-function-declaration"
     }
    },
    "sources": [
     {
      "type": "script",
      "dest-filename": "autogen.sh",
      "commands": [
       "AUTOMAKE=\"automake --foreign\" autoreconf -vfi"
      ]
     },
     {
      "type": "archive",
      "url": "http://www.jedrea.com/chmlib/chmlib-0.40.tar.bz2",
      "sha256": "3449d64b0cf71578b2c7e3ddc048d4af3661f44a83941ea074a7813f3a59ffa3",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 17678,
       "stable-only": true,
       "url-template": "http://www.jedrea.com/chmlib/chmlib-$version.tar.bz2"
      }
     },
     {
      "type": "patch",
      "path": "chmlib-arm.patch"
     }
    ]
   },
   {
    "name": "ebook-tools",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/project/ebook-tools/ebook-tools/0.2.2/ebook-tools-0.2.2.tar.gz",
      "sha256": "cbc35996e911144fa62925366ad6a6212d6af2588f1e39075954973bbee627ae",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 17771,
       "stable-only": true,
       "url-template": "https://downloads.sourceforge.net/project/ebook-tools/ebook-tools/$version/ebook-tools-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "djvulibre",
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/djvu/djvulibre-3.5.29.tar.gz",
      "sha256": "d3b4b03ae2bdca8516a36ef6eb27b777f0528c9eda26745d9962824a3fdfeccf",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 10159,
       "stable-only": true,
       "url-template": "https://downloads.sourceforge.net/djvu/djvulibre-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "ghostscript",
    "config-opts": [
     "--disable-cups",
     "--without-tesseract"
    ],
    "make-args": [
     "so"
    ],
    "make-install-args": [
     "soinstall"
    ],
    "cleanup": [
     "/share/ghostscript/9.55.0/doc/",
     "/share/ghostscript/9.55.0/examples"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10070/ghostscript-10.07.0.tar.gz",
      "sha256": "ed6ea62022e3f4d5a6569b6efc9361b63a6d118bfcad8f0beb897c37885b5cad",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1157,
       "stable-only": true,
       "url-template": "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${major}0$minor$patch/ghostscript-$version.tar.gz"
      }
     },
     {
      "type": "shell",
      "commands": [
       "cp -p /usr/share/automake-*/config.{sub,guess} freetype/builds/unix/",
       "cp -p /usr/share/automake-*/config.{sub,guess} ijs/",
       "cp -p /usr/share/automake-*/config.{sub,guess} jpeg/",
       "cp -p /usr/share/automake-*/config.{sub,guess} libpng/",
       "cp -p /usr/share/automake-*/config.{sub,guess} lcms2mt/",
       "cp -p /usr/share/automake-*/config.{sub,guess} tiff/config/",
       "rm -rf libpng/pngread.c"
      ]
     }
    ]
   },
   {
    "name": "libspectre",
    "sources": [
     {
      "type": "archive",
      "url": "http://libspectre.freedesktop.org/releases/libspectre-0.2.12.tar.gz",
      "sha256": "55a7517cd3572bd2565df0cf450944a04d5273b279ebb369a895391957f0f960",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1724,
       "stable-only": true,
       "url-template": "http://libspectre.freedesktop.org/releases/libspectre-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "poppler-data",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://poppler.freedesktop.org/poppler-data-0.4.12.tar.gz",
      "sha256": "c835b640a40ce357e1b83666aabd95edffa24ddddd49b8daff63adb851cdab74",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 3687,
       "stable-only": true,
       "url-template": "https://poppler.freedesktop.org/poppler-data-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "poppler",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_GTK_TESTS=OFF",
     "-DBUILD_QT5_TESTS=OFF",
     "-DBUILD_QT6_TESTS=OFF",
     "-DBUILD_CPP_TESTS=OFF",
     "-DENABLE_UTILS=OFF",
     "-DENABLE_CPP=OFF",
     "-DENABLE_GLIB=OFF",
     "-DENABLE_QT5=OFF",
     "-DENABLE_QT6=ON"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://poppler.freedesktop.org/poppler-26.04.0.tar.xz",
      "sha256": "b0955163114af96bc0106f68cb24daf973a629462453d8b82775f81b0d4e0693",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 3686,
       "stable-only": true,
       "url-template": "https://poppler.freedesktop.org/poppler-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "inih",
    "buildsystem": "meson",
    "config-opts": [
     "-Ddefault_library=shared",
     "-Ddistro_install=true",
     "-Dwith_INIReader=true"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/benhoyt/inih/archive/refs/tags/r62.tar.gz",
      "sha256": "9c15fa751bb8093d042dae1b9f125eb45198c32c6704cd5481ccde460d4f8151",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 11600,
       "stable-only": true,
       "url-template": "https://github.com/benhoyt/inih/archive/refs/tags/r$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "exiv2",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/Exiv2/exiv2/archive/refs/tags/v0.28.8.tar.gz",
      "sha256": "ea51b0609f58a9afa063b60daa1539948b62247721e154f4fff0ad3aec9f9756",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 769,
       "stable-only": true,
       "url-template": "https://github.com/Exiv2/exiv2/archive/refs/tags/v$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "pcre",
    "config-opts": [
     "--enable-unicode-properties"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "http://prdownloads.sourceforge.net/pcre/pcre-8.45.tar.bz2",
      "sha256": "4dae6fdcd2bb0bb6c37b5f97c33c2be954da743985369cddac3546e3218bffb8"
     }
    ]
   },
   {
    "name": "libkexiv2",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DQT_MAJOR_VERSION=6"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/release-service/26.04.0/src/libkexiv2-26.04.0.tar.xz",
      "sha256": "be2057aa2b5287d9f64c9c64260f9d125827abaf10fe4b786b39f59de3b2c319",
      "x-checker-data": {
       "is-important": true,
       "type": "anitya",
       "project-id": 8763,
       "stable-only": true,
       "url-template": "https://download.kde.org/stable/release-service/$version/src/libkexiv2-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "kdegraphics-mobipocket",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DQT_MAJOR_VERSION=6"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/release-service/26.04.0/src/kdegraphics-mobipocket-26.04.0.tar.xz",
      "sha256": "78b48775544dd4bc2bbec8c13c479eaa1668e50e420e8249b5eafd6f8f7311f9",
      "x-checker-data": {
       "is-important": true,
       "type": "anitya",
       "project-id": 8763,
       "stable-only": true,
       "url-template": "https://download.kde.org/stable/release-service/$version/src/kdegraphics-mobipocket-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "cups",
    "buildsystem": "simple",
    "build-commands": [
     "./configure --disable-systemd --enable-threads --enable-gnutls",
     "gcc berkeley/lpr.c -o /app/bin/lpr -I . -lcups"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/OpenPrinting/cups/releases/download/v2.4.16/cups-2.4.16-source.tar.gz",
      "sha256": "0339587204b4f9428dd0592eb301dec0bf9ea6ea8dce5d9690d56be585aba92d",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 380,
       "stable-only": true,
       "url-template": "https://github.com/OpenPrinting/cups/releases/download/v$version/cups-$version-source.tar.gz"
      }
     }
    ]
   },
   {
    "name": "phonon-vlc",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DPHONON_BUILD_QT5=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/phonon/phonon-backend-vlc/0.12.0/phonon-backend-vlc-0.12.0.tar.xz",
      "sha256": "338479dc451e4b94b3ca5b578def741dcf82f5c626a2807d36235be2dce7c9a5",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 229046,
       "stable-only": true,
       "url-template": "https://download.kde.org/stable/phonon/phonon-backend-vlc/$version/phonon-backend-vlc-$version.tar.xz"
      }
     }
    ],
    "modules": [
     {
      "name": "phonon",
      "config-opts": [
       "-DBUILD_TESTING=OFF",
       "-DPHONON_BUILD_QT5=OFF",
       "-DPHONON_BUILD_QT6=ON"
      ],
      "buildsystem": "cmake-ninja",
      "sources": [
       {
        "type": "archive",
        "url": "https://download.kde.org/stable/phonon/4.12.0/phonon-4.12.0.tar.xz",
        "sha256": "3287ffe0fbcc2d4aa1363f9e15747302d0b080090fe76e5f211d809ecb43f39a",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 229047,
         "stable-only": true,
         "url-template": "https://download.kde.org/stable/phonon/$version/phonon-$version.tar.xz"
        }
       }
      ]
     },
     {
      "name": "libvlc",
      "config-opts": [
       "BUILDCC=gcc",
       "--disable-lua",
       "--disable-a52",
       "--disable-qt",
       "--disable-ncurses",
       "--disable-udev"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://get.videolan.org/vlc/3.0.23/vlc-3.0.23.tar.xz",
        "sha256": "e891cae6aa3ccda69bf94173d5105cbc55c7a7d9b1d21b9b21666e69eff3e7e0",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 6504,
         "stable-only": true,
         "url-template": "https://get.videolan.org/vlc/$version/vlc-$version.tar.xz"
        }
       },
       {
        "type": "patch",
        "path": "vlc-ignore-time-for-cache.patch"
       }
      ]
     }
    ]
   },
   {
    "name": "okular",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_OKULARKIRIGAMI=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/release-service/26.04.0/src/okular-26.04.0.tar.xz",
      "sha256": "030d54cf3971258dcddd503fd9ad66f11aefb804c72bedd2ab5bf8777fb7f1f3",
      "x-checker-data": {
       "is-important": true,
       "type": "anitya",
       "project-id": 8763,
       "stable-only": true,
       "url-template": "https://download.kde.org/stable/release-service/$version/src/okular-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "konsole",
    "buildsystem": "cmake-ninja",
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/release-service/26.04.0/src/konsole-26.04.0.tar.xz",
      "sha256": "a413aea8c336b2f452f2daeb9685de6c4a17ba8bb2c1a8a54c3c449693f922eb",
      "x-checker-data": {
       "is-important": true,
       "type": "anitya",
       "project-id": 8763,
       "stable-only": true,
       "url-template": "https://download.kde.org/stable/release-service/$version/src/konsole-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "imagemagick",
    "config-opts": [
     "--disable-static"
    ],
    "cleanup": [
     "/etc",
     "/share",
     "/lib",
     "/bin/{animate,compare,composite,conjure,display,identify,import,magick,magick-script,mogrify,montage,stream}"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://imagemagick.org/archive/releases/ImageMagick-7.1.2-19.tar.gz",
      "sha256": "ad407d0b482ac63e51ab311d16244f44d352f2b89e0cb4cb66c9f0cf6d948ecd",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1372,
       "stable-only": true,
       "url-template": "https://imagemagick.org/archive/releases/ImageMagick-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "kile",
    "buildsystem": "cmake-ninja",
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/kile/files/unstable/kile-3.0b4/kile-2.9.94.tar.bz2",
      "sha256": "53c6742bd83fb095cbdc898b03fdf8e15ab680a81693ccaf9c5076b93ad1a3ca"
     },
     {
      "type": "file",
      "path": "kile.sh"
     },
     {
      "type": "patch",
      "path": "appdata.patch"
     },
     {
      "type": "patch",
      "path": "acbc530666d7607df45784992d021cf1e60724d6.patch"
     },
     {
      "type": "patch",
      "path": "d8195e931782e39014450d7d508bddd349eb28f1.patch"
     }
    ],
    "post-install": [
     "install -d /app/texlive",
     "install -Dm755 -t /app/bin/ ./kile.sh",
     "desktop-file-install --dir=/app/share/applications --set-key=Exec --set-value=kile.sh /${FLATPAK_DEST}/share/applications/org.kde.kile.desktop"
    ]
   }
  ]
 }
}