{
 "app_id": "org.kde.optiimage",
 "source_url": "https://raw.githubusercontent.com/flathub/org.kde.optiimage/master/org.kde.optiimage.json",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.10",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--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"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-17T16:15:49.719831+00:00",
 "manifest": {
  "id": "org.kde.optiimage",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "sdk": "org.kde.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "optiimage",
  "finish-args": [
   "--filesystem=home",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri"
  ],
  "cleanup": [
   "/share/man",
   "/bin/aarch64-linux-gnu-gcc"
  ],
  "modules": [
   {
    "name": "jpegoptim",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/tjko/jpegoptim/archive/refs/tags/v1.5.6.tar.gz",
      "sha256": "661a808dfffa933d78c6beb47a2937d572b9f03e94cbaaab3d4c0d72f410e9be",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1472,
       "stable-only": true,
       "url-template": "https://github.com/tjko/jpegoptim/archive/refs/tags/v$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "oxipng",
    "buildsystem": "simple",
    "build-commands": [
     "ln -s /usr/bin/gcc /app/bin/aarch64-linux-gnu-gcc",
     "cargo --offline fetch --manifest-path Cargo.toml --verbose",
     "cargo --offline build --release --verbose",
     "install -Dm 755 target/release/oxipng -t /app/bin"
    ],
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin",
     "env": {
      "CARGO_HOME": "/run/build/oxipng/cargo"
     }
    },
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/shssoichiro/oxipng/archive/refs/tags/v10.0.0.tar.gz",
      "sha256": "c834f87cab52c621b113dd6ac718d591638043471705b0c4fa4aa958796e0051",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 209796,
       "stable-only": true,
       "url-template": "https://github.com/shssoichiro/oxipng/archive/refs/tags/v$version.tar.gz"
      }
     },
     "oxipng-sources.json"
    ]
   },
   {
    "name": "six",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"six\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl",
      "sha256": "4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274",
      "x-checker-data": {
       "type": "pypi",
       "name": "six",
       "packagetype": "bdist_wheel"
      }
     }
    ]
   },
   {
    "name": "python3-scour",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"scour\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/75/19/f519ef8aa2f379935a44212c5744e2b3a46173bf04e0110fb7f4af4028c9/scour-0.38.2.tar.gz",
      "sha256": "6881ec26660c130c5ecd996ac6f6b03939dd574198f50773f2508b81a68e0daf",
      "x-checker-data": {
       "type": "pypi",
       "name": "scour"
      }
     }
    ]
   },
   {
    "name": "optiimage",
    "buildsystem": "cmake-ninja",
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/optiimage/optiimage-1.0.0.tar.xz",
      "sha256": "05ef948c0fbf2b80dfa8f1f5a42457f8fd39e1b988b8af99679348e401c5f515",
      "x-checker-data": {
       "is-main-source": true,
       "type": "anitya",
       "project-id": 376009,
       "stable-only": true,
       "url-template": "https://download.kde.org/stable/optiimage/optiimage-$version.tar.xz"
      }
     }
    ]
   }
  ]
 }
}