{
 "app_id": "io.pslab.PSLab",
 "source_url": "https://raw.githubusercontent.com/flathub/io.pslab.PSLab/master/io.pslab.PSLab.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:12:56.385729+00:00",
 "manifest": {
  "id": "io.pslab.PSLab",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.llvm20"
  ],
  "command": "pslab",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri"
  ],
  "rename-desktop-file": "pslab.desktop",
  "rename-icon": "pslab",
  "modules": [
   {
    "name": "PSLab",
    "buildsystem": "simple",
    "build-options": {
     "arch": {
      "x86_64": {
       "env": {
        "BUNDLE_PATH": "build/linux/x64/release/bundle"
       }
      },
      "aarch64": {
       "env": {
        "BUNDLE_PATH": "build/linux/arm64/release/bundle"
       }
      }
     },
     "append-path": "/usr/lib/sdk/llvm20/bin:/var/lib/flutter/bin",
     "prepend-ld-library-path": "/usr/lib/sdk/llvm20/lib",
     "env": {
      "PUB_CACHE": "/run/build/PSLab/.pub-cache"
     }
    },
    "build-commands": [
     "setup-flutter.sh",
     "flutter build linux --release --no-pub",
     "cp -r $BUNDLE_PATH /app/io.pslab.PSLab",
     "mkdir -p /app/bin && ln -s /app/io.pslab.PSLab/pslab /app/bin/pslab",
     "install -D linux/io.pslab.PSLab.metainfo.xml /app/share/metainfo/io.pslab.PSLab.metainfo.xml",
     "install -D linux/pslab.desktop /app/share/applications/pslab.desktop",
     "install -D linux/assets/pslab.png /app/share/icons/hicolor/512x512/apps/pslab.png"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/fossasia/pslab-app.git",
      "commit": "986260c504899fc8068422e06626c809592d0da4"
     },
     "generated/sources/pubspec.json"
    ],
    "modules": [
     "generated/modules/flutter-sdk-3.44.1.json"
    ]
   }
  ]
 }
}