summary refs log tree commit diff
diff options
context:
space:
mode:
authorMeiyo Peng <meiyo.peng@gmail.com>2018-10-18 20:33:43 +0800
committer宋文武 <iyzsong@member.fsf.org>2018-10-26 22:06:57 +0800
commit31fd62c8ca5131833d980a5f5e90d013ac842f31 (patch)
tree2cca7e6abaf7714ea7619de50cff35fb4d09137a
parent32b74b7028abc568ea0f9700fd901a55b4a01c4a (diff)
downloadguix-31fd62c8ca5131833d980a5f5e90d013ac842f31.tar.gz
gnu: Add obconf-qt.
* gnu/packages/lxqt.scm (obconf-qt): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
-rw-r--r--gnu/packages/lxqt.scm43
1 files changed, 43 insertions, 0 deletions
diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index 53405d5c98..76fe01be46 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -35,12 +35,16 @@
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
+  #:use-module (gnu packages gtk)
+  #:use-module (gnu packages image)
   #:use-module (gnu packages kde)
   #:use-module (gnu packages kde-frameworks)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages lxde)
   #:use-module (gnu packages maths)
+  #:use-module (gnu packages openbox)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages photo)
   #:use-module (gnu packages pkg-config)
@@ -49,6 +53,7 @@
   #:use-module (gnu packages qt)
   #:use-module (gnu packages textutils)
   #:use-module (gnu packages xdisorg)
+  #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg))
 
 
@@ -972,6 +977,44 @@ manager Compton.")
 image viewer.")
     (license license:lgpl2.1+)))
 
+(define-public obconf-qt
+  (package
+    (name "obconf-qt")
+    (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 "1fbzn1p2mdvn8dcbavmd1imrvkph2jfssrlw8l26qz6qk8qlmhnf"))))
+    (build-system cmake-build-system)
+    (inputs
+     `(("imlib2" ,imlib2)
+       ("libsm" ,libsm)
+       ("librsvg" ,librsvg)
+       ("libxft" ,libxft)
+       ("libxml2" ,libxml2)
+       ("openbox" ,openbox)
+       ("pango" ,pango)
+       ("pcre" ,pcre)
+       ("qtbase" ,qtbase)
+       ("qtx11extras" ,qtx11extras)))
+    (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")))
+    (home-page "https://lxqt.org/")
+    (synopsis "Openbox configuration tool")
+    (description "ObConf-Qt is a Qt port of ObConf, a configuration editor for
+window manager OpenBox.")
+    (license license:gpl2+)))
+
 (define-public pavucontrol-qt
   (package
     (name "pavucontrol-qt")