{
 "app_id": "space.f1nn.chorus",
 "source_url": "https://raw.githubusercontent.com/flathub/space.f1nn.chorus/master/space.f1nn.chorus.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--talk-name=org.mpris.MediaPlayer2.*"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:17:25.431908+00:00",
 "manifest": {
  "id": "space.f1nn.chorus",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "chorus",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.golang"
  ],
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--share=ipc",
   "--share=network",
   "--talk-name=org.mpris.MediaPlayer2.*"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/golang/bin",
   "env": {
    "GOFLAGS": "-mod=vendor",
    "GOCACHE": "/run/ccache/go-build"
   }
  },
  "modules": [
   {
    "name": "chorus",
    "buildsystem": "simple",
    "build-commands": [
     "go build -o chorus ./cmd/chorus",
     "install -Dm755 chorus ${FLATPAK_DEST}/bin/chorus",
     "install -Dm644 data/${FLATPAK_ID}.gschema.xml ${FLATPAK_DEST}/share/glib-2.0/schemas/${FLATPAK_ID}.gschema.xml",
     "glib-compile-schemas ${FLATPAK_DEST}/share/glib-2.0/schemas",
     "install -Dm644 data/${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm644 data/${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml",
     "install -Dm644 data/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg",
     "install -Dm644 data/icons/hicolor/symbolic/apps/${FLATPAK_ID}-symbolic.svg ${FLATPAK_DEST}/share/icons/hicolor/symbolic/apps/${FLATPAK_ID}-symbolic.svg"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/f1nniboy/chorus.git",
      "tag": "v0.6.1",
      "commit": "08c9f6cb37fc66f8e4cd534bb222ba798bb78be0",
      "x-checker-data": {
       "type": "git"
      }
     },
     "go.mod.yml"
    ]
   }
  ]
 }
}