aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMeiyo Peng <meiyo.peng@gmail.com>2018-10-18 11:11:36 +0800
committer宋文武 <iyzsong@member.fsf.org>2018-10-24 22:37:24 +0800
commitdbb4f7d0a654cdcc210ddf7cb9b99ea688dfc379 (patch)
tree6c34ee29618935bb4cb5d9dbacbd65ca4723d3c8 /gnu
parentcc7f4175728a651b4a9763bd9e6c3c5b5a44c547 (diff)
downloadpatches-dbb4f7d0a654cdcc210ddf7cb9b99ea688dfc379.tar
patches-dbb4f7d0a654cdcc210ddf7cb9b99ea688dfc379.tar.gz
gnu: Add lxqt-sudo.
* gnu/packages/lxqt.scm (lxqt-sudo): New variable. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/lxqt.scm37
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index 0253cb48fb..cc8b6f6066 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -30,6 +30,7 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (gnu packages)
+ #:use-module (gnu packages admin)
#:use-module (gnu packages documentation)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages glib)
@@ -414,3 +415,39 @@ allows for launching applications or shutting down the system.")
(description "lxqt-session provides the standard session manager
for the LXQt desktop environment.")
(license lgpl2.1+)))
+
+(define-public lxqt-sudo
+ (package
+ (name "lxqt-sudo")
+ (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 "1j28wlw4rkzvr85yl78fqkvz7sv7dykm9ghm63xdkskfjbsas1cf"))))
+ (build-system cmake-build-system)
+ (inputs
+ `(("kwindowsystem" ,kwindowsystem)
+ ("liblxqt" ,liblxqt)
+ ("libqtxdg" ,libqtxdg)
+ ("qtbase" ,qtbase)
+ ("qtsvg" ,qtsvg)
+ ("qtx11extras" ,qtx11extras)
+ ("sudo" ,sudo)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("qttools" ,qttools)
+ ("lxqt-build-tools" ,lxqt-build-tools)))
+ (arguments
+ '(#:tests? #f ; no tests
+ #:configure-flags
+ ;; TODO: prefetch translations files from 'lxqt-l10n'.
+ '("-DPULL_TRANSLATIONS=NO")))
+ (home-page "https://lxqt.org/")
+ (synopsis "GUI frontend for sudo/su")
+ (description "lxqt-sudo is a graphical front-end of commands sudo and su
+respectively. As such it enables regular users to launch applications with
+permissions of other users including root.")
+ (license lgpl2.1+)))