xdg-desktop-portal: fix bwrap path

bwrap path is read from STAGING_BINDIR_NATIVE. This commit fixes reproducibility and runtime

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Markus Volk 2023-03-25 10:26:39 +01:00 committed by Khem Raj
parent 2b1ac94dd2
commit 02f9c6a1a9

View File

@ -13,7 +13,6 @@ DEPENDS = " \
pipewire \
dbus-native \
fuse3 \
bubblewrap-native \
xmlto-native \
flatpak \
python3-dbus-native \
@ -37,3 +36,12 @@ S = "${WORKDIR}/git"
SRCREV = "88af6c8ca4106fcf70925355350a669848e9fd5a"
FILES:${PN} += "${libdir}/systemd ${datadir}/dbus-1"
EXTRA_OEMESON += "--cross-file=${WORKDIR}/meson-${PN}.cross"
do_write_config:append() {
cat >${WORKDIR}/meson-${PN}.cross <<EOF
[binaries]
bwrap = '${bindir}/bwrap'
EOF
}