Subject: bug#49122: gobject-introspection and not finding cairo

From: Raghav Gururajan <[email-masked]>
Date: Tue, 7 Sep 2021 19:06:42 -0400

Hi John!

You could try creating a gobject-introspection variant with cairo 
enabled and use that variant as native-input for your packages.

Something like this:

```
(define-public gobject-introspection+cairo
   (hidden-package
    (package
      (inherit gobject-introspection)
      (arguments
       (substitute-keyword-arguments (package-arguments 
gobject-introspection)
         ((#:configure-flags flags ''())
          `(cons* "-Dcairo=true" ,flags))))
      (inputs
       `(("cairo" ,cairo)
         ,@(package-inputs gobject-introspection))))))
```

Regards,
RG.