build: Fix cogl-pango underlinking

This library is using Pango and PangoCairo. Make it declare them
as requirements.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2864>
This commit is contained in:
Carlos Garnacho 2023-03-03 17:43:48 +01:00 committed by Marge Bot
parent ff56431140
commit 1a210218c9

View File

@ -72,7 +72,7 @@ pkg.generate(libmutter_cogl_pango,
filebase: 'mutter-cogl-pango-' + libmutter_api_version,
description: 'A text rendering for Cogl in mutter',
subdirs: join_paths(pkgname, 'cogl'),
requires: [cogl_pkg_deps, libmutter_cogl_name],
requires: [cogl_pkg_deps, libmutter_cogl_name, pango_dep, pangocairo_dep],
version: meson.project_version(),
variables: [
'apiversion=' + libmutter_api_version,