{
 "app_id": "io.github.abutauskas.Flatsonar",
 "source_url": "https://raw.githubusercontent.com/abutauskas/flatsonar/master/client/io.github.abutauskas.Flatsonar.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.Flatpak",
  "--filesystem=~/.local/share/flatpak:ro",
  "--filesystem=xdg-cache/flatsonar:create",
  "--filesystem=xdg-data/flatsonar:create"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-19T14:05:11.324943+00:00",
 "manifest": {
  "app-id": "io.github.abutauskas.Flatsonar",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "flatsonar",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--talk-name=org.freedesktop.Flatpak",
   "--filesystem=~/.local/share/flatpak:ro",
   "--filesystem=xdg-cache/flatsonar:create",
   "--filesystem=xdg-data/flatsonar:create"
  ],
  "cleanup": [
   "/share/man",
   "*.a",
   "*.la"
  ],
  "modules": [
   {
    "name": "python3-httpx",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} httpx h11 httpcore anyio idna sniffio certifi typing_extensions"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl",
      "sha256": "d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad"
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl",
      "sha256": "2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55"
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl",
      "sha256": "63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86"
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/a1/ee/48ca1a7c89ffec8b6a0c5d02b89c305671d5ffd8d3c94acf8b8c408575bb/anyio-4.9.0-py3-none-any.whl",
      "sha256": "9f76d541cad6e36af7beb62e978876f3b41e3e04f2c1fbf0884604c0a9c4d93c"
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl",
      "sha256": "481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8"
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl",
      "sha256": "946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3"
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl",
      "sha256": "2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2"
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/4a/7e/3db2bd1b1f9e95f7cddca6d6e75e2f2bd9f51b1246e546d88addca0106bd/certifi-2025.4.26-py3-none-any.whl",
      "sha256": "30350364dfe371162649852c63336a15c70c6510c2ad5015b21c2345311805f3"
     }
    ]
   },
   {
    "name": "python3-pyyaml",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} pyyaml"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/04/24/b7721e4845c2f162d26f50521b825fb061bc0a5afcf9a386840f23ea19fa/PyYAML-6.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
      "sha256": "70b189594dbe54f75ab3a1acec5f1e3faa7e8cf2f1e08d9b561cb41b845f69d5"
     }
    ]
   },
   {
    "name": "flatsonar-core",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --no-deps --no-build-isolation --prefix=${FLATPAK_DEST} ./core"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "..",
      "skip": [
       "client",
       "server",
       ".venv",
       ".git"
      ]
     }
    ]
   },
   {
    "name": "flatsonar",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --no-deps --no-build-isolation --prefix=${FLATPAK_DEST} .",
     "install -Dm644 data/io.github.abutauskas.Flatsonar.desktop ${FLATPAK_DEST}/share/applications/io.github.abutauskas.Flatsonar.desktop",
     "install -Dm644 data/io.github.abutauskas.Flatsonar.metainfo.xml ${FLATPAK_DEST}/share/metainfo/io.github.abutauskas.Flatsonar.metainfo.xml",
     "install -Dm644 data/icons/io.github.abutauskas.Flatsonar.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/io.github.abutauskas.Flatsonar.svg"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "."
     }
    ]
   }
  ]
 }
}