23 lines
809 B
Python
23 lines
809 B
Python
version = "1.18.4"
|
|
revision = 1
|
|
description = "2D graphics library with multiple output backends"
|
|
license = "LGPL-2.1-only OR MPL-1.1"
|
|
url = "https://www.cairographics.org/"
|
|
source = tarball(
|
|
url=f"https://www.cairographics.org/releases/cairo-{version}.tar.xz",
|
|
sha256="445ed8208a6e4823de1226a74ca319d3600e83f6369f99b14265006599c32ccb",
|
|
)
|
|
host_deps = ["binutils", "gcc", "pkgconf"]
|
|
deps = [profile["libc"], "pixman", "freetype2", "fontconfig", "libpng", "glib2", "zlib"]
|
|
|
|
configure, build, install = meson(
|
|
configure_args=[
|
|
# Wayland-only: no X backends. (cairo 1.18 has no GL-backend option.)
|
|
"-Dxlib=disabled",
|
|
"-Dxcb=disabled",
|
|
"-Dtests=disabled",
|
|
"-Dspectre=disabled",
|
|
"-Dsymbol-lookup=disabled", # avoids a libbfd/binutils dependency
|
|
],
|
|
)
|