diff mbox series

[meta-gnome] xdg-desktop-portal-gnome: remove gnome-shell runtime dependency

Message ID 20260522002932.87072-1-f_l_k@t-online.de
State Accepted
Headers show
Series [meta-gnome] xdg-desktop-portal-gnome: remove gnome-shell runtime dependency | expand

Commit Message

Markus Volk May 22, 2026, 12:29 a.m. UTC
xdg-desktop-portal-gnome is no longer used exclusively by gnome-shell. For example, it is also used by
niri to provide support for screencasts.

It is not necessary for xdg-desktop-portal-gnome to add runtime dependencies for mutter and gnome-shell.
In this context, doing so is actually counterproductive.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 .../xdg-desktop-portal/xdg-desktop-portal-gnome_50.0.bb       | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_50.0.bb b/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_50.0.bb
index 00ef8a5d97..f9d52a5bb2 100644
--- a/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_50.0.bb
+++ b/meta-gnome/recipes-support/xdg-desktop-portal/xdg-desktop-portal-gnome_50.0.bb
@@ -23,9 +23,7 @@  REQUIRED_DISTRO_FEATURES = "polkit"
 
 SRC_URI[archive.sha256sum] = "ceeef2fb68b34b3f66a3def0a332a22a70af272641fb6c50065b7a2fde3d5759"
 
-PACKAGECONFIG ?= "screenshot screencast ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
+PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
 PACKAGECONFIG[wayland] = ",,wayland-native"
-PACKAGECONFIG[screenshot] = ",,,gnome-shell"
-PACKAGECONFIG[screencast] = ",,,mutter"
 
 FILES:${PN} += "${systemd_user_unitdir} ${datadir}"