{
 "app_id": "io.github.virinvictus.framework",
 "source_url": "https://raw.githubusercontent.com/VirInvictus/Framework/main/io.github.virinvictus.framework.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-documents:ro",
  "--filesystem=xdg-download:ro",
  "--filesystem=xdg-desktop:ro"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T17:37:29.172896+00:00",
 "manifest": {
  "app-id": "io.github.virinvictus.framework",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "framework",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--filesystem=xdg-documents:ro",
   "--filesystem=xdg-download:ro",
   "--filesystem=xdg-desktop:ro"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/lib/cmake",
   "/share/man",
   "/share/doc",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "djvulibre",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-static",
     "--disable-desktopfiles"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/djvu/djvulibre-3.5.28.tar.gz",
      "sha256": "fcd009ea7654fde5a83600eb80757bd3a76998e47d13c66b54c8db849f8f2edc"
     }
    ]
   },
   {
    "name": "mupdf",
    "buildsystem": "simple",
    "build-commands": [
     "make HAVE_X11=no HAVE_GLUT=no HAVE_LIBCRYPTO=no shared=yes verbose=yes USE_SYSTEM_LIBS=no build=release prefix=/app -j${FLATPAK_BUILDER_N_JOBS:-4}",
     "make HAVE_X11=no HAVE_GLUT=no HAVE_LIBCRYPTO=no shared=yes verbose=yes USE_SYSTEM_LIBS=no build=release prefix=/app install"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://mupdf.com/downloads/archive/mupdf-1.28.2-source.tar.gz",
      "sha256": "44075a84e329db55b9bef5f342a70fd26d69e48ad1d33cb89d9664581c641156",
      "x-checker-data": {
       "type": "html",
       "url": "https://mupdf.com/downloads/archive/",
       "pattern": "mupdf-([\\d.]+)-source.tar.gz"
      }
     }
    ]
   },
   {
    "name": "framework",
    "buildsystem": "meson",
    "config-opts": [
     "--buildtype=release",
     "-Dflatpak=true"
    ],
    "post-install": [
     "glib-compile-schemas /app/share/glib-2.0/schemas"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/VirInvictus/Framework.git",
      "tag": "v1.0.1",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v[\\d.]+$"
      }
     }
    ]
   }
  ]
 }
}