diff options
| author | Lei Maohui <leimaohui@fujitsu.com> | 2022-09-16 09:32:11 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-09-16 07:47:41 -0700 |
| commit | 972249b6e4e0423ba21b6ddd1a002b479d91c39a (patch) | |
| tree | 66eba32b832a8a2bc4b0a4329061bb6d0decec0b | |
| parent | 63fd43b7911dbc8cd7db6faf950880f4b7fce048 (diff) | |
| download | meta-openembedded-972249b6e4e0423ba21b6ddd1a002b479d91c39a.tar.gz | |
gexiv2: Fix buildpaths warning.
WARNING: gexiv2-0.14.0-r0 do_package_qa: QA Issue: File /usr/src/debug/gexiv2/0.14.0-r0/gexiv2/gexiv2-enums.cpp in package lib32-gexiv2-src contains reference to TMPDIR [buildpaths]
Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-gnome/recipes-gnome/gexiv2/gexiv2_0.14.0.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/gexiv2/gexiv2_0.14.0.bb b/meta-gnome/recipes-gnome/gexiv2/gexiv2_0.14.0.bb index afec302cb4..fed29da0fc 100644 --- a/meta-gnome/recipes-gnome/gexiv2/gexiv2_0.14.0.bb +++ b/meta-gnome/recipes-gnome/gexiv2/gexiv2_0.14.0.bb | |||
| @@ -19,3 +19,10 @@ EXTRA_OEMESON = " \ | |||
| 19 | PACKAGES =+ "${PN}-python3" | 19 | PACKAGES =+ "${PN}-python3" |
| 20 | FILES:${PN}-python3 = "${PYTHON_SITEPACKAGES_DIR}" | 20 | FILES:${PN}-python3 = "${PYTHON_SITEPACKAGES_DIR}" |
| 21 | RDEPENDS:${PN}-python3 = "${PN}" | 21 | RDEPENDS:${PN}-python3 = "${PN}" |
| 22 | |||
| 23 | PACKAGE_PREPROCESS_FUNCS += "src_package_preprocess" | ||
| 24 | src_package_preprocess () { | ||
| 25 | # Trim build paths from comments in generated sources to ensure reproducibility | ||
| 26 | sed -i -e "s,${B}/../${BPN}-${PV}/${BPN}/,,g" \ | ||
| 27 | ${B}/gexiv2/gexiv2-enums.cpp | ||
| 28 | } | ||
