meson: Make Requires in .pc files match autotools

Libreoffice tries to use only harfbuzz-icu.pc and assumes this includes
-lharfbuzz.
This commit is contained in:
Jan Alexander Steffens (heftig) 2020-07-02 16:41:22 +00:00 committed by Ebrahim Byagowi
parent 4db1b4f1a2
commit 3adcf398a0
1 changed files with 3 additions and 0 deletions

View File

@ -509,6 +509,7 @@ pkgmod.generate(libharfbuzz,
pkgmod.generate(libharfbuzz_subset,
description: 'HarfBuzz font subsetter',
requires: ['harfbuzz'],
subdirs: [meson.project_name()],
version: meson.project_version(),
)
@ -540,6 +541,7 @@ if have_icu and not have_icu_builtin
pkgmod.generate(libharfbuzz_icu,
description: 'HarfBuzz text shaping library ICU integration',
requires: ['harfbuzz'],
subdirs: [meson.project_name()],
version: meson.project_version(),
)
@ -652,6 +654,7 @@ if have_gobject
pkgmod.generate(libharfbuzz_gobject,
description: 'HarfBuzz text shaping library GObject integration',
requires: ['harfbuzz', 'glib-2.0', 'gobject-2.0'],
subdirs: [meson.project_name()],
version: meson.project_version(),
)