mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-24 13:54:19 +08:00
36 lines
727 B
TOML
36 lines
727 B
TOML
[source]
|
|
tar = "https://www.cairographics.org/releases/cairo-1.18.4.tar.xz"
|
|
blake3 = "b9fa14e02f85ec4e72396c62236c98502d04dbbdf8daf01ab9557a1c7aa7106e"
|
|
patches = ["redox.patch"]
|
|
|
|
[build]
|
|
dependencies = [
|
|
"expat",
|
|
"freetype2",
|
|
"fontconfig",
|
|
"gettext",
|
|
"glib",
|
|
"libffi",
|
|
"libiconv",
|
|
"libpng",
|
|
"libpthread-stubs",
|
|
"libx11",
|
|
"libxau",
|
|
"libxcb",
|
|
"libxext",
|
|
"pcre2",
|
|
"pixman",
|
|
"x11proto",
|
|
"zlib",
|
|
]
|
|
template = "custom"
|
|
script = """
|
|
DYNAMIC_INIT
|
|
#TODO: fix mutex implementation
|
|
#TODO: why are math defines missing?
|
|
CFLAGS="${CFLAGS} -DCAIRO_NO_MUTEX=1 -DM_SQRT2=1.41421356237309504880 -DM_LN2=0.69314718055994530942"
|
|
cookbook_meson \
|
|
-Dxlib-xcb=enabled \
|
|
-Dtests=disabled
|
|
"""
|