From cd8c45f492e1c245bf93cd10046ae52c1f2ea4b6 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 17 Apr 2023 21:33:12 -0700 Subject: [PATCH] grilo: Fix buildpaths in generated header file grl-type-builtins.h gets generated during compilation and it uses absolute paths to source files in comments. This is flagged by packager therefore remove the buildpath Fixes WARNING: grilo-0.3.15-r0 do_package_qa: QA Issue: File /usr/src/debug/grilo/0.3. 15-r0/src/grl-type-builtins.h in package grilo-src contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj --- meta-gnome/recipes-gnome/grilo/grilo_0.3.15.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-gnome/recipes-gnome/grilo/grilo_0.3.15.bb b/meta-gnome/recipes-gnome/grilo/grilo_0.3.15.bb index d51a27f01a..526a8593dc 100644 --- a/meta-gnome/recipes-gnome/grilo/grilo_0.3.15.bb +++ b/meta-gnome/recipes-gnome/grilo/grilo_0.3.15.bb @@ -26,3 +26,6 @@ PACKAGECONFIG[test-ui] = "-Denable-test-ui=true, -Denable-test-ui=false, gtk+3 l # Once we have a recipe for 'totem-plparser' this can turn into a PACKAGECONFIG EXTRA_OEMESON = "-Denable-grl-pls=false" +do_compile:append() { + sed -i -e 's,${B}/../,,' ${B}/src/grl-type-builtins.h +}