# harfbuzz 14.2.1 — shaping de texto (lo usa pango). meson static. glib=enabled: GTK4 incluye . name = "harfbuzz" version = "14.2.1" license = "MIT" [source] tarball = "https://github.com/harfbuzz/harfbuzz/releases/download/14.2.1/harfbuzz-14.2.1.tar.xz" sha256 = "a54a5d8e9380a41fbb762ce367bcbf7704792dfca0d93f1bbca86c5a57902e0e" [build] compiler = "zig-cc" target = "x86_64-linux-musl" link = "static" [build.phases] configure = "PKG_CONFIG_PATH=/usr/lib/pkgconfig PYTHONPATH=/usr/lib/python3.12/site-packages meson setup output --prefix=/usr --buildtype=release -Ddefault_library=static -Dglib=enabled -Dgobject=disabled -Dcairo=disabled -Dicu=disabled -Dgraphite=disabled -Dfreetype=enabled -Dtests=disabled -Ddocs=disabled -Dintrospection=disabled -Dutilities=disabled" compile = "PYTHONPATH=/usr/lib/python3.12/site-packages ninja -C output" install = "PYTHONPATH=/usr/lib/python3.12/site-packages DESTDIR=/out meson install -C output --no-rebuild" # libpng: freetype se compila --with-png ⇒ freetype2.pc trae `Requires: zlib, libpng`; sin libpng.pc # en el sandbox, pkg-config no resuelve freetype2 y `meson setup` aborta (mismo patrón que fontconfig). [deps] build = ["meson", "samurai", "python3", "pkgconf", "freetype", "glib", "pcre2", "libffi", "zlib", "libpng"]