Subject: [PATCH 1/2] gnu: gmime: Add the "--enable-introspection" flag.

From: Tanguy Le Carrour <[email-masked]>
Date: Sat, 14 Nov 2020 10:26:10 +0100

* gnu/packages/mail.scm (gmime)[arguments]: Add the "--enable-introspection"
flag. [native-inputs]: Add gobject-introspection.
---
 gnu/packages/mail.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index b6c51c337b..fcd593c356 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -593,12 +593,15 @@ It adds a large amount of new and improved features to mutt.")
     (build-system gnu-build-system)
     (native-inputs
      `(("pkg-config" ,pkg-config)
+       ("gobject-introspection" ,gobject-introspection)
        ("gnupg" ,gnupg)))               ; for tests only
     (inputs `(("glib" ,glib)
               ("gpgme" ,gpgme)
               ("zlib" ,zlib)))
     (arguments
-     `(#:phases
+     `(#:configure-flags
+         (list "--enable-introspection=yes")
+       #:phases
        (modify-phases %standard-phases
          (add-after
           'unpack 'patch-paths-in-tests
-- 
2.29.2