[pango/pango2: 3/5] Generate a pangocairo2.pc file again
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2: 3/5] Generate a pangocairo2.pc file again
- Date: Thu, 16 Jun 2022 11:59:02 +0000 (UTC)
commit eb7a1feec2d3f5c29c1cc1db7d4b7adca7d7d10a
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 78514ec9..22ce6189 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]