{
 "app_id": "io.github.go_musicfox.go-musicfox",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.go_musicfox.go-musicfox/master/io.github.go_musicfox.go-musicfox.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--socket=pulseaudio",
  "--talk-name=org.freedesktop.Notifications",
  "--own-name=org.mpris.MediaPlayer2.musicfox.*"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:11:10.158462+00:00",
 "manifest": {
  "id": "io.github.go_musicfox.go-musicfox",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.golang"
  ],
  "command": "musicfox",
  "finish-args": [
   "--share=network",
   "--socket=pulseaudio",
   "--talk-name=org.freedesktop.Notifications",
   "--own-name=org.mpris.MediaPlayer2.musicfox.*"
  ],
  "build-options": {
   "env": [
    "GOBIN=/app/bin",
    "GOROOT=/usr/lib/sdk/golang"
   ],
   "append-path": "/usr/lib/sdk/golang/bin"
  },
  "modules": [
   {
    "name": "musicfox",
    "buildsystem": "simple",
    "build-commands": [
     "make",
     "install -Dm00755 bin/musicfox ${FLATPAK_DEST}/bin/musicfox",
     "ffmpeg -hide_banner -i previews/logo.png -vf scale=512:512 app-icon.png",
     "install -Dm00644 app-icon.png ${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png",
     "desktop-file-edit deploy/musicfox.desktop --set-key=Icon --set-value=\"${FLATPAK_ID}\"",
     "install -Dm00644 deploy/musicfox.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm00644 io.github.go_musicfox.go-musicfox.appdata.xml -t ${FLATPAK_DEST}/share/metainfo"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/go-musicfox/go-musicfox.git",
      "tag": "v4.8.5",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 376106,
       "stable-only": true,
       "tag-template": "v$version"
      },
      "commit": "525209fe5c6680f4da6e8ca3929b889ffa937e09"
     },
     {
      "type": "file",
      "path": "io.github.go_musicfox.go-musicfox.appdata.xml"
     }
    ]
   }
  ]
 }
}