Files
2026-06-02 21:38:47 +02:00

24 lines
790 B
Python

version = "2.13.3"
revision = 1
description = "FreeType font rendering library"
license = "FTL OR GPL-2.0-or-later"
url = "https://freetype.org/"
source = tarball(
url=f"https://download.savannah.gnu.org/releases/freetype/freetype-{version}.tar.xz",
sha256="0550350666d427c74daeb85d5ac7bb353acba5f76956395995311a9c6f063289",
)
host_deps = ["binutils", "gcc", "pkgconf"]
deps = [profile["libc"], "zlib", "libpng", "brotli"]
configure, build, install = meson(
configure_args=[
# First pass without HarfBuzz to break the freetype<->harfbuzz cycle;
# HarfBuzz is built afterwards and links back against this freetype.
"-Dharfbuzz=disabled",
"-Dbrotli=enabled",
"-Dbzip2=disabled",
"-Dpng=enabled",
"-Dzlib=enabled",
],
)