[gtk/macos-ci: 2/7] printing: cairo-pdf is needed




commit 2e3d6893289b62cd32b221d910a2223f20580a9b
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jan 3 11:24:26 2021 -0500

    printing: cairo-pdf is needed
    
    The print backends need cairos pdf support, which is
    contingent on zlib, so enable that when using cairo
    as a subproject, as we do in ci for MacOS.

 meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index e8d6841116..c84653c263 100644
--- a/meson.build
+++ b/meson.build
@@ -348,7 +348,8 @@ endif
 gmodule_dep    = dependency('gmodule-2.0', version: glib_req,
                             fallback : ['glib', 'libgmodule_dep'])
 cairo_dep      = dependency('cairo', version: cairo_req,
-                            fallback : ['cairo', 'libcairo_dep'])
+                            fallback : ['cairo', 'libcairo_dep'],
+                            default_options: ['zlib=enabled'])
 cairogobj_dep  = dependency('cairo-gobject', version: cairo_req,
                             fallback : ['cairo', 'libcairogobject_dep'])
 pango_dep      = dependency('pango', version: pango_req,


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