{
 "app_id": "si.biolab.orange",
 "source_url": "https://raw.githubusercontent.com/theoden8/orange3-flatpak/main/si.biolab.orange.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--env=QTWEBENGINEPROCESS_PATH=/app/bin/QtWebEngineProcess"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-20T13:04:55.537324+00:00",
 "manifest": {
  "app-id": "si.biolab.orange",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "base": "com.riverbankcomputing.PyQt.BaseApp",
  "base-version": "6.9",
  "cleanup-commands": [
   "/app/cleanup-BaseApp.sh"
  ],
  "command": "run_orange.sh",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--env=QTWEBENGINEPROCESS_PATH=/app/bin/QtWebEngineProcess"
  ],
  "modules": [
   {
    "name": "uv",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin",
     "env": {
      "CARGO_HOME": "/run/build/uv/cargo",
      "CARGO_NET_OFFLINE": "true"
     }
    },
    "build-commands": [
     "cargo fetch --offline --manifest-path Cargo.toml",
     "cargo build --offline --release --locked",
     "install -Dm755 target/release/uv /app/bin/uv"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/astral-sh/uv.git",
      "tag": "0.8.11"
     },
     "uv.yaml"
    ]
   },
   {
    "name": "env-files",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "file",
      "path": "./pyproject.toml"
     },
     {
      "type": "file",
      "path": "./uv.lock"
     },
     {
      "type": "file",
      "path": "./run_orange.sh"
     },
     {
      "type": "file",
      "path": "./orange.desktop"
     }
    ],
    "build-commands": [
     "install -D pyproject.toml /app/pyproject.toml",
     "install -D uv.lock /app/uv.lock",
     "install -D run_orange.sh /app/bin/run_orange.sh",
     "install -D orange.desktop /app/share/applications/orange.desktop"
    ]
   }
  ],
  "rename-desktop-file": "orange.desktop"
 }
}