{
 "app_id": "io.gitlab.azymohliad.WatchMate",
 "source_url": "https://raw.githubusercontent.com/flathub/io.gitlab.azymohliad.WatchMate/master/io.gitlab.azymohliad.WatchMate.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "49",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--allow=bluetooth",
  "--talk-name=org.mpris.MediaPlayer2.*",
  "--system-talk-name=org.bluez"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-20T15:27:25.021299+00:00",
 "manifest": {
  "id": "io.gitlab.azymohliad.WatchMate",
  "runtime": "org.gnome.Platform",
  "runtime-version": "49",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "watchmate",
  "finish-args": [
   "--allow=bluetooth",
   "--share=ipc",
   "--share=network",
   "--device=dri",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--system-talk-name=org.bluez",
   "--talk-name=org.mpris.MediaPlayer2.*"
  ],
  "modules": [
   {
    "name": "watchmate",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin",
     "env": {
      "CARGO_HOME": "/run/build/watchmate/cargo"
     }
    },
    "build-commands": [
     "cargo --offline fetch --manifest-path Cargo.toml --verbose",
     "cargo --offline build --release --verbose",
     "install -Dm 755 target/release/watchmate -t /app/bin",
     "install -Dm 644 assets/${FLATPAK_ID}.desktop -t /app/share/applications",
     "install -Dm 644 assets/${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo",
     "install -Dm 644 assets/${FLATPAK_ID}.gschema.xml -t /app/share/glib-2.0/schemas",
     "install -Dm 644 assets/icons/${FLATPAK_ID}.svg -t /app/share/icons/hicolor/scalable/apps",
     "install -Dm 644 assets/icons/${FLATPAK_ID}-symbolic.svg -t /app/share/icons/hicolor/symbolic/apps",
     "glib-compile-schemas /app/share/glib-2.0/schemas"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/azymohliad/watchmate",
      "commit": "f49836f9df37e42aea27012bb6fd976a787ec428",
      "tag": "v0.5.3"
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}