[PATCH 3/4] p11-kit: explicitly disable tests and zsh-completions

Ross Burton
2026-04-27T20:46:51Z

There's no need to build the tests as we won't run them, and disable the
zsh completion to avoid having to package the files.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
meta/recipes-support/p11-kit/p11-kit_0.26.2.bb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-support/p11-kit/p11-kit_0.26.2.bb b/meta/recipes-support/p11-kit/p11-kit_0.26.2.bb
index a0e2e17d026..69fb76658ea 100644
--- a/meta/recipes-support/p11-kit/p11-kit_0.26.2.bb
+++ b/meta/recipes-support/p11-kit/p11-kit_0.26.2.bb
@@ -19,7 +19,11 @@ PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native"
PACKAGECONFIG[trust] = "-Dtrust_module=enabled,-Dtrust_module=disabled,libtasn1-native libtasn1"
PACKAGECONFIG[trust-paths] = "-Dtrust_paths=/etc/ssl/certs/ca-certificates.crt,,,ca-certificates"

-EXTRA_OEMESON:append = " -Dnls=${@'false' if d.getVar('USE_NLS') == 'no' else 'true'}"
+EXTRA_OEMESON = "\
+ -Dtest=false \
+ -Dzsh_completion=disabled \
+ -Dnls=${@'false' if d.getVar('USE_NLS') == 'no' else 'true'}"
+
GTKDOC_MESON_OPTION = 'gtk_doc'

FILES:${PN} += " \
--
2.43.0