{
 "app_id": "org.clementine_player.Clementine",
 "source_url": "https://raw.githubusercontent.com/flathub/org.clementine_player.Clementine/master/org.clementine_player.Clementine.yaml",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15-25.08",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=/media",
  "--filesystem=xdg-music",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--filesystem=/mnt",
  "--filesystem=/run/media",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.wiimotedev.deviceEvents",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.mpris.MediaPlayer2.Player",
  "--own-name=org.kde.StatusNotifierItem-2-2",
  "--own-name=org.mpris.MediaPlayer2.clementine",
  "--system-talk-name=org.freedesktop.Avahi",
  "--system-talk-name=org.freedesktop.UDisks2"
 ],
 "module_count": 13,
 "fetched_at": "2026-09-17T16:14:17.024734+00:00",
 "manifest": {
  "app-id": "org.clementine_player.Clementine",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.15-25.08",
  "sdk": "org.kde.Sdk",
  "command": "clementine",
  "finish-args": [
   "--device=dri",
   "--filesystem=/media",
   "--filesystem=/mnt",
   "--filesystem=/run/media",
   "--filesystem=xdg-music",
   "--own-name=org.kde.StatusNotifierItem-2-2",
   "--own-name=org.mpris.MediaPlayer2.clementine",
   "--share=ipc",
   "--share=network",
   "--socket=pulseaudio",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--system-talk-name=org.freedesktop.Avahi",
   "--system-talk-name=org.freedesktop.UDisks2",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--talk-name=org.mpris.MediaPlayer2.Player",
   "--talk-name=org.wiimotedev.deviceEvents"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/share/doc",
   "/share/gtk-doc",
   "/share/info",
   "/share/man",
   "/lib/*.a",
   "/lib/*.la"
  ],
  "modules": [
   "shared-modules/glew/glew.json",
   "shared-modules/glu/glu-9.json",
   "shared-modules/linux-audio/fftw3f.json",
   {
    "name": "libmtp",
    "config-opts": [
     "--disable-static",
     "--with-udev=/app/lib/udev"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/libmtp/libmtp/releases/download/v1.1.22/libmtp-1.1.22.tar.gz",
      "sha256": "c3fcf411aea9cb9643590cbc9df99fa5fe30adcac695024442973d76fa5f87bc",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 10017,
       "url-template": "https://github.com/libmtp/libmtp/releases/download/v$version/libmtp-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "boost",
    "buildsystem": "simple",
    "build-commands": [
     "./bootstrap.sh --prefix=\"${FLATPAK_DEST}\"",
     "./b2 -j ${FLATPAK_BUILDER_N_JOBS} headers",
     "cp -r boost \"${FLATPAK_DEST}/include/boost\""
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://archives.boost.io/release/1.89.0/source/boost_1_89_0.tar.bz2",
      "sha256": "85a33fa22621b4f314f8e85e1a5e2a9363d22e4f4992925d4bb3bc631b5a0c7a",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 6845,
       "stable-only": true,
       "url-template": "https://archives.boost.io/release/$version/source/boost_${major}_${minor}_$patch.tar.bz2"
      }
     }
    ]
   },
   {
    "name": "protobuf",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-Dprotobuf_BUILD_TESTS=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/protocolbuffers/protobuf/archive/v33.0.tar.gz",
      "sha256": "b6b03fbaa3a90f3d4f2a3fa4ecc41d7cd0326f92fcc920a7843f12206c8d52cd",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 3715,
       "stable-only": true,
       "url-template": "https://github.com/protocolbuffers/protobuf/archive/v$version.tar.gz"
      }
     }
    ],
    "cleanup": [
     "/bin"
    ]
   },
   {
    "name": "chromaprint",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_SHARED_LIBS=ON"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/acoustid/chromaprint/releases/download/v1.6.0/chromaprint-1.6.0.tar.gz",
      "sha256": "9d33482e56a1389a37a0d6742c376139fa43e3b8a63d29003222b93db2cb40da",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 286,
       "stable-only": true,
       "url-template": "https://github.com/acoustid/chromaprint/releases/download/v$version/chromaprint-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "libcdio",
    "config-opts": [
     "--without-cd-drive",
     "--without-cd-info",
     "--without-cdda-player",
     "--without-cd-read",
     "--without-iso-info",
     "--without-iso-read",
     "--with-pic",
     "--disable-static"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/libcdio/libcdio/releases/download/2.2.0/libcdio-2.2.0.tar.bz2",
      "sha256": "6f8fbdf4d189cf63f2a7a1549c516cd720c7b222c7aaadbc924a26e745a48539",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1573,
       "stable-only": true,
       "url-template": "https://github.com/libcdio/libcdio/releases/download/$version/libcdio-$version.tar.bz2"
      }
     }
    ],
    "cleanup": [
     "/bin"
    ]
   },
   {
    "name": "cryptopp",
    "only-arches": [
     "x86_64"
    ],
    "no-autogen": true,
    "make-args": [
     "libcryptopp.so"
    ],
    "make-install-args": [
     "PREFIX=/app"
    ],
    "post-install": [
     "install -Dm644 -t \"${FLATPAK_DEST}/lib/pkgconfig/\" libcrypto++.pc"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/weidai11/cryptopp/archive/CRYPTOPP_8_9_0.tar.gz",
      "sha256": "ab5174b9b5c6236588e15a1aa1aaecb6658cdbe09501c7981ac8db276a24d9ab",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 14487,
       "stable-only": true,
       "url-template": "https://github.com/weidai11/cryptopp/archive/CRYPTOPP_${major}_${minor}_$patch.tar.gz"
      }
     },
     {
      "type": "file",
      "path": "patches/libcrypto++.pc"
     }
    ]
   },
   {
    "name": "libmygpo-qt",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_SHARED_LIBS=ON"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/gpodder/libmygpo-qt/archive/1.2.0.tar.gz",
      "sha256": "71d6461939be14c044d1688bd3381cb3a724c0acb292d34fe63b9c677a4d2247",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1671,
       "stable-only": true,
       "url-template": "https://github.com/gpodder/libmygpo-qt/archive/$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "sparsehash",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/sparsehash/sparsehash/archive/sparsehash-2.0.4.tar.gz",
      "sha256": "8cd1a95827dfd8270927894eb77f62b4087735cbede953884647f16c521c7e58",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 4863,
       "stable-only": true,
       "url-template": "https://github.com/sparsehash/sparsehash/archive/sparsehash-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "liblastfm",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "build-options": {
     "cxxflags": "-std=c++14"
    },
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/lastfm/liblastfm/archive/1.1.0.tar.gz",
      "sha256": "f61f0daa384e081a8f2bd2f7a2148babff22696e5b72ecdac86940a10100b1c8",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1651,
       "stable-only": true,
       "url-template": "https://github.com/lastfm/liblastfm/archive/$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "clementine",
    "builddir": true,
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DFORCE_GIT_REVISION:STRING=1.4.1-50-ge281c4508",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "post-install": [
     "install -Dm644 -t \"${FLATPAK_DEST}/share/metainfo\" ../org.clementine_player.Clementine.appdata.xml"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/clementine-player/Clementine/releases/download/1.4.1-58-gbae968a2f/clementine-1.4.1-58-gbae968a2f.tar.xz",
      "sha256": "484a05b3bf4ad6ccd2dcabccfb5e29ae0752bf53cc8be99fdf6c0b92573f54e4",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 295,
       "stable-only": true,
       "url-template": "https://github.com/clementine-player/Clementine/releases/download/$version/clementine-$version.tar.xz"
      }
     },
     {
      "type": "patch",
      "path": "patches/icon-size.patch"
     },
     {
      "type": "patch",
      "path": "patches/clementine.save_playlists_to_xdg-config-home.patch"
     },
     {
      "type": "patch",
      "path": "patches/0001-Remove-CMP0053-policy-from-CMake.patch"
     },
     {
      "type": "patch",
      "path": "patches/0001-Remove-CMP0005-from-libprojectm-CMakeLists.txt.patch"
     },
     {
      "type": "patch",
      "path": "patches/0001-Remove-CMP0017-from-libprojectm-CMakeLists.txt.patch"
     },
     {
      "type": "file",
      "path": "org.clementine_player.Clementine.appdata.xml"
     }
    ]
   }
  ]
 }
}