From 531e9355e27eafc2624fff6a59ea21273b9eabf0 Mon Sep 17 00:00:00 2001 From: Maxime Roussin-Belanger Date: Wed, 30 Jul 2025 14:21:21 -0400 Subject: [PATCH] plasma-mobile.inc: fix buildpaths qa issue While migrating to walnascar we get: ``` ERROR: plasma-mobile-6.3.4-r0 do_package_qa: QA Issue: File /usr/src/debug/plasma-mobile/6.3.4/components/mobileshellstate/mobileadaptor.h in package plasma-mobile-src contains reference to TMPDIR [buildpaths] ERROR: plasma-mobile-6.3.4-r0 do_package_qa: Fatal QA errors were found, failing task. ``` Fix the path so that it's possible to do reproducible builds. --- recipes-plasma/plasma-mobile.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-plasma/plasma-mobile.inc b/recipes-plasma/plasma-mobile.inc index 59e6b42..3662fc4 100644 --- a/recipes-plasma/plasma-mobile.inc +++ b/recipes-plasma/plasma-mobile.inc @@ -78,3 +78,7 @@ RDEPENDS:${PN} += " \ qqc2-breeze-style \ kde-cli-tools \ " + +do_compile:append() { + sed -i -e 's,${S}/components/mobileshellstate/,,g' ${B}/components/mobileshellstate/mobileadaptor.h +}