meson: Pin harfbuzz in .pc files to the built version
This ensures that we link -subset, -icu and -gobject with a matching version of the main library.
This commit is contained in:
parent
3adcf398a0
commit
4444482297
|
@ -509,7 +509,7 @@ pkgmod.generate(libharfbuzz,
|
|||
|
||||
pkgmod.generate(libharfbuzz_subset,
|
||||
description: 'HarfBuzz font subsetter',
|
||||
requires: ['harfbuzz'],
|
||||
requires: ['harfbuzz = @0@'.format(meson.project_version())],
|
||||
subdirs: [meson.project_name()],
|
||||
version: meson.project_version(),
|
||||
)
|
||||
|
@ -541,7 +541,7 @@ if have_icu and not have_icu_builtin
|
|||
|
||||
pkgmod.generate(libharfbuzz_icu,
|
||||
description: 'HarfBuzz text shaping library ICU integration',
|
||||
requires: ['harfbuzz'],
|
||||
requires: ['harfbuzz = @0@'.format(meson.project_version())],
|
||||
subdirs: [meson.project_name()],
|
||||
version: meson.project_version(),
|
||||
)
|
||||
|
@ -654,7 +654,7 @@ if have_gobject
|
|||
|
||||
pkgmod.generate(libharfbuzz_gobject,
|
||||
description: 'HarfBuzz text shaping library GObject integration',
|
||||
requires: ['harfbuzz', 'glib-2.0', 'gobject-2.0'],
|
||||
requires: ['harfbuzz = @0@'.format(meson.project_version()), 'glib-2.0', 'gobject-2.0'],
|
||||
subdirs: [meson.project_name()],
|
||||
version: meson.project_version(),
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue