[pango/pango2: 136/178] Generate a pangocairo2.pc file again
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2: 136/178] Generate a pangocairo2.pc file again
- Date: Wed, 22 Jun 2022 20:10:17 +0000 (UTC)
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]