From 3e6f301fb5bef55d42434f97c349fe7c2bdd2b54 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Sun, 10 Mar 2024 11:38:39 +0100 Subject: [PATCH] waylandpp: fix reproducibility issue remove STAGING_DIR_HOST and S from the waylandpp-targets.cmake file Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb b/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb index eb8ec4f5ff..c1f5f4ed8e 100644 --- a/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb +++ b/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb @@ -37,4 +37,9 @@ EXTRA_OECMAKE:class-target = " \ -DCMAKE_EXE_LINKER_FLAGS="-Wl,--enable-new-dtags" \ " +do_install:append:class-target() { + sed -i -e 's|${S}||g' ${D}${libdir}/cmake/waylandpp/waylandpp-targets.cmake + sed -i -e 's|${STAGING_DIR_HOST}||g' ${D}${libdir}/cmake/waylandpp/waylandpp-targets.cmake +} + BBCLASSEXTEND += "native nativesdk"