{
 "app_id": "info.febvre.Komikku",
 "source_url": "https://raw.githubusercontent.com/flathub/info.febvre.Komikku/master/info.febvre.Komikku.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.gnome.SettingsDaemon.Color",
  "--talk-name=org.freedesktop.secrets"
 ],
 "module_count": 29,
 "fetched_at": "2026-09-19T12:39:03.971024+00:00",
 "manifest": {
  "app-id": "info.febvre.Komikku",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "komikku",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.freedesktop.secrets",
   "--talk-name=org.gnome.SettingsDaemon.Color",
   "--env=TESSDATA_PREFIX=/app/share/tessdata/"
  ],
  "modules": [
   "python3-setuptools_rust.json",
   "python3-cffi.json",
   "python3-keyring.json",
   "python3-dateparser.json",
   "python3-python-magic.json",
   "python3-natsort.json",
   "python3-pillow.json",
   "python3-jxlpy.json",
   "python3-colorthief.json",
   "python3-unidecode.json",
   "python3-lxml.json",
   "python3-beautifulsoup4.json",
   "python3-brotli.json",
   "python3-requests.json",
   "python3-curl_cffi.json",
   "python3-ebooklib.json",
   "python3-pypdf.json",
   "python3-rarfile.json",
   "python3-emoji.json",
   "python3-piexif.json",
   "python3-pyjwt.json",
   "python3-pytesseract.json",
   {
    "name": "gnustep-make",
    "buildsystem": "simple",
    "build-commands": [
     "./configure --prefix=/app",
     "make -j $FLATPAK_BUILDER_N_JOBS install"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/gnustep/tools-make/archive/make-2_9_3.tar.gz",
      "sha256": "aad12caecb0398b099f3b8b0282cecc3f01a9f371200641b2e1e535ae6ee2543",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1220,
       "stable-only": true,
       "url-template": "https://github.com/gnustep/tools-make/archive/make-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "gnustep",
    "buildsystem": "simple",
    "build-commands": [
     "./configure --prefix=/app --disable-xslt --disable-xml",
     "sed -i 's/^#ADDITIONAL_CFLAGS +=.*/ADDITIONAL_CFLAGS += -std=gnu17/' Tools/Makefile.preamble",
     "make -j $FLATPAK_BUILDER_N_JOBS install",
     "ls /app/include"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/gnustep/libs-base/archive/refs/tags/base-1_31_1.tar.gz",
      "sha256": "612e4415efc486c9e7017b00b28b0e122dc739d29b8e5d57ce79bf1a86a9862b",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 9105,
       "stable-only": true,
       "url-template": "https://github.com/gnustep/libs-base/archive/refs/tags/base-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "unarchiver",
    "buildsystem": "simple",
    "build-commands": [
     "sed -s -i 's#/usr/include/GNUstep#/app/include#g' */Makefile.linux && cd XADMaster && make -j $FLATPAK_BUILDER_N_JOBS -f Makefile.linux",
     "install -m755 XADMaster/unar /app/bin/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://cdn.theunarchiver.com/downloads/TheUnarchiverSource.zip",
      "sha256": "ac4cedf9b49375c0f805bda010fa03629d05ab283a0a8e35bf2dd01ae477e0a1",
      "strip-components": 0
     }
    ]
   },
   {
    "name": "leptonica",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-static"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/DanBloomberg/leptonica/releases/download/1.87.0/leptonica-1.87.0.tar.gz",
      "sha256": "c73363397f96eb1295602bf44d708a994ad42046c791bf03ea0505d829bdb6a7"
     }
    ]
   },
   {
    "name": "tesseract",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DBUILD_TRAINING_TOOLS=OFF",
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/tesseract-ocr/tesseract/archive/refs/tags/5.5.3.tar.gz",
      "sha256": "9218e62793116d42a9f6d14cd9348518b27f382096eea3d0f2d1a24616bb5884"
     }
    ],
    "modules": [
     {
      "name": "tesseract-data",
      "buildsystem": "simple",
      "build-commands": [
       "mkdir -p ${FLATPAK_DEST}/share/tessdata",
       "cp eng.traineddata ${FLATPAK_DEST}/share/tessdata/",
       "cp fra.traineddata ${FLATPAK_DEST}/share/tessdata/",
       "cp jpn.traineddata ${FLATPAK_DEST}/share/tessdata/",
       "cp jpn_vert.traineddata ${FLATPAK_DEST}/share/tessdata/",
       "cp spa.traineddata ${FLATPAK_DEST}/share/tessdata/"
      ],
      "sources": [
       {
        "type": "file",
        "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/eng.traineddata",
        "sha256": "7d4322bd2a7749724879683fc3912cb542f19906c83bcc1a52132556427170b2"
       },
       {
        "type": "file",
        "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/fra.traineddata",
        "sha256": "ced037562e8c80c13122dece28dd477d399af80911a28791a66a63ac1e3445ca"
       },
       {
        "type": "file",
        "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/jpn.traineddata",
        "sha256": "1f5de9236d2e85f5fdf4b3c500f2d4926f8d9449f28f5394472d9e8d83b91b4d"
       },
       {
        "type": "file",
        "url": "https://github.com/tesseract-ocr/tessdata/raw/4.1.0/jpn_vert.traineddata",
        "sha256": "36879c1aa07634302c9dcb2c1ed4f8fb347c705ad7522dd693ee2e9d68028a79"
       },
       {
        "type": "file",
        "url": "https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/spa.traineddata",
        "sha256": "6f2e04d02774a18f01bed44b1111f2cd7f3ba7ac9dc4373cd3f898a40ea6b464"
       }
      ]
     }
    ]
   },
   {
    "name": "komikku",
    "buildsystem": "meson",
    "builddir": true,
    "config-opts": [
     "-Dprofile=default"
    ],
    "sources": [
     {
      "type": "archive",
      "sha256": "1980ec7795f6ba432b274b0216bb47cdc0cd08e6264135e6363452943e251481",
      "url": "https://codeberg.org/valos/Komikku/archive/v51.0.1.tar.gz"
     }
    ]
   }
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin"
  },
  "cleanup": [
   "/bin/cvtenc",
   "/bin/autogsdoc",
   "/bin/debugapp",
   "/bin/defaults",
   "/bin/gdnc",
   "/bin/gdomap",
   "/bin/gnustep*",
   "/bin/gspath",
   "/bin/HTMLLinker",
   "/bin/make_strings",
   "/bin/openapp",
   "/bin/opentool",
   "/bin/pl*",
   "/bin/sfparse",
   "/bin/xmlparse",
   "/etc/GNUstep",
   "/include",
   "/lib/*.a",
   "/lib/*.la",
   "/lib/cmake",
   "/lib/GNUstep",
   "/lib/pkgconfig",
   "/share/GNUstep",
   "/share/gtk-doc",
   "/share/man"
  ]
 }
}