Skip to contentSkip to conversation

pipewire: remove WORKDIR from documentation

PATCH New Gyorgy Sarvari 1 participant 1 message Feb 14, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pipewire: remove WORKDIR from documentation

In case docs PACKAGECONFIG is enabled, do_package_qa task fails due to some of the generated html files are referencing the ${WORKDIR}.

Delete it from these files.

---
 .../recipes-multimedia/pipewire/pipewire_1.2.7.bb           | 6 ++++++
 1 file changed, 6 insertions(+)
meta-multimedia/recipes-multimedia/pipewire/pipewire_1.2.7.bb +6 -0
index d2aede6d49..8c486b9c5e 100644
@@ -391,3 +391,9 @@ FILES:gstreamer1.0-pipewire = " \
 "
 
 BBCLASSEXTEND = "native nativesdk"
+
+do_install:append() {
+  if ls ${D}${datadir}/doc/pipewire/html/dir_*html; then
+    sed -i "s,${WORKDIR},,g" ${D}${datadir}/doc/pipewire/html/dir_*html
+  fi
+}