{
 "app_id": "com.yktoo.ymuse",
 "source_url": "https://raw.githubusercontent.com/flathub/com.yktoo.ymuse/master/com.yktoo.ymuse.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:09:11.255623+00:00",
 "manifest": {
  "app-id": "com.yktoo.ymuse",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.golang"
  ],
  "command": "ymuse",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland"
  ],
  "modules": [
   {
    "name": "ymuse",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/golang/bin",
     "env": {
      "GOPATH": "/run/build/ymuse/.go"
     }
    },
    "build-commands": [
     "find vendor/ -type d -name '*@v*' | while read d; do mv \"$d\" \"$(echo \"$d\" | sed -E 's/@v.*//')\"; done",
     "go generate",
     "go build -mod=vendor -ldflags \"-s -w -X main.version=$(git describe --always --tags) -X main.commit=$(git rev-parse HEAD) -X main.date=$(git log -1 --format=%cd --date=iso-strict)\"",
     "install -Dm755 -t /app/bin/ ./ymuse",
     "mkdir -p /app/share/icons /app/share/locale",
     "install -Dm644 resources/com.yktoo.ymuse.desktop -t /app/share/applications/",
     "install -Dm644 resources/metainfo/com.yktoo.ymuse.appdata.xml -t /app/share/metainfo/",
     "cp -r resources/i18n/generated/* /app/share/locale/",
     "cp -r resources/icons/hicolor    /app/share/icons/"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/yktoo/ymuse",
      "tag": "v0.22",
      "commit": "b7b01d9db61a7d99b9d1e5aa62580274790188da"
     },
     {
      "type": "file",
      "path": "com.yktoo.ymuse.appdata.xml",
      "dest": "resources/metainfo"
     },
     {
      "type": "file",
      "path": "modules.txt",
      "dest": "vendor"
     },
     {
      "type": "archive",
      "url": "https://proxy.golang.org/github.com/fhs/gompd/v2/@v/v2.3.0.zip",
      "strip-components": 0,
      "dest": "vendor",
      "sha256": "8c45edf02baf54748904efc1585e22ced6376029123ba931c696a1676ef76ff3"
     },
     {
      "type": "archive",
      "url": "https://proxy.golang.org/github.com/gotk3/gotk3/@v/v0.6.2.zip",
      "strip-components": 0,
      "dest": "vendor",
      "sha256": "7d7dae0d111d61872ab6df6d8055bfa5aafc57383295f260705174ce25160d95"
     },
     {
      "type": "archive",
      "url": "https://proxy.golang.org/github.com/op/go-logging/@v/v0.0.0-20160315200505-970db520ece7.zip",
      "strip-components": 0,
      "dest": "vendor",
      "sha256": "c506eace74028656eb28677a4c162f9c023ce2f9c0207354ba80cca89f11b461"
     },
     {
      "type": "archive",
      "url": "https://proxy.golang.org/github.com/pkg/errors/@v/v0.9.1.zip",
      "strip-components": 0,
      "dest": "vendor",
      "sha256": "d4c36b8bcd0616290a3913215e0f53b931bd6e00670596f2960df1b44af2bd07"
     }
    ]
   }
  ]
 }
}