internal/rosa/package: cairo

Required by sway, which is required by vm test suite.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-27 12:00:13 +09:00
parent 91e4229e32
commit 7816f8b523
3 changed files with 64 additions and 5 deletions

View File

@@ -0,0 +1,52 @@
package cairo {
description = "a 2D graphics library with support for multiple output devices";
website = "https://www.cairographics.org";
anitya = 247;
version# = "1.18.4";
source = remoteGitLab {
domain = "gitlab.freedesktop.org";
suffix = "cairo/cairo";
ref = version;
checksum = "_Ztw0ttmYLIiElqS27x2Iu4EneXOMNHp2or6bJA6suLeF3NRvORzUMPPQy9Wr5gT";
};
exec = meson {
setup = {
"Ddwrite": "enabled";
"Dfontconfig": "enabled";
"Dfreetype": "enabled";
"Dpng": "enabled";
"Dtee": "enabled";
"Dxcb": "enabled";
"Dxlib": "disabled";
"Dxlib-xcb": "disabled";
"Dzlib": "enabled";
};
// runs the entire test suite in a single meson test
interactiveTest = true;
// only works with specific dependency versions
skipTest = true;
};
inputs = [
gawk,
zlib,
libpng,
fontconfig,
freetype,
pixman,
xcb,
];
runtime = [
zlib,
libpng,
fontconfig,
freetype,
pixman,
xcb,
];
}