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 <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2023-04-17 21:33:12 -07:00
parent 9d66f76045
commit cd8c45f492

View File

@ -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
}