guix-commits
[Top][All Lists]
Advanced

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

01/09: gnu: Add lxqt-config.


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

iyzsong pushed a commit to branch master
in repository guix.

commit 35bfe41a015d5d1e92896d8bc995491120032c94
Author: Meiyo Peng <address@hidden>
Date:   Thu Oct 18 13:58:55 2018 +0800

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

diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index e978b55..39f7b2c 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -31,9 +31,11 @@
   #:use-module (guix build-system gnu)
   #:use-module (gnu packages)
   #:use-module (gnu packages admin)
+  #:use-module (gnu packages compression)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages kde)
   #:use-module (gnu packages kde-frameworks)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages perl)
@@ -337,6 +339,52 @@ itself as well as other components maintained by the LXQt 
project.")
     (home-page "https://lxqt.org";)
     (license license:lgpl2.1+)))
 
+(define-public lxqt-config
+  (package
+    (name "lxqt-config")
+    (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 "0rizhl2v41kpgp57a61r6nmwcdw8nh9hprrrf33nfrdw8hpwxb95"))))
+    (build-system cmake-build-system)
+    (inputs
+     `(("kwindowsystem" ,kwindowsystem)
+       ("libkscreen" ,libkscreen)
+       ("liblxqt" ,liblxqt)
+       ("libqtxdg" ,libqtxdg)
+       ("libxcursor" ,libxcursor)
+       ("qtbase" ,qtbase)
+       ("qtsvg" ,qtsvg)
+       ("qtx11extras" ,qtx11extras)
+       ("solid" ,solid)
+       ("zlib" ,zlib)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("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* '("src/CMakeLists.txt")
+               (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
+                "DESTINATION \"${CMAKE_INSTALL_PREFIX}/etc/xdg"))
+             #t)))))
+    (home-page "https://lxqt.org";)
+    (synopsis "Tools to configure LXQt and the underlying operating system")
+    (description "lxqt-config is providing several tools involved in the
+configuration of both LXQt and the underlying operating system.")
+    (license license:lgpl2.1+)))
+
 (define-public lxqt-globalkeys
   (package
     (name "lxqt-globalkeys")



reply via email to

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