diff mbox series

[1/9] cairo: disable some features explicitly

Message ID 20241111181341.3296523-1-ross.burton@arm.com
State New
Headers show
Series [1/9] cairo: disable some features explicitly | expand

Commit Message

Ross Burton Nov. 11, 2024, 6:13 p.m. UTC
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>
---
 meta/recipes-graphics/cairo/cairo_1.18.2.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-graphics/cairo/cairo_1.18.2.bb b/meta/recipes-graphics/cairo/cairo_1.18.2.bb
index 12aeb431d0d..65ee3102120 100644
--- a/meta/recipes-graphics/cairo/cairo_1.18.2.bb
+++ b/meta/recipes-graphics/cairo/cairo_1.18.2.bb
@@ -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