diff --git a/pkgs/desktops/deepin/apps/deepin-music/default.nix b/pkgs/desktops/deepin/apps/deepin-music/default.nix index 6ac8a91b8e9f..ecd7fde5944d 100644 --- a/pkgs/desktops/deepin/apps/deepin-music/default.nix +++ b/pkgs/desktops/deepin/apps/deepin-music/default.nix @@ -16,6 +16,7 @@ , kcodecs , ffmpeg , libvlc +, libpulseaudio , libcue , taglib , gsettings-qt @@ -27,21 +28,18 @@ stdenv.mkDerivation rec { pname = "deepin-music"; - version = "6.2.21"; + version = "6.2.27"; src = fetchFromGitHub { owner = "linuxdeepin"; repo = pname; rev = version; - sha256 = "sha256-sN611COCWy1gF/BZZqZ154uYuRo9HsbJw2wXe9OJ+iQ="; + sha256 = "sha256-0adAAQe9WG1G+JcxD4ypYyYE4MrRijfuj/VBno2WsLk="; }; postPatch = '' substituteInPlace src/music-player/CMakeLists.txt \ - --replace "/usr/include/vlc" "${libvlc}/include/vlc" \ - --replace "/usr/share" "$out/share" - substituteInPlace src/libmusic-plugin/CMakeLists.txt \ - --replace "/usr/lib/deepin-aiassistant" "$out/lib/deepin-aiassistant" + --replace "/usr/include/vlc" "${libvlc}/include/vlc" substituteInPlace src/music-player/data/deepin-music.desktop \ --replace "/usr/bin/deepin-music" "$out/bin/deepin-music" ''; @@ -65,6 +63,7 @@ stdenv.mkDerivation rec { kcodecs ffmpeg libvlc + libpulseaudio libcue taglib gsettings-qt