deepin.dde-session-ui: 4.6.2 -> 4.9.0

This commit is contained in:
José Romildo Malaquias 2018-11-14 10:27:51 -02:00
parent fe14523321
commit 4a00f98f27

View file

@ -1,18 +1,18 @@
{ stdenv, fetchFromGitHub, pkgconfig, qmake, qtsvg, qttools,
qtx11extras, xkeyboard_config, xorg, lightdm_qt, gsettings-qt,
dde-qt-dbus-factory, deepin-gettext-tools, dtkcore, dtkwidget,
hicolor-icon-theme, deepin }:
deepin-desktop-schemas, deepin, hicolor-icon-theme, wrapGAppsHook }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "dde-session-ui";
version = "4.6.2";
version = "4.9.0";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "1fxlrj7vv7nqllwpwc8mxiv9bfqcj9b2qwkpjaq326pfmg5p5lhq";
sha256 = "1bh7wbkzikcnka94nzqzl87cs2m6bslrv9r2hdsvqqr3aaad5za3";
};
nativeBuildInputs = [
@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
qmake
qttools
deepin-gettext-tools
wrapGAppsHook
deepin.setupHook
];
buildInputs = [
@ -35,10 +37,13 @@ stdenv.mkDerivation rec {
xorg.libXtst
xkeyboard_config
hicolor-icon-theme
deepin-desktop-schemas
];
postPatch = ''
patchShebangs .
searchHardCodedPaths
patchShebangs translate_generation.sh
patchShebangs translate_desktop.sh
sed -i translate_desktop.sh -e "s,/usr/bin/deepin-desktop-ts-convert,deepin-desktop-ts-convert,"
find -type f -exec sed -i -e "s,path = /etc,path = $out/etc," {} +
find -type f -exec sed -i -e "s,path = /usr,path = $out," {} +