diff options
| author | Markus Volk <f_l_k@t-online.de> | 2023-02-02 17:04:08 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-02-02 10:25:33 -0800 |
| commit | 3436f1507052b41e5f98a2961f48039ce8c103e5 (patch) | |
| tree | 8547592ef47682dbae00b6954f721301942b6c2a | |
| parent | cc5082d5d1569b9088f97cc4eeadf6d5f7044eaa (diff) | |
| download | meta-openembedded-3436f1507052b41e5f98a2961f48039ce8c103e5.tar.gz | |
xdg-desktop-portal: add runtime dependency on rtkit
According to the used desktop environment there are high level xdg-desktop-portal
backends available. There are implementations for kde, lxde, gnome, wlroots.
Even hyprland provides its own portal backend addition.
These backends are known to cause unexpected behavior if mixed together,
so it was a little bit overambitious to set the gnome portal as a
runtime dependency by default as it may break other environments.
Remove it from RDEPENDS
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.16.0.bb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.16.0.bb b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.16.0.bb index 84e04e9f2e..e16f9f372e 100644 --- a/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.16.0.bb +++ b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.16.0.bb | |||
| @@ -20,13 +20,11 @@ DEPENDS = " \ | |||
| 20 | " | 20 | " |
| 21 | 21 | ||
| 22 | PORTAL_BACKENDS ?= " \ | 22 | PORTAL_BACKENDS ?= " \ |
| 23 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'xdg-desktop-portal-wlr', '', d)} \ | 23 | ${@bb.utils.contains('DISTRO_FEATURES', 'gtk+3', 'xdg-desktop-portal-gtk', '', d)} \ |
| 24 | ${@bb.utils.contains('DISTRO_FEATURES', 'gtk', 'xdg-desktop-portal-gnome', '', d)} \ | 24 | ${@bb.utils.contains('DISTRO_FEATURES', 'gtk4', 'xdg-desktop-portal-gtk', '', d)} \ |
| 25 | ${@bb.utils.contains('DISTRO_FEATURES', 'gtk+3', 'xdg-desktop-portal-gnome', '', d)} \ | ||
| 26 | ${@bb.utils.contains('DISTRO_FEATURES', 'gtk4', 'xdg-desktop-portal-gnome', '', d)} \ | ||
| 27 | " | 25 | " |
| 28 | 26 | ||
| 29 | RDEPENDS:${PN} = "bubblewrap ${PORTAL_BACKENDS}" | 27 | RDEPENDS:${PN} = "bubblewrap rtkit ${PORTAL_BACKENDS}" |
| 30 | 28 | ||
| 31 | inherit meson pkgconfig python3native features_check | 29 | inherit meson pkgconfig python3native features_check |
| 32 | 30 | ||
