mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-19 14:01:10 +01:00
There is now a separate library that we build if Cairo support is enabled, which will also be used to build hb-view, so we: * Add support in the CMake build files to build libharfbuzz-cairo, if enabled via HB_HAVE_CAIRO. Move the Cairo detection bits around as a result. * Generate pkg-config file for libharfbuzz-cairo, and add 'cairo' to Requires.private. * Fix building hb-view, which will now depend on libharfbuzz-cairo, so Cairo support must be explicitly enabled. * Stop depending automatically on Cairo if HB_BUILD_UTILS is enabled unless Cairo support is enabled as a result.
14 lines
299 B
Plaintext
14 lines
299 B
Plaintext
prefix=%prefix%
|
|
exec_prefix=%exec_prefix%
|
|
libdir=%libdir%
|
|
includedir=%includedir%
|
|
|
|
Name: harfbuzz cairo integration
|
|
Description: HarfBuzz cairo integration
|
|
Version: %VERSION%
|
|
|
|
Requires: harfbuzz = %VERSION%
|
|
Requires.private: cairo
|
|
Libs: -L${libdir} -lharfbuzz-cairo
|
|
Cflags: -I${includedir}/harfbuzz
|