[pango/pango2: 136/178] Generate a pangocairo2.pc file again




commit c9d40a19d64731839a21d0ea841ab8fb412bf2cd
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jun 16 07:23:07 2022 -0400

    Generate a pangocairo2.pc file again
    
    This one just requires pango2.pc, but it allows
    consumers to be explicit in their build configuration.

 pango/meson.build | 10 ++++++++++
 1 file changed, 10 insertions(+)
---
diff --git a/pango/meson.build b/pango/meson.build
index 78514ec94..22ce6189f 100644
--- a/pango/meson.build
+++ b/pango/meson.build
@@ -292,3 +292,13 @@ pkgconfig.generate(libpango,
   filebase: 'pango2',
   subdirs: pango_api_name,
 )
+
+if cairo_dep.found()
+  pkgconfig.generate(libpango,
+    name: 'Pango Cairo',
+    description: 'Cairo rendering support for Pango',
+    requires: ['pango2'],
+    filebase: 'pangocairo2',
+    subdirs: pango_api_name,
+  )
+endif


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