aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2023-03-25 10:26:39 +0100
committerKhem Raj <raj.khem@gmail.com>2023-03-25 16:43:34 -0700
commit02f9c6a1a96d9f3281ab1b6efd0f9feed86b42dd (patch)
treea3a4f2c85515d12dbe46112b1017914ec89e86f9 /meta-oe
parent2b1ac94dd24373a3d30456a5c2e1ae20b0da7771 (diff)
downloadmeta-openembedded-contrib-02f9c6a1a96d9f3281ab1b6efd0f9feed86b42dd.tar.gz
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>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.16.0.bb10
1 files changed, 9 insertions, 1 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 e16f9f372e..0b3a93ab32 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 = " \
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
+}