cairo: disable some features explicitly

These are disabled out of the box but only because the dependencies are
not present. Explicitly disable them to be clear.

(From OE-Core rev: 6efa5d5ae086f7178b3f7516803f24c78274bba1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2024-11-11 18:13:33 +00:00
committed by Richard Purdie
parent 30cc8b17d0
commit 0c3802cbea

View File

@@ -57,6 +57,8 @@ PACKAGECONFIG[xcb] = "-Dxcb=enabled,-Dxcb=disabled,libxcb"
# cairo-trace is GPLv3 so add an option to remove it
PACKAGECONFIG[trace] = ""
EXTRA_OEMESON = "-Dsymbol-lookup=disabled -Dspectre=disabled -Dtests=disabled"
do_install:append () {
if ! ${@bb.utils.contains('PACKAGECONFIG', 'trace', 'true', 'false', d)}; then
rm ${D}${bindir}/cairo-trace ${D}${libdir}/cairo/libcairo-trace.so