aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeiyo Peng <meiyo.peng@gmail.com>2018-10-18 10:40:26 +0800
committer宋文武 <iyzsong@member.fsf.org>2018-10-23 22:23:49 +0800
commit64fac507dd27c2bd68d4d0e6c4716a0370b6f2cb (patch)
tree3409430699c3031fe51f7ebfe1b0e47fe347ccdf
parentd58aefdf06586365e0cc9f832e40fe6c5fddb1e3 (diff)
downloadguix-64fac507dd27c2bd68d4d0e6c4716a0370b6f2cb.tar.gz
guix-64fac507dd27c2bd68d4d0e6c4716a0370b6f2cb.zip
gnu: Add libdbusmenu-qt.
* gnu/packages/lxqt.scm (libdbusmenu-qt): New variable. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
-rw-r--r--gnu/packages/lxqt.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index dda4dd8b0f..b1f81bdd51 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -29,6 +29,7 @@
#:use-module (guix utils)
#:use-module (guix build-system cmake)
#:use-module (gnu packages)
+ #:use-module (gnu packages documentation)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages glib)
#:use-module (gnu packages kde-frameworks)
@@ -38,6 +39,35 @@
#:use-module (gnu packages qt)
#:use-module (gnu packages xorg))
+(define-public libdbusmenu-qt
+ (package
+ (name "libdbusmenu-qt")
+ (version "0.9.3+16.04.20160218-0ubuntu1")
+ (source
+ (origin
+ (method url-fetch)
+ ;; Download from github rather than launchpad beacuse launchpad trunk
+ ;; tarball hash is not deterministic.
+ (uri (string-append "https://github.com/unity8-team/" name
+ "/archive/" version ".tar.gz"))
+ (sha256
+ (base32 "0abwyggnpg50sa9cxphscp5zdkv9nxqnlav55vj21df6q1h3jb5w"))
+ (file-name (string-append name "-" version ".tar.gz"))))
+ (build-system cmake-build-system)
+ (arguments
+ ;; XXX: Tests require a dbus session and some icons.
+ '(#:tests? #f))
+ (native-inputs
+ `(("doxygen" ,doxygen)))
+ (inputs
+ `(("qtbase" ,qtbase)))
+ (home-page "https://launchpad.net/libdbusmenu-qt")
+ (synopsis "Qt implementation of the DBusMenu spec")
+ (description "This library provides a Qt implementation of the DBusMenu
+protocol. The DBusMenu protocol makes it possible for applications to export
+and import their menus over DBus.")
+ (license lgpl2.1+)))
+
(define-public liblxqt
(package
(name "liblxqt")