deepin.deepin-wm: 1.9.34 -> 1.9.37

This commit is contained in:
José Romildo Malaquias 2018-12-26 18:17:47 -02:00
parent 8c80fca3e7
commit 4846803904

View File

@ -1,49 +1,55 @@
{ stdenv, fetchFromGitHub, pkgconfig, intltool, libtool, vala, gnome3,
bamf, clutter-gtk, pantheon, libcanberra-gtk3, libwnck3,
deepin-mutter, deepin-wallpapers, deepin-desktop-schemas,
hicolor-icon-theme, deepin }:
bamf, clutter-gtk, pantheon, libgee, libcanberra-gtk3, libwnck3,
deepin-menu, deepin-mutter, deepin-wallpapers,
deepin-desktop-schemas, wrapGAppsHook, deepin }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "deepin-wm";
version = "1.9.34";
version = "1.9.37";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "13hydcalifdc6723k8l4pk905y9sxic5x1fqww0fyx7j6b3hm13f";
sha256 = "1xd2x0kyav2cxnk0bybl7lrmak1r2468slxz5a6anrdriw9l10gi";
};
nativeBuildInputs = [
pkgconfig
intltool
libtool
gnome3.gnome-common
vala
gnome3.gnome-common
wrapGAppsHook
deepin.setupHook
];
buildInputs = [
gnome3.gnome-desktop
gnome3.libgee
bamf
clutter-gtk
pantheon.granite
libcanberra-gtk3
libwnck3
deepin-desktop-schemas
deepin-menu
deepin-mutter
deepin-wallpapers
deepin-desktop-schemas
hicolor-icon-theme
gnome3.gnome-desktop
libcanberra-gtk3
libgee
libwnck3
pantheon.granite
];
postPatch = ''
sed -i src/Background/BackgroundSource.vala \
-e 's;/usr/share/backgrounds/default_background.jpg;${deepin-wallpapers}/share/backgrounds/deepin/desktop.jpg;'
searchHardCodedPaths
fixPath ${deepin-wallpapers} /usr/share/backgrounds src/Background/BackgroundSource.vala
# fix background path
sed -i 's|default_background.jpg|deepin/desktop.jpg|' src/Background/BackgroundSource.vala
'';
NIX_CFLAGS_COMPILE = "-DWNCK_I_KNOW_THIS_IS_UNSTABLE";
preConfigure = ''
./autogen.sh
NOCONFIGURE=1 ./autogen.sh
'';
enableParallelBuilding = true;