{
 "app_id": "org.previewqt.PreviewQt",
 "source_url": "https://raw.githubusercontent.com/flathub/org.previewqt.PreviewQt/master/org.previewqt.PreviewQt.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.11",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--filesystem=host",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=org.kde.StatusNotifierWatcher"
 ],
 "module_count": 14,
 "fetched_at": "2026-09-18T07:42:34.728657+00:00",
 "manifest": {
  "app-id": "org.previewqt.PreviewQt",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "command": "previewqt",
  "base": "io.qt.qtwebengine.BaseApp",
  "base-version": "6.11",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--filesystem=host",
   "--device=dri",
   "--socket=pulseaudio",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--env=QTWEBENGINEPROCESS_PATH=/app/bin/QtWebEngineProcess",
   "--env=QML_IMPORT_PATH=/app/qml"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/lib/cmake",
   "/share/pkgconfig",
   "/share/boost_predef",
   "/share/doc",
   "/share/man",
   "*.a"
  ],
  "cleanup-commands": [
   "/app/cleanup-BaseApp.sh"
  ],
  "modules": [
   {
    "name": "exiv2",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DEXIV2_ENABLE_INIH=OFF",
     "-DEXIV2_BUILD_SAMPLES=OFF",
     "-DEXIV2_BUILD_EXIV2_COMMAND=OFF",
     "-DEXIV2_ENABLE_BMFF=ON"
    ],
    "cleanup": [
     "/bin",
     "/share/man"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Exiv2/exiv2",
      "commit": "b0859fc61fea5dedfc898aece6b15893ddf4314e",
      "tag": "v0.28.9"
     }
    ]
   },
   {
    "name": "libraw",
    "builddir": true,
    "config-opts": [
     "--disable-examples"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/LibRaw/LibRaw",
      "commit": "b93f6e45c194f5df9b02a43b1af9a54b4f41f33f",
      "tag": "0.22.2"
     },
     {
      "type": "shell",
      "commands": [
       "autoreconf -vfi"
      ]
     }
    ]
   },
   {
    "name": "libdeflate",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/ebiggers/libdeflate",
      "commit": "92e6a0db9fa848d742f9eb286c92afc60f2c3dda",
      "tag": "v1.26"
     }
    ]
   },
   {
    "name": "imath",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/AcademySoftwareFoundation/Imath",
      "commit": "5f27ba266d3ea1565e912570c30b5eafc89959f1",
      "tag": "v3.2.3"
     }
    ]
   },
   {
    "name": "openjph",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DOJPH_BUILD_EXECUTABLES=OFF"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/aous72/OpenJPH",
      "commit": "c68064d0e4cad8e96bab9a068f6cc4e7799744fc",
      "tag": "0.31.0"
     }
    ]
   },
   {
    "name": "openexr",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/AcademySoftwareFoundation/openexr",
      "commit": "e71cdd5d30a146dcb56c5e4c576d9e9d3c45f4fb",
      "tag": "v3.4.15"
     }
    ]
   },
   {
    "name": "poppler-data",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.freedesktop.org/poppler/poppler-data",
      "commit": "af9f452b427d5ce8abe81ff98cc40c5f39fad90b",
      "tag": "POPPLER_DATA_0_4_12"
     }
    ]
   },
   {
    "name": "boost",
    "buildsystem": "simple",
    "cleanup": [
     "libboost*.so*"
    ],
    "build-commands": [
     "./bootstrap.sh --with-libraries=container",
     "./b2 install variant=release link=shared runtime-link=shared --prefix=\"$FLATPAK_DEST\" -j $FLATPAK_BUILDER_N_JOBS"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://archives.boost.io/release/1.92.0/source/boost_1_92_0.tar.gz",
      "sha256": "c4a3b310ddd2472416e091067166b0713be97c63f38c212c484ada022fd296ce"
     }
    ]
   },
   {
    "name": "poppler",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DENABLE_GOBJECT_INTROSPECTION=OFF",
     "-DENABLE_LIBOPENJPEG=openjpeg2",
     "-DBUILD_GTK_TESTS=OFF",
     "-DBUILD_QT5_TESTS=OFF",
     "-DBUILD_QT6_TESTS=OFF",
     "-DENABLE_QT5=OFF",
     "-DENABLE_QT6=ON",
     "-DBUILD_CPP_TESTS=OFF",
     "-DENABLE_UTILS=ON",
     "-DENABLE_BOOST=ON"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.freedesktop.org/poppler/poppler",
      "commit": "d663f8fe0237073fadf43e4e19acc46b3ba3e80a",
      "tag": "poppler-26.08.0"
     }
    ]
   },
   {
    "name": "extra-cmake-modules",
    "buildsystem": "cmake-ninja",
    "cleanup": [
     "*"
    ],
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DBUILD_TESTING=OFF"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://invent.kde.org/frameworks/extra-cmake-modules.git",
      "commit": "68483132b87f4d7b953aec94ef51d1234d41f937",
      "tag": "v6.30.0"
     }
    ]
   },
   {
    "name": "kimageformats",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DBUILD_TESTING=OFF",
     "-DKIMAGEFORMATS_HEIF=ON",
     "-DKIMAGEFORMATS_JXL=ON"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://invent.kde.org/frameworks/kimageformats.git",
      "commit": "5d6dfb9012bedd7e86ebba271fa87388658147ea",
      "tag": "v6.30.0"
     }
    ]
   },
   {
    "name": "ghostscript",
    "build-options": {
     "cflags": "-std=gnu18"
    },
    "config-opts": [
     "--enable-shared",
     "--disable-static"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10080/ghostscript-10.08.0.tar.gz",
      "sha256": "caf199e3f233f1290b27d0972d636f66c303355f2353309b7bfddf1edda06b3d"
     }
    ]
   },
   {
    "name": "imagemagick",
    "builddir": true,
    "config-opts": [
     "--enable-shared",
     "--disable-static",
     "--disable-docs",
     "--with-modules",
     "--with-threads",
     "--with-png",
     "--enable-hdri",
     "--enable-opencl",
     "--with-djvu",
     "--with-fftw",
     "--with-jxl",
     "--with-lqr",
     "--with-modules",
     "--with-openexr",
     "--with-openjp2",
     "--with-rsvg",
     "--with-webp",
     "--with-wmf",
     "--with-xml",
     "--with-dps",
     "--with-fpx",
     "--with-gvc"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/ImageMagick/ImageMagick",
      "commit": "fb965f1b54a65ddb633f8c2eac4452c782c66d7f",
      "tag": "7.1.2-31"
     }
    ]
   },
   {
    "name": "previewqt",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DWITH_IMAGEMAGICK=ON",
     "-DWITH_GRAPHICSMAGICK=OFF",
     "-DWITH_EXIV2=ON",
     "-DWITH_LIBARCHIVE=ON",
     "-DWITH_LIBRAW=ON",
     "-DWITH_POPPLER=ON",
     "-DWITH_QTPDF=OFF",
     "-DWITH_DEVIL=OFF",
     "-DWITH_LIBVIPS=OFF",
     "-DWITH_VIDEO_MPV=OFF",
     "-DWITH_EXIV2_ENABLE_BMFF=ON",
     "-DWITH_FLATPAKBUILD=ON",
     "-DWITH_EPUB=ON",
     "-DWITH_LIBAPPIMAGE=OFF",
     "-DWITH_LIBREOFFICE=ON",
     "-DWITH_LIBREOFFICEKIT=OFF",
     "-DWITH_OPENSLIDE=OFF"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.com/lspies/previewqt.git",
      "tag": "v6.0",
      "commit": "6bd2f0386b4d032e9b74da8812b93171dc7862e2"
     }
    ]
   }
  ]
 }
}