46 withIpod = config.clementine.ipod or false;
47 withMTP = config.clementine.mtp or true;
48 withCD = config.clementine.cd or true;
49 withCloud = config.clementine.cloud or true;
53 version = "1.4.rc2-unstable-2024-05-12";
55 src = fetchFromGitHub {
56 owner = "clementine-player";
58 rev = "7607ddcb96e79d373c4b60d9de21f3315719c7d8";
59 sha256 = "sha256-yOG/Je6N8YEsu5AOtxOFgDl3iqb97assYMZYMSwQqqk=";
81 gst_all_1.gst-plugins-base
82 gst_all_1.gst-plugins-bad
100 # gst_plugins needed for setup-hooks
102 ++ lib.optionals (withIpod) [ libgpod libplist usbmuxd ]
103 ++ lib.optionals (withMTP) [ libmtp ]
104 ++ lib.optionals (withCD) [ libcdio ]
105 ++ lib.optionals (withCloud) [ sparsehash ];
108 sed -i src/CMakeLists.txt \
110 -e 's,-Wno-unknown-warning-option,,g' \
111 -e 's,-Wno-unused-private-field,,g'
112 sed -i CMakeLists.txt \
113 -e 's,libprotobuf.a,protobuf,g'
117 rm -rf ext/{,lib}clementine-spotifyblob
121 "-DFORCE_GIT_REVISION=1.3.1"
122 "-DUSE_SYSTEM_PROJECTM=ON"
127 wrapProgram $out/bin/clementine \
128 --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
132 homepage = "https://www.clementine-player.org";
133 description = "Multiplatform music player";
134 license = licenses.gpl3Plus;
135 platforms = platforms.linux;
136 maintainers = [ maintainers.ttuegel ];