redox/recipes/libs/cairo/recipe.toml
2025-05-04 16:36:26 -06:00

29 lines
622 B
TOML

[source]
tar = "https://www.cairographics.org/releases/cairo-1.18.4.tar.xz"
blake3 = "b9fa14e02f85ec4e72396c62236c98502d04dbbdf8daf01ab9557a1c7aa7106e"
[build]
dependencies = [
"expat",
"freetype2",
"fontconfig",
"gettext",
"glib",
"libffi",
"libiconv",
"libpng",
"pcre2",
"pixman",
"zlib",
]
template = "custom"
script = """
DYNAMIC_INIT
#TODO: fix mutex implementation
#TODO: why are math defines missing?
#TODO: why is -lexpat not automatic?
cookbook_meson \
-Dc_args="-DCAIRO_NO_MUTEX=1 -DM_SQRT2=1.41421356237309504880 -DM_LN2=0.69314718055994530942 -lexpat" \
-Dtests=disabled
"""