{
 "app_id": "org.bioview.BioView",
 "source_url": "https://raw.githubusercontent.com/bioview/bioview-installer/main/flatpak/org.bioview.BioView.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=x11",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=all",
  "--filesystem=home"
 ],
 "module_count": 6,
 "fetched_at": "2026-09-20T13:05:48.941733+00:00",
 "manifest": {
  "app-id": "org.bioview.BioView",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "bioview",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=x11",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=all",
   "--filesystem=home"
  ],
  "build-options": {
   "build-args": [
    "--share=network"
   ]
  },
  "modules": [
   {
    "name": "libusb",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/libusb/libusb.git",
      "tag": "v1.0.27"
     }
    ]
   },
   {
    "name": "boost",
    "buildsystem": "simple",
    "build-commands": [
     "./bootstrap.sh --prefix=/app --with-libraries=program_options,system,filesystem,thread,date_time,chrono,atomic,regex,serialization,test",
     "./b2 -j ${FLATPAK_BUILDER_N_JOBS} install"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/boostorg/boost.git",
      "tag": "boost-1.83.0"
     }
    ]
   },
   {
    "name": "uhd-build-deps",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app mako numpy setuptools wheel"
    ]
   },
   {
    "name": "uhd",
    "buildsystem": "cmake-ninja",
    "subdir": "host",
    "config-opts": [
     "-DENABLE_PYTHON_API=ON",
     "-DENABLE_TESTS=OFF",
     "-DENABLE_MANUAL=OFF",
     "-DENABLE_DOXYGEN=OFF",
     "-DENABLE_EXAMPLES=OFF",
     "-DPYTHON_EXECUTABLE=/usr/bin/python3",
     "-DCMAKE_INSTALL_PREFIX=/app"
    ],
    "post-install": [
     "/app/bin/uhd_images_downloader || true"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/EttusResearch/uhd.git",
      "tag": "v4.10.0.0"
     }
    ]
   },
   {
    "name": "python-deps",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app \"PyQt6>=6.9.1,<7.0.0\" \"pyqtgraph>=0.13.7,<0.14.0\" \"qtawesome>=1.4.0,<2.0.0\" \"pyqtdarktheme2>=2.1.2,<3.0.0\" \"darkdetect>=0.7.1,<0.8.0\" numpy scipy h5py pygame"
    ]
   },
   {
    "name": "bioview",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --prefix=/app --no-deps ./bioview-common",
     "pip3 install --prefix=/app --no-deps ./bioview-server",
     "pip3 install --prefix=/app --no-deps ./bioview-client",
     "install -Dm644 org.bioview.BioView.desktop /app/share/applications/org.bioview.BioView.desktop",
     "install -Dm644 org.bioview.BioView.metainfo.xml /app/share/metainfo/org.bioview.BioView.metainfo.xml",
     "install -Dm644 icon.png /app/share/icons/hicolor/256x256/apps/org.bioview.BioView.png"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/bioview/bioview-common.git",
      "tag": "v0.9.7.3",
      "dest": "bioview-common"
     },
     {
      "type": "git",
      "url": "https://github.com/bioview/bioview-server.git",
      "tag": "v0.9.7.3",
      "dest": "bioview-server"
     },
     {
      "type": "git",
      "url": "https://github.com/bioview/bioview-client.git",
      "tag": "v0.9.7.3",
      "dest": "bioview-client"
     },
     {
      "type": "file",
      "path": "org.bioview.BioView.desktop"
     },
     {
      "type": "file",
      "path": "org.bioview.BioView.metainfo.xml"
     },
     {
      "type": "file",
      "path": "../assets/icon.png"
     }
    ]
   }
  ]
 }
}