lxqt-notificationd: 0.13.0 -> 0.14.0

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

View File

@ -1,15 +1,14 @@
{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, qtx11extras }: { stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, qtx11extras }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "lxqt-notificationd"; pname = "lxqt-notificationd";
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 = "0vjpl3ipc0hrz255snkp99h6xrlid490ml8jb588rdpfina66sp1"; sha256 = "1nawcxy2qnrngcxvwjwmmh4fn7mhnfgy1g77rn90243jvy29wv5f";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -20,6 +19,11 @@ stdenv.mkDerivation rec {
postPatch = '' postPatch = ''
substituteInPlace autostart/CMakeLists.txt \ substituteInPlace autostart/CMakeLists.txt \
--replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg" --replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg"
for f in {config,src}/CMakeLists.txt; do
substituteInPlace $f \
--replace "\''${LXQT_TRANSLATIONS_DIR}" "''${out}/share/lxqt/translations"
done
''; '';
buildInputs = [ buildInputs = [
@ -32,8 +36,6 @@ stdenv.mkDerivation rec {
qtx11extras qtx11extras
]; ];
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "The LXQt notification daemon"; description = "The LXQt notification daemon";
homepage = https://github.com/lxqt/lxqt-notificationd; homepage = https://github.com/lxqt/lxqt-notificationd;