{
 "app_id": "io.github.efogdev.mpris-timer",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.efogdev.mpris-timer/master/io.github.efogdev.mpris-timer.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "49",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=dri",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.freedesktop.Notifications",
  "--own-name=org.kde.StatusNotifierItem-2-1",
  "--own-name=org.kde.StatusNotifierItem-3-1"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:11:00.302218+00:00",
 "manifest": {
  "id": "io.github.efogdev.mpris-timer",
  "runtime": "org.gnome.Platform",
  "runtime-version": "49",
  "sdk": "org.gnome.Sdk",
  "command": "play-timer",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.golang"
  ],
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--share=ipc",
   "--device=dri",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--talk-name=org.freedesktop.Notifications",
   "--own-name=org.kde.StatusNotifierItem-2-1",
   "--own-name=org.kde.StatusNotifierItem-3-1"
  ],
  "modules": [
   {
    "name": "play-timer",
    "buildsystem": "simple",
    "build-options": {
     "prepend-path": "/usr/lib/sdk/golang/bin",
     "env": {
      "GOBIN": "/app/bin",
      "GOROOT": "/usr/lib/sdk/golang"
     }
    },
    "build-commands": [
     ". /usr/lib/sdk/golang/enable.sh; export GOPATH=$PWD; go env -w GO111MODULE=off",
     "go build -pgo default.pgo -tags wayland -trimpath -ldflags=\"-s -w\" -o ./.bin/app ./cmd/main.go",
     "install -Dm755 .bin/app $FLATPAK_DEST/bin/play-timer",
     "install -Dm644 internal/ui/res/icon.svg $FLATPAK_DEST/share/icons/hicolor/scalable/apps/$FLATPAK_ID.svg",
     "install -Dm644 misc/$FLATPAK_ID.desktop $FLATPAK_DEST/share/applications/$FLATPAK_ID.desktop",
     "install -Dm644 misc/$FLATPAK_ID.metainfo.xml $FLATPAK_DEST/share/metainfo/$FLATPAK_ID.metainfo.xml",
     "install -Dm644 misc/$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"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/efogdev/mpris-timer",
      "tag": "2.2.2"
     },
     "go.mod.yml"
    ]
   }
  ]
 }
}