mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 04:02:10 +00:00
Merge pull request #234014 from wineee/deepin-music-6.2.26
deepin.deepin-music: 6.2.21 -> 6.2.27
This commit is contained in:
commit
2ee8cc9dcc
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue