guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/09: gnu: Add lxqt-policykit.


From: ???
Subject: 04/09: gnu: Add lxqt-policykit.
Date: Thu, 25 Oct 2018 09:46:52 -0400 (EDT)

iyzsong pushed a commit to branch master
in repository guix.

commit bf0da63aaeb99445de362effe77c72ff9aff942d
Author: Meiyo Peng <address@hidden>
Date:   Thu Oct 18 14:24:20 2018 +0800

    gnu: Add lxqt-policykit.
    
    * gnu/packages/lxqt.scm (lxqt-policykit): New variable.
    
    Signed-off-by: 宋文武 <address@hidden>
---
 gnu/packages/lxqt.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index 31b7a5a..7cc077e 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -527,6 +527,50 @@ according to the Desktop Notifications Specification.")
     (description "lxqt-panel represents the taskbar of LXQt.")
     (license license:lgpl2.1+)))
 
+(define-public lxqt-policykit
+  (package
+    (name "lxqt-policykit")
+    (version "0.13.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/lxqt/"; name 
"/releases/download/"
+                           version "/" name "-" version ".tar.xz"))
+       (sha256
+        (base32 "1d97fys6625nk4q6irp0jhsbk30xi7idnii1f3vrrrdcl2cahagp"))))
+    (build-system cmake-build-system)
+    (inputs
+     `(("kwindowsystem" ,kwindowsystem)
+       ("liblxqt" ,liblxqt)
+       ("libqtxdg" ,libqtxdg)
+       ("pcre" ,pcre)
+       ("polkit-qt" ,polkit-qt)
+       ("qtbase" ,qtbase)
+       ("qtsvg" ,qtsvg)
+       ("qtx11extras" ,qtx11extras)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("polkit" ,polkit)
+       ("lxqt-build-tools" ,lxqt-build-tools)
+       ("qttools" ,qttools)))
+    (arguments
+     '(#:tests? #f                      ; no test target
+       #:configure-flags
+       '("-DPULL_TRANSLATIONS=NO")
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-source
+           (lambda _
+             (substitute* '("autostart/CMakeLists.txt")
+               (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
+                "DESTINATION \"${CMAKE_INSTALL_PREFIX}/etc/xdg"))
+             #t)))))
+    (home-page "https://lxqt.org/";)
+    (synopsis "The LXQt PolicyKit agent")
+    (description "lxqt-policykit is the polkit authentification agent of
+LXQt.")
+    (license license:lgpl2.1+)))
+
 (define-public lxqt-runner
   (package
     (name "lxqt-runner")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]