guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/07: gnu: gnome-menus: Build GObject Introspection data.


From: guix-commits
Subject: 01/07: gnu: gnome-menus: Build GObject Introspection data.
Date: Sun, 4 Feb 2024 15:29:49 -0500 (EST)

lilyp pushed a commit to branch gnome-team
in repository guix.

commit f26235a50cc93abf3b65b188e2c19d996aed646f
Author: Vivien Kraus <vivien@planete-kraus.eu>
AuthorDate: Fri Jan 19 23:50:34 2024 +0100

    gnu: gnome-menus: Build GObject Introspection data.
    
    * gnu/packages/gnome.scm (gnome-menus) [native-inputs]: Add 
gobject-introspection.
    
    Change-Id: I8cf485955dbad29cec781af9b5fada4c5bcb1ba6
---
 gnu/packages/gnome.scm | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

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.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]