{
 "app_id": "org.feichtmeier.Musicpod",
 "source_url": "https://raw.githubusercontent.com/flathub/org.feichtmeier.Musicpod/master/org.feichtmeier.Musicpod.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "26.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-music",
  "--talk-name=org.gnome.SessionManager",
  "--own-name=org.mpris.MediaPlayer2.musicpod.*",
  "--system-talk-name=org.freedesktop.NetworkManager"
 ],
 "module_count": 6,
 "fetched_at": "2026-09-20T12:23:39.752153+00:00",
 "manifest": {
  "app-id": "org.feichtmeier.Musicpod",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "26.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "musicpod",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--filesystem=xdg-music",
   "--device=dri",
   "--socket=pulseaudio",
   "--env=TMPDIR=/var/tmp",
   "--own-name=org.mpris.MediaPlayer2.musicpod.*",
   "--talk-name=org.gnome.SessionManager",
   "--system-talk-name=org.freedesktop.NetworkManager"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/share/man",
   "*.la"
  ],
  "modules": [
   {
    "name": "libmpv",
    "buildsystem": "meson",
    "config-opts": [
     "-Dbuild-date=false",
     "-Dlibmpv=true",
     "-Dcplayer=false",
     "-Dmanpage-build=disabled",
     "-Dalsa=disabled"
    ],
    "cleanup": [
     "/share/applications",
     "/share/bash-completion",
     "/share/icons",
     "/share/zsh"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/mpv-player/mpv/archive/v0.41.0.tar.gz",
      "sha256": "ee21092a5ee427353392360929dc64645c54479aefdb5babc5cfbb5fad626209",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5348,
       "stable-only": true,
       "url-template": "https://github.com/mpv-player/mpv/archive/v$version.tar.gz"
      }
     }
    ],
    "modules": [
     {
      "name": "libass",
      "config-opts": [
       "--disable-static"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://github.com/libass/libass/releases/download/0.17.4/libass-0.17.4.tar.xz",
        "sha256": "78f1179b838d025e9c26e8fef33f8092f65611444ffa1bfc0cfac6a33511a05a",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 1560,
         "stable-only": true,
         "url-template": "https://github.com/libass/libass/releases/download/$version/libass-$version.tar.xz"
        }
       }
      ]
     },
     {
      "name": "libplacebo",
      "buildsystem": "meson",
      "sources": [
       {
        "type": "git",
        "url": "https://github.com/haasn/libplacebo.git",
        "commit": "cee9b076f2c63104ccfd497fa79c39a867293ec4",
        "tag": "v7.360.1",
        "x-checker-data": {
         "type": "git",
         "tag-pattern": "^v([\\d.]+)$"
        }
       }
      ]
     },
     {
      "name": "uchardet",
      "buildsystem": "cmake-ninja",
      "config-opts": [
       "-DCMAKE_BUILD_TYPE=Release",
       "-DBUILD_STATIC=0",
       "-DBUILD_BINARY=OFF",
       "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.8.tar.xz",
        "sha256": "e97a60cfc00a1c147a674b097bb1422abd9fa78a2d9ce3f3fdcc2e78a34ac5f0",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 9265,
         "stable-only": true,
         "url-template": "https://www.freedesktop.org/software/uchardet/releases/uchardet-$version.tar.xz"
        }
       }
      ]
     },
     {
      "name": "squashfs-tools",
      "cleanup": [
       "*"
      ],
      "buildsystem": "simple",
      "build-commands": [
       "XZ_SUPPORT=1 LZO_SUPPORT=0 make -C squashfs-tools -j ${FLATPAK_BUILDER_N_JOBS} install INSTALL_DIR=${FLATPAK_DEST}/bin INSTALL_MANPAGES_DIR=${FLATPAK_DEST}/man/man1"
      ],
      "sources": [
       {
        "type": "git",
        "url": "https://github.com/plougher/squashfs-tools.git",
        "tag": "4.7.4",
        "commit": "bad1d213ab6df587d6fa0ef7286180fbf7b86167",
        "x-checker-data": {
         "type": "git",
         "versions": {
          "<": "4.7.5"
         }
        }
       }
      ]
     },
     {
      "name": "musicpod",
      "buildsystem": "simple",
      "build-commands": [
       "unsquashfs -quiet -no-progress musicpod.snap",
       "cp -r squashfs-root/bin /app",
       "install -Dm644 squashfs-root/meta/gui/musicpod.desktop /app/share/applications/org.feichtmeier.Musicpod.desktop",
       "desktop-file-edit --set-icon=org.feichtmeier.Musicpod /app/share/applications/org.feichtmeier.Musicpod.desktop",
       "install -Dm644 squashfs-root/meta/gui/musicpod.png /app/share/icons/hicolor/256x256/apps/org.feichtmeier.Musicpod.png",
       "install -Dm644 org.feichtmeier.Musicpod.metainfo.xml -t /app/share/metainfo/"
      ],
      "sources": [
       {
        "type": "file",
        "path": "org.feichtmeier.Musicpod.metainfo.xml"
       },
       {
        "type": "file",
        "url": "https://raw.githubusercontent.com/ubuntu-flutter-community/musicpod/231e4c2c8769ce27604e4a50ff119c733a1d35da/LICENSE",
        "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986"
       },
       {
        "type": "file",
        "dest-filename": "musicpod.snap",
        "only-arches": [
         "x86_64"
        ],
        "url": "https://api.snapcraft.io/api/v1/snaps/download/sxdOSGRbzsWhPmGrkYYAs68rzieTrIiv_2575.snap",
        "sha256": "d9d92e16e9ea3ccbe10e16c43362748c1d8c8532dd0cfd826631662f7d4d77af",
        "x-checker-data": {
         "type": "snapcraft",
         "name": "musicpod",
         "channel": "stable",
         "architecture": "amd64",
         "is-main-source": true
        }
       },
       {
        "type": "file",
        "dest-filename": "musicpod.snap",
        "only-arches": [
         "aarch64"
        ],
        "url": "https://api.snapcraft.io/api/v1/snaps/download/sxdOSGRbzsWhPmGrkYYAs68rzieTrIiv_2574.snap",
        "sha256": "1657ab7dd41eac1401524b7db84977df546061ae7e668445ecaae1e72798184c",
        "x-checker-data": {
         "type": "snapcraft",
         "name": "musicpod",
         "channel": "stable",
         "architecture": "arm64",
         "is-main-source": true
        }
       }
      ]
     }
    ]
   }
  ]
 }
}