From 36c53079895c5b5b0bb801e2c5ca96803b4acb08 Mon Sep 17 00:00:00 2001
From: Meiyo Peng <meiyo@riseup.net>
Date: Sun, 9 Jun 2019 18:10:20 +0800
Subject: [PATCH 2/2] gnu: swayidle: Add elogind support.
* gnu/packages/wm.scm (swayidle)[arguments]: Add #:configure-flags.
[inputs]: Add elogind.
---
gnu/packages/wm.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
@@ -1243,7 +1243,10 @@ modules for building a Wayland compositor.")
(sha256
(base32 "04agcbhc473jkk7npb40i94ny8naykxzpjcw2lvl05kxv65y5d9v"))))
(build-system meson-build-system)
- (inputs `(("wayland" ,wayland)))
+ (arguments
+ `(#:configure-flags '("-Dlogind-provider=elogind")))
+ (inputs `(("elogind" ,elogind)
+ ("wayland" ,wayland)))
(native-inputs `(("pkg-config" ,pkg-config)
("scdoc" ,scdoc)
("wayland-protocols" ,wayland-protocols)))
--
2.22.0