summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2024-11-11 18:13:33 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-11-12 11:31:48 +0000
commit0c3802cbea770d2b472c94355dfb86123e6173a0 (patch)
tree4bcec6cb4a3249f9c5ccbbda7bb8806f3be32734
parent30cc8b17d016370ea2747e370ab115c7ea895bae (diff)
downloadpoky-0c3802cbea770d2b472c94355dfb86123e6173a0.tar.gz
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>
-rw-r--r--meta/recipes-graphics/cairo/cairo_1.18.2.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-graphics/cairo/cairo_1.18.2.bb b/meta/recipes-graphics/cairo/cairo_1.18.2.bb
index 12aeb431d0..65ee310212 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"
57# cairo-trace is GPLv3 so add an option to remove it 57# cairo-trace is GPLv3 so add an option to remove it
58PACKAGECONFIG[trace] = "" 58PACKAGECONFIG[trace] = ""
59 59
60EXTRA_OEMESON = "-Dsymbol-lookup=disabled -Dspectre=disabled -Dtests=disabled"
61
60do_install:append () { 62do_install:append () {
61 if ! ${@bb.utils.contains('PACKAGECONFIG', 'trace', 'true', 'false', d)}; then 63 if ! ${@bb.utils.contains('PACKAGECONFIG', 'trace', 'true', 'false', d)}; then
62 rm ${D}${bindir}/cairo-trace ${D}${libdir}/cairo/libcairo-trace.so 64 rm ${D}${bindir}/cairo-trace ${D}${libdir}/cairo/libcairo-trace.so