diff mbox series

[meta-multimedia,2/4] vlc: Remove WORKDIR from CONFIGURE_LINE definition

Message ID 20230524232723.869580-2-raj.khem@gmail.com
State New
Headers show
Series [meta-oe,1/4] freerdp: Fix reference to TMPDIR in libfreerdp2.so | expand

Commit Message

Khem Raj May 24, 2023, 11:27 p.m. UTC
This is emitted by configure into generated config.h which is used in
src/misc/messages.c and flows into binaries

Fixes
WARNING: vlc-3.0.18-r0 do_package_qa: QA Issue: File /usr/lib/libvlccore.so.9.0.1 in package libvlc contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-multimedia/recipes-multimedia/vlc/vlc_3.0.18.bb | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.18.bb b/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.18.bb
index dd6eceae51..92f05544dd 100644
--- a/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.18.bb
+++ b/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.18.bb
@@ -101,6 +101,7 @@  do_configure:append() {
     for qtpath in adapters components/epg components/playlist components/sout dialogs managers styles util/buttons; do
         mkdir -p "${B}/modules/gui/qt/$qtpath"
     done
+    sed -i -e 's|${WORKDIR}||g' ${B}/config.h
 }
 
 # This recipe packages vlc as a library as well, so qt4 dependencies