{
 "app_id": "io.github.dimtpap.coppwr",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.dimtpap.coppwr/master/io.github.dimtpap.coppwr.json",
 "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",
  "--filesystem=xdg-run/pipewire-0"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:10:49.798791+00:00",
 "manifest": {
  "app-id": "io.github.dimtpap.coppwr",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.llvm21"
  ],
  "command": "coppwr",
  "finish-args": [
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--share=ipc",
   "--filesystem=xdg-run/pipewire-0"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm21/bin",
   "prepend-ld-library-path": "/usr/lib/sdk/llvm21/lib"
  },
  "modules": [
   {
    "name": "pipewire",
    "buildsystem": "meson",
    "config-opts": [
     "-Dpw-cat=disabled",
     "-Dsndfile=disabled",
     "-Daudiotestsrc=disabled",
     "-Dvideotestsrc=disabled",
     "-Dvolume=disabled",
     "-Dvulkan=disabled",
     "-Ddocs=disabled",
     "-Dman=disabled",
     "-Dlibcamera=disabled",
     "-Dsystemd=disabled",
     "-Dalsa=enabled",
     "-Dpipewire-alsa=disabled",
     "-Djack=enabled",
     "-Dpipewire-jack=disabled",
     "-Dudev=disabled",
     "-Dudevrulesdir=/app/lib/udev/rules.d/",
     "-Dbluez5=disabled",
     "-Dgstreamer=disabled",
     "-Dsession-managers=[]",
     "-Dexamples=disabled",
     "-Dtests=disabled",
     "-Draop=enabled",
     "-Decho-cancel-webrtc=enabled"
    ],
    "cleanup": [
     "/bin",
     "/include"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.freedesktop.org/pipewire/pipewire.git",
      "tag": "1.4.7",
      "commit": "1c542e9a0ca4226c9befb08fe9c19170aca3ce95"
     }
    ]
   },
   {
    "name": "coppwr",
    "buildsystem": "simple",
    "build-commands": [
     "cargo install --locked --path . --root /app --no-track --all-features",
     "install -Dm644 LICENSE /app/share/licenses/coppwr/LICENSE",
     "install -Dm644 assets/io.github.dimtpap.coppwr.desktop /app/share/applications/io.github.dimtpap.coppwr.desktop",
     "install -Dm644 assets/io.github.dimtpap.coppwr.metainfo.xml /app/share/metainfo/io.github.dimtpap.coppwr.metainfo.xml",
     "install -Dm644 assets/icon/scalable.svg /app/share/icons/hicolor/scalable/apps/io.github.dimtpap.coppwr.svg"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/dimtpap/coppwr/releases/download/1.7.1/coppwr-1.7.1-vendor.tar.gz",
      "sha256": "3ad7374e1cdd8dcc680cf9c61bcdf42eee4b49ed9eddf8c0aabdddb1558b4c1e"
     }
    ]
   }
  ]
 }
}