]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
cairo: disable some features explicitly
authorRoss Burton <ross.burton@arm.com>
Mon, 11 Nov 2024 18:13:33 +0000 (18:13 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Nov 2024 11:31:46 +0000 (11:31 +0000)
These are disabled out of the box but only because the dependencies are
not present. Explicitly disable them to be clear.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/cairo/cairo_1.18.2.bb

index 12aeb431d0d63a4717ddd621d445f73b163a2082..65ee3102120bd09088fa4fe34570c62001b64441 100644 (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