bwrap path is read from STAGING_BINDIR_NATIVE. This commit fixes reproduc=
ibility and runtime
Signed-off-by: Markus Volk <f_l_k@...>
---
.../xdg-desktop-portal/xdg-desktop-portal_1.16.0.bb | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-porta=
l_1.16.0.bb b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-port=
al_1.16.0.bb
index e16f9f372..0b3a93ab3 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
@@ -13,7 +13,6 @@ DEPENDS =3D " \
pipewire \
dbus-native \
fuse3 \
- bubblewrap-native \
xmlto-native \
flatpak \
python3-dbus-native \
@@ -37,3 +36,12 @@ S =3D "${WORKDIR}/git"
SRCREV =3D "88af6c8ca4106fcf70925355350a669848e9fd5a"
=20
FILES:${PN} +=3D "${libdir}/systemd ${datadir}/dbus-1"
+
+EXTRA_OEMESON +=3D "--cross-file=3D${WORKDIR}/meson-${PN}.cross"
+
+do_write_config:append() {
+ cat >${WORKDIR}/meson-${PN}.cross <<EOF
+[binaries]
+bwrap =3D '${bindir}/bwrap'
+EOF
+}
--=20
2.34.1