From 64fac507dd27c2bd68d4d0e6c4716a0370b6f2cb Mon Sep 17 00:00:00 2001 From: Meiyo Peng Date: Thu, 18 Oct 2018 10:40:26 +0800 Subject: gnu: Add libdbusmenu-qt. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/lxqt.scm (libdbusmenu-qt): New variable. Signed-off-by: 宋文武 --- gnu/packages/lxqt.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu') 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 @@ (define-module (gnu packages lxqt) #: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 @@ (define-module (gnu packages lxqt) #: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") -- cgit v1.2.3