{
 "app_id": "io.gitlab.adhami3310.Converter",
 "source_url": "https://raw.githubusercontent.com/flathub/io.gitlab.adhami3310.Converter/master/io.gitlab.adhami3310.Converter.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-17T16:12:35.930765+00:00",
 "manifest": {
  "app-id": "io.gitlab.adhami3310.Converter",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "switcheroo",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--device=dri",
   "--socket=wayland"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin",
   "env": {}
  },
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/share/doc",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "mozjpeg",
    "buildsystem": "cmake",
    "config-opts": [
     "-DENABLE_STATIC=FALSE",
     "-DPNG_SUPPORTED=TRUE",
     "-DWITH_JPEG8=TRUE",
     "-DCMAKE_INSTALL_LIBDIR=/app/lib",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/mozilla/mozjpeg/archive/refs/tags/v4.1.1.tar.gz",
      "sha256": "66b1b8d6b55d263f35f27f55acaaa3234df2a401232de99b6d099e2bb0a9d196"
     }
    ]
   },
   {
    "name": "ghostscript",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10060/ghostscript-10.06.0.tar.gz",
      "sha256": "5bd6da34794928cc7e616f288e32bd0be7f9a5ca2d3c206a0af2c19a4e3a318f"
     },
     {
      "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"
      ]
     }
    ],
    "config-opts": [
     "--disable-cups",
     "--disable-gtk",
     "--without-tesseract",
     "--without-libpaper",
     "--without-pdftoraster"
    ],
    "make-args": [
     "so"
    ],
    "make-install-args": [
     "soinstall"
    ],
    "cleanup": [
     "/bin",
     "/share"
    ]
   },
   {
    "name": "magick",
    "buildsystem": "simple",
    "build-commands": [
     "./configure --prefix=/app --with-heic=yes --with-jxl=yes --with-rsvg=yes --with-gslib=yes",
     "make",
     "make install"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/ImageMagick/ImageMagick.git",
      "tag": "7.1.2-8",
      "commit": "a3b13d143fd7dea44cd71d31aa02f411b597688f"
     }
    ]
   },
   {
    "name": "switcheroo",
    "buildsystem": "meson",
    "config-opts": [
     "--buildtype=release"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://gitlab.com/-/project/41292464/uploads/a31f472445361fd40b42bf6ec7309ff1/switcheroo-2.6.0.tar.xz",
      "sha256": "cb1e2c27ebc421bb2823ebed3e135dc84a741921a3b5b6153c4ef7337d353eb6"
     }
    ]
   }
  ]
 }
}