mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add lxqt-admin.
* gnu/packages/lxqt.scm (lxqt-admin): New variable. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
2bdab26f06
commit
34e08de321
1 changed files with 41 additions and 0 deletions
|
@ -270,6 +270,47 @@ (define-public lxqt-about
|
|||
LXQt and the system it's running on.")
|
||||
(license lgpl2.1+)))
|
||||
|
||||
(define-public lxqt-admin
|
||||
(package
|
||||
(name "lxqt-admin")
|
||||
(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 "0qvpv668ja83ydbdrlal1596xhag3xlkbd6qlh9xwdpb7nysvns1"))))
|
||||
(build-system cmake-build-system)
|
||||
(inputs
|
||||
`(("kwindowsystem" ,kwindowsystem)
|
||||
("liblxqt" ,liblxqt)
|
||||
("libqtxdg" ,libqtxdg)
|
||||
("polkit-qt" ,polkit-qt)
|
||||
("qtsvg" ,qtsvg)
|
||||
("qtx11extras" ,qtx11extras)))
|
||||
(native-inputs
|
||||
`(("lxqt-build-tools" ,lxqt-build-tools)
|
||||
("qttools" ,qttools)))
|
||||
(arguments
|
||||
'(#:tests? #f ; no tests
|
||||
#:configure-flags
|
||||
;; TODO: prefetch translations files from 'lxqt-l10n'.
|
||||
'("-DPULL_TRANSLATIONS=NO")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-source
|
||||
(lambda _
|
||||
(substitute* "lxqt-admin-user/CMakeLists.txt"
|
||||
(("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
|
||||
"DESTINATION \"${CMAKE_INSTALL_PREFIX}/share/polkit-1/actions"))
|
||||
#t)))))
|
||||
(home-page "https://lxqt.org")
|
||||
(synopsis "LXQt system administration tool")
|
||||
(description "lxqt-admin is providing two GUI tools to adjust settings of
|
||||
the operating system LXQt is running on.")
|
||||
(license lgpl2.1+)))
|
||||
|
||||
(define-public lxqt-build-tools
|
||||
(package
|
||||
(name "lxqt-build-tools")
|
||||
|
|
Loading…
Reference in a new issue