guix-commits
[Top][All Lists]
Advanced

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

07/11: gnu: Add compton-conf.


From: ???
Subject: 07/11: gnu: Add compton-conf.
Date: Fri, 26 Oct 2018 10:13:29 -0400 (EDT)

iyzsong pushed a commit to branch master
in repository guix.

commit 32b74b7028abc568ea0f9700fd901a55b4a01c4a
Author: Meiyo Peng <address@hidden>
Date:   Thu Oct 18 20:33:24 2018 +0800

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

diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index 141cbaf..53405d5 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")



reply via email to

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