From 6e6b5344b0e6ab8e935f5df7b1b0976ac09e269b Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin Date: Sun, 12 Jul 2015 19:12:40 +0200 Subject: gnu: Add menu-cache. * gnu/packages/lxde.scm (menu-cache): New variable. --- gnu/packages/lxde.scm | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/gnu/packages/lxde.scm b/gnu/packages/lxde.scm index f3611cae6b..b917d1c6a9 100644 --- a/gnu/packages/lxde.scm +++ b/gnu/packages/lxde.scm @@ -24,7 +24,8 @@ #:use-module (guix build-system gnu) #:use-module (guix download) #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix packages)) + #:use-module (guix packages) + #:use-module (guix utils)) (define-public libfm-extra (package @@ -72,4 +73,26 @@ able to change themes, icons, and fonts used by GTK+ applications.") (home-page "http://lxde.org") (license license:gpl2+))) +(define-public menu-cache + (package + (name "menu-cache") + (version "1.0.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/project/lxde/" name "/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1bws84fiwk3anp30hcr0lw1xw5cgp44x5ik2yv2ijcgxpcvz8zgz")))) + (build-system gnu-build-system) + (inputs `(("glib" ,glib) + ("libfm" ,libfm-extra))) + (native-inputs `(("pkg-config" ,pkg-config))) + (synopsis "LXDE implementation of the freedesktop menu's cache") + (description "Menu-cache is a library creating and utilizing caches to +speed up the access to freedesktop.org defined application menus.") + (home-page "http://lxde.org") + (license license:lgpl2.1+))) + ;;; lxde.scm ends here -- cgit v1.2.3