{
 "app_id": "io.github.dividebysandwich.rusty-pipes",
 "source_url": "https://raw.githubusercontent.com/dividebysandwich/rusty-pipes/main/io.github.dividebysandwich.rusty-pipes.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--share=ipc",
  "--socket=pulseaudio",
  "--filesystem=xdg-run/pipewire-0",
  "--filesystem=xdg-run/jack",
  "--filesystem=xdg-music",
  "--device=all"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-20T12:58:32.906783+00:00",
 "manifest": {
  "app-id": "io.github.dividebysandwich.rusty-pipes",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.llvm20"
  ],
  "command": "rusty-pipes",
  "finish-args": [
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--share=ipc",
   "--socket=pulseaudio",
   "--filesystem=xdg-run/pipewire-0",
   "--filesystem=xdg-run/jack",
   "--filesystem=xdg-music",
   "--device=all"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin"
  },
  "modules": [
   {
    "name": "rusty-pipes",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "SWAGGER_UI_DOWNLOAD_URL": "file:///run/build/rusty-pipes/swagger-ui.zip",
      "CMAKE_POLICY_VERSION_MINIMUM": "3.5",
      "LIBCLANG_PATH": "/usr/lib/sdk/llvm20/lib"
     }
    },
    "build-commands": [
     "cargo --offline fetch --manifest-path Cargo.toml",
     "CLANG_VERSION=$(ls /usr/lib/sdk/llvm20/lib/clang)\nexport BINDGEN_EXTRA_CLANG_ARGS=\"-I/usr/lib/sdk/llvm20/lib/clang/$CLANG_VERSION/include\"\ncargo --offline build --release --manifest-path Cargo.toml\n",
     "install -D target/release/rusty-pipes /app/bin/rusty-pipes",
     "install -D -m 644 assets/rusty-pipes.png /app/share/icons/hicolor/128x128/apps/io.github.dividebysandwich.rusty-pipes.png",
     "install -D -m 644 assets/rusty-pipes.desktop /app/share/applications/io.github.dividebysandwich.rusty-pipes.desktop"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "."
     },
     {
      "type": "file",
      "url": "https://github.com/swagger-api/swagger-ui/archive/refs/tags/v5.17.14.zip",
      "sha256": "481244d0812097b11fbaeef79f71d942b171617f9c9f9514e63acbe13e71ccdc",
      "dest-filename": "swagger-ui.zip"
     }
    ]
   }
  ]
 }
}