{
 "app_id": "com.ktechpit.pixelbatch",
 "source_url": "https://raw.githubusercontent.com/flathub/com.ktechpit.pixelbatch/master/com.ktechpit.pixelbatch.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15-25.08",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--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:08:12.246874+00:00",
 "manifest": {
  "app-id": "com.ktechpit.pixelbatch",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.15-25.08",
  "sdk": "org.kde.Sdk",
  "command": "pixelbatch",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.node20"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/node20/bin"
  },
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/man",
   "/share/doc",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "jpegoptim",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/tjko/jpegoptim/archive/refs/tags/RELEASE.1.4.6.tar.gz",
      "sha256": "c44dcfac0a113c3bec13d0fc60faf57a0f9a31f88473ccad33ecdf210b4c0c52"
     }
    ]
   },
   {
    "name": "pngquant",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "http://pngquant.org/pngquant-2.12.2-src.tar.gz",
      "sha256": "bb031c48039ee73ea0e60709bb9ab80c55bfa3a5920b798ea37a03f2757b099c"
     }
    ]
   },
   {
    "name": "gifsicle",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/kohler/gifsicle/archive/refs/tags/v1.93.tar.gz",
      "sha256": "941c0b1c3ebc748949a0d14363f0fb3c9d2c06ee122b3548315b9233eb956d88"
     }
    ]
   },
   {
    "name": "pixelbatch-svgo-offline",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/keshavbhatt/pixelbatch-svgo-offline.git",
      "tag": 1.0,
      "commit": "47501d2037b61a1cd2cc5c01b2a2d8c12fd36675",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^(\\d+(?:\\.\\d+)*)$"
      }
     }
    ],
    "build-commands": [
     "npm ci --offline --cache=$PWD/npm-cache --no-audit --no-fund",
     "install -Dm755 /usr/lib/sdk/node20/bin/node /app/bin/node",
     "cp -a node_modules /app/lib/node_modules",
     "ln -s ../lib/node_modules/.bin/svgo /app/bin/svgo"
    ]
   },
   {
    "name": "pixelbatch",
    "buildsystem": "qmake",
    "subdir": "src",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/keshavbhatt/pixelbatch.git",
      "tag": "v2.0.1",
      "commit": "cfbce8dfc2d5f7a2fb90715338bb5e4f7402f50f",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^(v[\\d.]+)$"
      }
     }
    ]
   }
  ]
 }
}