redox/recipes/libs/cairo/recipe.toml
2026-06-11 17:18:53 +07:00

30 lines
669 B
TOML

[source]
tar = "https://www.cairographics.org/releases/cairo-1.18.4.tar.xz"
blake3 = "b9fa14e02f85ec4e72396c62236c98502d04dbbdf8daf01ab9557a1c7aa7106e"
patches = ["redox.patch"]
[build]
dependencies = [
"fontconfig",
"freetype2",
"glib",
"libpng",
"libx11",
"libxcb",
"libxext",
"libxrender",
"pixman",
]
dev-dependencies = [
# xext and xrender is required by pkg-config, don't move them here
]
template = "custom"
script = """
DYNAMIC_INIT
#TODO: why are math defines missing?
CFLAGS="${CFLAGS} -DM_SQRT2=1.41421356237309504880 -DM_LN2=0.69314718055994530942"
cookbook_meson \
-Dxlib-xcb=enabled \
-Dtests=disabled
"""