{
 "app_id": "org.verapdf.veraPDF",
 "source_url": "https://raw.githubusercontent.com/flathub/org.verapdf.veraPDF/master/org.verapdf.veraPDF.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=pulseaudio",
  "--device=dri",
  "--filesystem=home"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-17T16:16:52.152068+00:00",
 "manifest": {
  "id": "org.verapdf.veraPDF",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "command": "verapdf-gui",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.openjdk17"
  ],
  "finish-args": [
   "--env=PATH=/app/jre/bin:/app/bin:/usr/bin",
   "--env=JAVA_HOME=/app/jre",
   "--env=JAVA=/app/jre/bin/java",
   "--share=ipc",
   "--socket=x11",
   "--socket=pulseaudio",
   "--share=network",
   "--device=dri",
   "--filesystem=home",
   "--persist=.java"
  ],
  "modules": [
   {
    "name": "xgetres",
    "buildsystem": "simple",
    "build-commands": [
     "make",
     "make install PREFIX=/app"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/tamirzb/xgetres",
      "tag": "1.0"
     }
    ]
   },
   {
    "name": "flatpak-xdg-utils",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/flatpak/flatpak-xdg-utils.git",
      "tag": "1.0.4"
     }
    ]
   },
   {
    "name": "imagemagick",
    "cleanup": [
     "*"
    ],
    "config-opts": [
     "--enable-static=no",
     "--disable-docs",
     "--disable-deprecated",
     "--without-autotrace",
     "--without-bzlib",
     "--without-djvu",
     "--without-dps",
     "--without-fftw",
     "--without-fontconfig",
     "--without-fpx",
     "--without-freetype",
     "--without-gvc",
     "--without-jbig",
     "--without-jpeg",
     "--without-lcms",
     "--without-lzma",
     "--without-magick-plus-plus",
     "--without-openexr",
     "--without-openjp2",
     "--without-pango",
     "--without-raqm",
     "--without-tiff",
     "--without-webp",
     "--without-wmf",
     "--without-x",
     "--without-xml",
     "--without-zlib"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.imagemagick.org/archive/releases/ImageMagick-7.1.1-29.tar.xz",
      "sha256": "f140465fbeb0b4724cba4394bc6f6fb32715731c1c62572d586f4f1c8b9b0685"
     }
    ]
   },
   {
    "name": "verapdf",
    "buildsystem": "simple",
    "build-commands": [
     "/usr/lib/sdk/openjdk17/install.sh",
     "mkdir -p /app/verapdf",
     "convert icon.png -resize 256x256 icon256.png",
     "install -Dm644 icon256.png /app/share/icons/hicolor/256x256/apps/org.verapdf.veraPDF.png",
     "mv verapdf-izpack-installer-*.jar /app/verapdf/verapdf-installer.jar",
     "install -Dm644 auto-install.xml /app/verapdf/auto-install.xml",
     "cd /app/verapdf && /app/jre/bin/java -jar verapdf-installer.jar auto-install.xml",
     "patch --verbose /app/verapdf/verapdf-gui verapdf-gui.patch",
     "patch --verbose /app/verapdf/verapdf verapdf-CLI.patch",
     "ln -s /app/verapdf/verapdf-gui /app/bin/verapdf-gui",
     "ln -s /app/verapdf/verapdf /app/bin/verapdf",
     "mv /app/verapdf/config /app/verapdf/config-default",
     "ln -s ../../var/config /app/verapdf/config"
    ],
    "post-install": [
     "install -Dm644 org.verapdf.veraPDF.metainfo.xml /app/share/metainfo/org.verapdf.veraPDF.metainfo.xml",
     "desktop-file-install --dir=/app/share/applications org.verapdf.veraPDF.desktop"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://software.verapdf.org/releases/1.30/verapdf-greenfield-1.30.1-installer.zip",
      "sha256": "9f03fc5da454348329f4054256351aa6c6a91683329978e8294f21fe8a5d7abc"
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/veraPDF/veraPDF-apps/v1.30.1/gui/src/main/resources/org/verapdf/gui/images/icon.png",
      "sha256": "32a7bbe7a7107dffa44cf601fc2af818806d6b9ca13056cea9f033264ced0b4f"
     },
     {
      "type": "file",
      "path": "org.verapdf.veraPDF.metainfo.xml"
     },
     {
      "type": "file",
      "path": "org.verapdf.veraPDF.desktop"
     },
     {
      "type": "file",
      "path": "auto-install.xml"
     },
     {
      "type": "file",
      "path": "verapdf-gui.patch"
     },
     {
      "type": "file",
      "path": "verapdf-CLI.patch"
     }
    ]
   }
  ]
 }
}