lxqt-globalkeys: 0.13.0 -> 0.14.0

This commit is contained in:
José Romildo Malaquias 2019-02-05 21:13:36 -02:00
parent db24957703
commit 9e5b3d5368

View File

@ -1,15 +1,14 @@
{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, liblxqt, libqtxdg }: { stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, liblxqt, libqtxdg }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "lxqt-globalkeys"; pname = "lxqt-globalkeys";
version = "0.13.0"; version = "0.14.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lxqt"; owner = "lxqt";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1fmi0n5chnrpbgf7zwzc3hi55r85hkxaq5jylbwaahmxhnb5hdid"; sha256 = "14bfkh54mn3jyq8g9ipy3xmc3n9lmlqpvm26kpqig7567hbncv7n";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -27,13 +26,14 @@ stdenv.mkDerivation rec {
libqtxdg libqtxdg
]; ];
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
postPatch = '' postPatch = ''
for dir in autostart xdg; do for dir in autostart xdg; do
substituteInPlace $dir/CMakeLists.txt \ substituteInPlace $dir/CMakeLists.txt \
--replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg" --replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg"
done done
substituteInPlace config/CMakeLists.txt \
--replace "\''${LXQT_TRANSLATIONS_DIR}" "''${out}/share/lxqt/translations"
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {