deepin.deepin-wm: 1.9.34 -> 1.9.37
This commit is contained in:
parent
8c80fca3e7
commit
4846803904
|
@ -1,49 +1,55 @@
|
||||||
{ stdenv, fetchFromGitHub, pkgconfig, intltool, libtool, vala, gnome3,
|
{ stdenv, fetchFromGitHub, pkgconfig, intltool, libtool, vala, gnome3,
|
||||||
bamf, clutter-gtk, pantheon, libcanberra-gtk3, libwnck3,
|
bamf, clutter-gtk, pantheon, libgee, libcanberra-gtk3, libwnck3,
|
||||||
deepin-mutter, deepin-wallpapers, deepin-desktop-schemas,
|
deepin-menu, deepin-mutter, deepin-wallpapers,
|
||||||
hicolor-icon-theme, deepin }:
|
deepin-desktop-schemas, wrapGAppsHook, deepin }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
pname = "deepin-wm";
|
pname = "deepin-wm";
|
||||||
version = "1.9.34";
|
version = "1.9.37";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "linuxdeepin";
|
owner = "linuxdeepin";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "13hydcalifdc6723k8l4pk905y9sxic5x1fqww0fyx7j6b3hm13f";
|
sha256 = "1xd2x0kyav2cxnk0bybl7lrmak1r2468slxz5a6anrdriw9l10gi";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgconfig
|
pkgconfig
|
||||||
intltool
|
intltool
|
||||||
libtool
|
libtool
|
||||||
gnome3.gnome-common
|
|
||||||
vala
|
vala
|
||||||
|
gnome3.gnome-common
|
||||||
|
wrapGAppsHook
|
||||||
|
deepin.setupHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gnome3.gnome-desktop
|
|
||||||
gnome3.libgee
|
|
||||||
bamf
|
bamf
|
||||||
clutter-gtk
|
clutter-gtk
|
||||||
pantheon.granite
|
deepin-desktop-schemas
|
||||||
libcanberra-gtk3
|
deepin-menu
|
||||||
libwnck3
|
|
||||||
deepin-mutter
|
deepin-mutter
|
||||||
deepin-wallpapers
|
deepin-wallpapers
|
||||||
deepin-desktop-schemas
|
gnome3.gnome-desktop
|
||||||
hicolor-icon-theme
|
libcanberra-gtk3
|
||||||
|
libgee
|
||||||
|
libwnck3
|
||||||
|
pantheon.granite
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i src/Background/BackgroundSource.vala \
|
searchHardCodedPaths
|
||||||
-e 's;/usr/share/backgrounds/default_background.jpg;${deepin-wallpapers}/share/backgrounds/deepin/desktop.jpg;'
|
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 = ''
|
preConfigure = ''
|
||||||
./autogen.sh
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
Loading…
Reference in New Issue