[cmake] Add raster and vector libraries

Wire harfbuzz-raster and harfbuzz-vector into the
community-maintained CMake build so they are built,
installed, and exported like the existing optional
libraries.

Also install their public headers, generate pkg-config
files for them, and expose HB_HAS_SUBSET/HB_HAS_RASTER/
HB_HAS_VECTOR in hb-features.h.

Testing:
meson test -C build

Assisted-by: OpenAI Codex
This commit is contained in:
Behdad Esfahbod authored and Khaled Hosny committed 2026-03-13 01:21:13 +02:00
1 parent 01f1125c8c
commit 70de901d39
3 files changed
+201 -1

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
prefix=%prefix%
exec_prefix=%exec_prefix%
libdir=%libdir%
includedir=%includedir%
Name: harfbuzz raster
Description: HarfBuzz CPU rasterizer
Version: %VERSION%
Requires: harfbuzz = %VERSION%
Requires.private: %requires_private_extra%
Libs: -L${libdir} -lharfbuzz-raster
Libs.private: -lm %libs_private_extra%
Cflags: -I${includedir}/harfbuzz
+14
View File
@@ -0,0 +1,14 @@
prefix=%prefix%
exec_prefix=%exec_prefix%
libdir=%libdir%
includedir=%includedir%
Name: harfbuzz vector
Description: HarfBuzz vector converter
Version: %VERSION%
Requires: harfbuzz = %VERSION%
Requires.private: %requires_private_extra%
Libs: -L${libdir} -lharfbuzz-vector
Libs.private: -lm %libs_private_extra%
Cflags: -I${includedir}/harfbuzz