@@ -39,7 +39,7 @@ EXTRA_OECMAKE = " \
EXTRA_OECMAKE:append:class-target = " -DG_IR_COMPILER=${STAGING_BINDIR}/g-ir-compiler-wrapper"
EXTRA_OECMAKE:append:class-target = " -DG_IR_SCANNER=${STAGING_BINDIR}/g-ir-scanner-wrapper"
-PACKAGECONFIG ?= "goa oauth"
+PACKAGECONFIG ?= "goa"
PACKAGECONFIG[canberra] = "-DENABLE_CANBERRA=ON,-DENABLE_CANBERRA=OFF,libcanberra"
PACKAGECONFIG[oauth] = "-DENABLE_OAUTH2_WEBKITGTK4=ON -DENABLE_OAUTH2_WEBKITGTK=ON,-DENABLE_OAUTH2_WEBKITGTK4=OFF -DENABLE_OAUTH2_WEBKITGTK=OFF,webkitgtk json-glib"
The oauth PACKAGECONFIG only controls the embedded webview of the built-in OAuth2 credentials prompter (ENABLE_OAUTH2_WEBKITGTK4, guarded by WITH_WEBKITGTK in e-credentials-prompter-impl-oauth2.c). OAuth2 support itself does not depend on it: json-glib is a hard requirement of the build and without WebKit the prompter offers the authentication URI for opening in the default browser, receiving the response over the org.gnome.evolution.dataserver.OAuth2Response D-Bus service. Drop oauth from the default PACKAGECONFIG so that webkitgtk is not pulled into every build that needs evolution-data-server. The option stays available for those who want the in-dialog browser. Signed-off-by: Markus Volk <f_l_k@t-online.de> Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HiauLCu6cken5wf44PijzQ --- .../evolution-data-server/evolution-data-server.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)