{
 "app_id": "com.github.openracing.OpenRacing",
 "source_url": "https://raw.githubusercontent.com/EffortlessMetrics/OpenRacing-swarm/main/packaging/linux/com.github.openracing.OpenRacing.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--device=all",
  "--socket=session-bus",
  "--share=network",
  "--share=ipc",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--filesystem=xdg-config/racing-wheel-suite:create",
  "--filesystem=xdg-data/racing-wheel-suite:create",
  "--env=RUST_LOG=info"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-20T13:02:10.115306+00:00",
 "manifest": {
  "app-id": "com.github.openracing.OpenRacing",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "wheelctl",
  "finish-args": [
   "--device=all",
   "--socket=session-bus",
   "--share=network",
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--filesystem=xdg-config/racing-wheel-suite:create",
   "--filesystem=xdg-data/racing-wheel-suite:create",
   "--env=RUST_LOG=info"
  ],
  "modules": [
   {
    "name": "openracing",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin",
     "env": {
      "CARGO_HOME": "/run/build/openracing/cargo"
     }
    },
    "build-commands": [
     "cargo build --release --workspace --bin wheeld --bin wheelctl",
     "install -Dm755 target/release/wheeld ${FLATPAK_DEST}/bin/wheeld",
     "install -Dm755 target/release/wheelctl ${FLATPAK_DEST}/bin/wheelctl",
     "install -Dm644 packaging/linux/99-racing-wheel-suite.rules ${FLATPAK_DEST}/share/openracing/99-racing-wheel-suite.rules",
     "install -Dm644 packaging/linux/99-racing-wheel-suite.hwdb ${FLATPAK_DEST}/share/openracing/99-racing-wheel-suite.hwdb",
     "install -Dm644 packaging/linux/90-racing-wheel-quirks.conf ${FLATPAK_DEST}/share/openracing/90-racing-wheel-quirks.conf",
     "install -Dm644 README.md ${FLATPAK_DEST}/share/doc/openracing/README.md",
     "install -Dm644 LICENSE-MIT ${FLATPAK_DEST}/share/licenses/openracing/LICENSE-MIT",
     "install -Dm644 LICENSE-APACHE ${FLATPAK_DEST}/share/licenses/openracing/LICENSE-APACHE"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "../../"
     }
    ]
   }
  ]
 }
}