{
  "id": "be.alexandervanhee.gradia.Devel",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "gradia",
  "finish-args": [
    "--share=ipc",
    "--socket=fallback-x11",
    "--device=dri",
    "--socket=wayland",
    "--filesystem=xdg-pictures",
    "--share=network"
  ],
  "build-options": {
    "strip": true
  },
  "cleanup": [
    "/include",
    "/lib/pkgconfig",
    "/man",
    "/share/doc",
    "/share/gtk-doc",
    "/share/man",
    "/share/pkgconfig",
    "*.la",
    "*.a"
  ],
  "modules": [
    "pypi-dependencies.json",
    {
      "name": "libportal",
      "buildsystem": "meson",
      "config-opts": [
        "-Ddocs=false",
        "-Dbackend-gtk4=enabled"
      ],
      "sources": [
        {
          "type": "archive",
          "url": "https://github.com/flatpak/libportal/archive/refs/tags/0.9.1.tar.gz",
          "sha256": "ea422b789ae487e04194d387bea031fd7485bf88a18aef8c767f7d1c29496a4e",
          "x-checker-data": {
            "type": "anitya",
            "project-id": 230124,
            "url-template": "https://github.com/flatpak/libportal/archive/refs/tags/$version.tar.gz"
          }
        }
      ]
    },
    {
      "name": "leptonica",
      "buildsystem": "autotools",
      "config-opts": [
        "--disable-static",
        "--disable-programs"
      ],
      "sources": [
        {
          "type": "git",
          "url": "https://github.com/DanBloomberg/leptonica.git",
          "tag": "1.86.0"
        }
      ]
    },
    {
      "name": "tesseract",
      "buildsystem": "autotools",
      "config-opts": [
        "--disable-static",
        "--disable-graphics",
        "--enable-legacy"
      ],
      "sources": [
        {
          "type": "git",
          "url": "https://github.com/tesseract-ocr/tesseract.git",
          "tag": "5.5.1"
        }
      ]
    },
    {
      "name": "gradia",
      "builddir": true,
      "buildsystem": "meson",
      "config-opts": [
        "-Dbuildtype=debug"
      ],
      "sources": [
        {
          "type": "dir",
          "path": "../../."
        }
      ]
    }
  ]
}
