gexiv2: fix buildpath error

adapt 'sed' command to UNPACKDIR changes

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Markus Volk 2025-06-22 19:43:23 +02:00 committed by Khem Raj
parent 5cf4b141a4
commit f69f31733e
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -20,8 +20,8 @@ RDEPENDS:${PN}-python3 = "${PN}"
PACKAGE_PREPROCESS_FUNCS += "src_package_preprocess"
src_package_preprocess () {
# Trim build paths from comments in generated sources to ensure reproducibility
sed -i -e "s,${B}/../${BPN}-${PV}/${BPN}/,,g" \
# Trim build paths from code in generated sources to ensure reproducibility
sed -i -e "s,${B}/../sources/${BP},${TARGET_DBGSRC_DIR},g" \
${B}/gexiv2/gexiv2-enums.cpp
}