{
 "app_id": "com.github.trufanovnok.scantailor",
 "source_url": "https://raw.githubusercontent.com/egrath/Flatpaks/master/scantailor-universal/com.github.trufanovnok.scantailor.json",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--socket=x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=home"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-17T18:05:41.185909+00:00",
 "manifest": {
  "id": "com.github.trufanovnok.scantailor",
  "branch": "0.2.11",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.15",
  "sdk": "org.kde.Sdk",
  "command": "scantailor-universal",
  "finish-args": [
   "--socket=x11",
   "--socket=wayland",
   "--device=dri",
   "--filesystem=home"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/lib/openjpeg-2.4",
   "/lib/debug",
   "/share/aclocal",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "build-options": {
   "arch": {
    "x86-64": {
     "no-debuginfo": true,
     "strip": true
    },
    "aarch64": {
     "no-debuginfo": false,
     "strip": false
    }
   }
  },
  "modules": [
   {
    "name": "boost",
    "config-opts": [],
    "cleanup": [
     "/lib/libboost_*.a",
     "/lib/debug",
     "/include/boost"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://dl.bintray.com/boostorg/release/1.75.0/source/boost_1_75_0.tar.bz2",
      "sha512": "d86f060245e98dca5c7f3f831c98ea9ccbfa8310f20830dd913d9d4c939fbe7cb94accd35f1128e7c4faf6c27adb6f4bb54e5477a6bde983dfc7aa33c4eed03a"
     },
     {
      "type": "file",
      "path": "boost-configure",
      "dest-filename": "configure"
     }
    ]
   },
   {
    "name": "openjpeg",
    "buildsystem": "cmake",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/uclouvain/openjpeg/archive/v2.4.0.tar.gz",
      "sha512": "55daab47d33823af94e32e5d345b52c251a5410f0c8e0a13b693f17899eedc8b2bb107489ddcba9ab78ef17dfd7cd80d3c5ec80c1e429189cb041124b67e07a8"
     }
    ]
   },
   {
    "name": "libcanberra",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-oss",
     "--with-systemdsystemunitdir=/app/lib/systemd"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.30.tar.xz",
      "sha512": "f7543582122256826cd01d0f5673e1e58d979941a93906400182305463d6166855cb51f35c56d807a56dc20b7a64f7ce4391368d24990c1b70782a7d0b4429c2"
     }
    ]
   },
   {
    "name": "scantailor-universal",
    "buildsystem": "cmake",
    "builddir": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/trufanov-nok/scantailor-universal/archive/0.2.11.tar.gz",
      "sha512": "693fd590271b5cc23dc697077c564b0728b1c6debf2d776b51d885d6e731e7df651f9ff80b1a9be4ab7107188f3e344b4cbdc7d96f2a761c31003cf3e94ba5f3"
     }
    ]
   },
   {
    "name": "scantailor-universal-desktopintegration",
    "buildsystem": "simple",
    "build-commands": [
     "echo Installing desktop integration"
    ],
    "sources": [
     {
      "type": "file",
      "path": "com.github.trufanovnok.scantailor.svg"
     },
     {
      "type": "file",
      "path": "com.github.trufanovnok.scantailor.desktop"
     }
    ],
    "post-install": [
     "install -Dm755 com.github.trufanovnok.scantailor.desktop /app/share/applications/com.github.trufanovnok.scantailor.desktop",
     "install -Dm644 com.github.trufanovnok.scantailor.svg /app/share/icons/hicolor/256x256/apps/com.github.trufanovnok.scantailor.svg"
    ]
   }
  ]
 }
}