aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-08-28 23:11:00 +0200
committerMarius Bakke <marius@gnu.org>2022-11-21 22:01:12 +0100
commit8f877c2c4b619c6f4d7ae670d7eb40744dda7229 (patch)
tree9397e652ccb1a05aebb201f6665a6eaf4010d42b /gnu
parentdbe5ede0a6bb579f590ed13ae3f8c4a55265b43f (diff)
downloadguix-8f877c2c4b619c6f4d7ae670d7eb40744dda7229.tar.gz
guix-8f877c2c4b619c6f4d7ae670d7eb40744dda7229.zip
gnu: Add appmenu-gtk-module.
* gnu/packages/gtk.scm (appmenu-gtk-menu): New variable. Co-authored-by: Marius Bakke <marius@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gtk.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 56104b2124..ad34dd51ec 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -32,6 +32,7 @@
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
;;; Copyright © 2022 Benjamin Slade <slade@lambda-y.net>
;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -117,6 +118,43 @@
#:use-module (srfi srfi-26)
#:use-module (ice-9 match))
+(define-public appmenu-gtk-module
+ (package
+ (name "appmenu-gtk-module")
+ (version "0.7.6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/vala-panel-project/vala-panel-appmenu")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1ywpygjwlbli65203ja2f8wwxh5gbavnfwcxwg25v061pcljaqmm"))))
+ (build-system meson-build-system)
+ (arguments
+ (list
+ #:glib-or-gtk? #t
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-install-gtk-module
+ (lambda* _
+ (substitute*
+ "subprojects/appmenu-gtk-module/src/gtk-3.0/meson.build"
+ (("gtk3.get_pkgconfig_variable\\('libdir'\\)")
+ #$output)))))))
+ (native-inputs
+ (list `(,glib "bin") vala pkg-config))
+ (inputs
+ (list gtk+ libwnck))
+ (synopsis "Application Menu applet")
+ (description
+ "This package provides a global menu applet for use with desktop panels
+such as mate-panel and xfce4-panel.")
+ (home-page "https://gitlab.com/vala-panel-project/vala-panel-appmenu")
+ (license (list license:lgpl3))))
+
(define-public atk
(package
(name "atk")
n>gnu: gnunet-gtk: Sort inputs alphabetically....Efraim Flashner 2019-11-25gnu: gnunet-gtk: Update to 0.11.7....Efraim Flashner 2019-11-25gnu: gnunet: Update to 0.11.8....Efraim Flashner 2019-11-25gnu: gnunet-gtk: Set upstream ftp-directory....Efraim Flashner 2019-10-27gnu: libmicrohttpd: Update to 0.9.68....Tobias Geerinckx-Rice