summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2017-11-01 23:56:20 -0200
committerJosé Romildo Malaquias <malaquias@gmail.com>2017-11-01 23:56:20 -0200
commit95ace38efdf6426c48e9038847f5ec95c463c95b (patch)
tree76e88c5657882964b5df2dead11f14b9a08a4275
parent902ec14a9b08e65635b332969c54ad178bd690c0 (diff)
downloadnixlib-95ace38efdf6426c48e9038847f5ec95c463c95b.tar
nixlib-95ace38efdf6426c48e9038847f5ec95c463c95b.tar.gz
nixlib-95ace38efdf6426c48e9038847f5ec95c463c95b.tar.bz2
nixlib-95ace38efdf6426c48e9038847f5ec95c463c95b.tar.lz
nixlib-95ace38efdf6426c48e9038847f5ec95c463c95b.tar.xz
nixlib-95ace38efdf6426c48e9038847f5ec95c463c95b.tar.zst
nixlib-95ace38efdf6426c48e9038847f5ec95c463c95b.zip
lxqt-notificationd: 0.11.1 -> 0.12.0
-rw-r--r--pkgs/desktops/lxqt/core/lxqt-notificationd/default.nix14
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/desktops/lxqt/core/lxqt-notificationd/default.nix b/pkgs/desktops/lxqt/core/lxqt-notificationd/default.nix
index 8aea9a6458b3..061a8522a6fe 100644
--- a/pkgs/desktops/lxqt/core/lxqt-notificationd/default.nix
+++ b/pkgs/desktops/lxqt/core/lxqt-notificationd/default.nix
@@ -1,15 +1,15 @@
-{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, lxqt-common, qtx11extras }:
+{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, qtx11extras }:
 
 stdenv.mkDerivation rec {
   name = "${pname}-${version}";
   pname = "lxqt-notificationd";
-  version = "0.11.1";
+  version = "0.12.0";
 
-  srcs = fetchFromGitHub {
+  src = fetchFromGitHub {
     owner = "lxde";
     repo = pname;
     rev = version;
-    sha256 = "1n39zjczzhqn73vfyjngybmk9w8j1z3vjkaq80rf2hk89vwsm0wc";
+    sha256 = "0pmpdqgnb2dfxw5lirh89j8hnrwwcn2zc64byg4zi0xdvq6qms43";
   };
 
   nativeBuildInputs = [
@@ -17,6 +17,11 @@ stdenv.mkDerivation rec {
     lxqt-build-tools
   ];
 
+  postPatch = ''
+    substituteInPlace autostart/CMakeLists.txt \
+      --replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg"
+  '';
+
   buildInputs = [
     qtbase
     qttools
@@ -24,7 +29,6 @@ stdenv.mkDerivation rec {
     kwindowsystem
     liblxqt
     libqtxdg
-    lxqt-common
     qtx11extras
   ];