summaryrefslogtreecommitdiff
path: root/gnu/packages/lxqt.scm
diff options
context:
space:
mode:
authorMeiyo Peng <meiyo.peng@gmail.com>2018-10-18 20:33:24 +0800
committer宋文武 <iyzsong@member.fsf.org>2018-10-26 21:41:38 +0800
commit32b74b7028abc568ea0f9700fd901a55b4a01c4a (patch)
treee08805b67b187a42b5ec521b24135edf3eb03c37 /gnu/packages/lxqt.scm
parent9886134cc6643d9353b6920b1a031cf927094d50 (diff)
gnu: Add compton-conf.
* gnu/packages/lxqt.scm (compton-conf): New variable. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'gnu/packages/lxqt.scm')
-rw-r--r--gnu/packages/lxqt.scm39
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index 141cbaf931..53405d5c98 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -47,6 +47,7 @@
#:use-module (gnu packages polkit)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages qt)
+ #:use-module (gnu packages textutils)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages xorg))
@@ -900,6 +901,44 @@ LXDE.")
;; Extra
+(define-public compton-conf
+ (package
+ (name "compton-conf")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
+ version "/" name "-" version ".tar.xz"))
+ (sha256
+ (base32 "0q3yx2a6wf8yahrwgvhmv9sd7gmrhid528vrqy04dg8m5cx1bjci"))))
+ (build-system cmake-build-system)
+ (inputs
+ `(("libconfig" ,libconfig)
+ ("qtbase" ,qtbase)))
+ (native-inputs
+ `(("lxqt-build-tools" ,lxqt-build-tools)
+ ("pkg-config" ,pkg-config)
+ ("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* '("autostart/CMakeLists.txt")
+ (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
+ "DESTINATION \"${CMAKE_INSTALL_PREFIX}/etc/xdg"))
+ #t)))))
+ (home-page "https://lxqt.org/")
+ (synopsis "GUI configuration tool for compton X composite manager")
+ (description "@code{compton-conf} is a configuration tool for X composite
+manager Compton.")
+ (license license:lgpl2.1+)))
+
(define-public lximage-qt
(package
(name "lximage-qt")