deepin.deepin-wallpapers: 1.7.5 -> 1.7.7

This commit is contained in:
José Romildo Malaquias 2018-12-14 18:56:23 -02:00
parent 8b09ef4390
commit c40f6d1b36

View file

@ -3,19 +3,21 @@
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "deepin-wallpapers";
version = "1.7.5";
version = "1.7.7";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = "deepin-wallpapers";
rev = version;
sha256 = "0mfjkh81ci0gjwmgycrh32by7v9b73nyvyjbqd29ccpb8bpyyakn";
sha256 = "09cfnxbpms98ibqbi4xd51181q3az5n8rmndcdr9w12kyzniz7xv";
};
nativeBuildInputs = [ dde-api.bin ];
nativeBuildInputs = [ dde-api deepin.setupHook ];
postPatch = ''
sed -i -e "s:/usr/lib/deepin-api:${dde-api.bin}/lib/deepin-api:" Makefile
searchHardCodedPaths # debugging
sed -i -e "s:/usr/lib/deepin-api:${dde-api}/lib/deepin-api:" Makefile
sed -i -e "s:/usr/share/wallpapers:$out/share/wallpapers:" Makefile
'';