libdbusmenu-qt5: Remove buildpath from header file

This header file specifies the absolute build path in the #include directive.

Change the path to the target destination path to avoid a QA error.

Signed-off-by: Rob Woolley <rob.woolley@windriver.com>
This commit is contained in:
Rob Woolley
2025-03-04 05:49:04 -08:00
committed by Andreas Müller
parent 2a890cfe16
commit 478a85effb

View File

@@ -15,3 +15,8 @@ EXTRA_OECMAKE += " \
-DUSE_QT5=On \
-DWITH_DOC=OFF \
"
# QA Issue: File /usr/src/debug/libdbusmenu-qt5/0.9.3+16.04.20160218/src/dbusmenuadaptor.h in package libdbusmenu-qt5-src contains reference to TMPDIR [buildpaths]
do_install:prepend() {
sed -i -e "s#${S}#${prefix}/src/debug/#g" ${B}/src/dbusmenuadaptor.h
}