Files
meta-qt5-extra/recipes-support/libdbusmenu-qt5/libdbusmenu-qt5_0.9.3+16.04.20160218.bb
Rob Woolley 478a85effb 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>
2025-03-07 00:31:56 +01:00

23 lines
840 B
BlitzBasic

SUMMARY = "A library that provides a Qt implementation of the DBusMenu spec"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=db979804f025cf55aabec7129cb671ed"
DEPENDS = "qtbase dbus"
SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/main/libd/libdbusmenu-qt/libdbusmenu-qt_${PV}.orig.tar.gz"
SRC_URI[md5sum] = "8b90312bd8654e026d814d4db986ce5e"
SRC_URI[sha256sum] = "a8e6358a31c44ccdf1bfc46c95a77a6bfc7fc1f536aadb913ed4f4405c570cf6"
inherit cmake_qt5_extra
S = "${WORKDIR}/libdbusmenu-qt-${PV}"
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
}