summary refs log tree commit diff
path: root/gnu/packages/gnome.scm
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2024-01-19 23:50:34 +0100
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2024-02-04 20:27:20 +0100
commitf26235a50cc93abf3b65b188e2c19d996aed646f (patch)
tree30ec5a23ad926331c8581c6a79928891e2afa8e1 /gnu/packages/gnome.scm
parent4947b773535db94521b92f6ce2244da384743d54 (diff)
downloadguix-f26235a50cc93abf3b65b188e2c19d996aed646f.tar.gz
gnu: gnome-menus: Build GObject Introspection data.
* gnu/packages/gnome.scm (gnome-menus) [native-inputs]: Add gobject-introspection.

Change-Id: I8cf485955dbad29cec781af9b5fada4c5bcb1ba6
Diffstat (limited to 'gnu/packages/gnome.scm')
-rw-r--r--gnu/packages/gnome.scm13
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 526833eaf5..6919576eae 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -1812,8 +1812,19 @@ project.")
                (base32
                 "07xvaf8s0fiv0035nk8zpzymn5www76w2a1vflrgqmp9plw8yd6r"))))
     (build-system gnu-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'fix-introspection-install-dir
+            (lambda _
+              (substitute* "libmenu/Makefile.in"
+                (("@INTROSPECTION_GIRDIR@")
+                 (string-append #$output "/share/gir-1.0/"))
+                (("@INTROSPECTION_TYPELIBDIR@")
+                 (string-append #$output "/lib/girepository-1.0/"))))))))
     (native-inputs
-     (list gettext-minimal glib pkg-config))
+     (list gettext-minimal glib gobject-introspection pkg-config))
     (synopsis "Menu support for GNOME desktop")
     (description "GNOME Menus contains the libgnome-menu library, the layout
 configuration files for the GNOME menu, as well as a simple menu editor.")