summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia
diff options
context:
space:
mode:
authorPeter Marko <peter.marko@siemens.com>2024-06-25 10:11:48 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-07-02 22:29:13 +0100
commit840f9cbe7a423a8bf3c938f7d00f597dacadce34 (patch)
tree738b53a4da09da50fd7508a341f91bcc95199635 /meta/recipes-multimedia
parentd6a4522e6754eebab205b748de5e2379a5013310 (diff)
downloadpoky-840f9cbe7a423a8bf3c938f7d00f597dacadce34.tar.gz
flac: fix buildpaths warnings
Generated documentation (html) contain absolute paths cources using buildpaths warnings. Replace them with relative links. The file with root path to sources is in my build /usr/share/doc/flac/api/dir_c122f5d6544f32779f55e8358fb78605.html which does not looks as stable name, so replace it in all files. (From OE-Core rev: c7d826c88933d53d550265f1cc382539c5c52994) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r--meta/recipes-multimedia/flac/flac_1.4.3.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/flac/flac_1.4.3.bb b/meta/recipes-multimedia/flac/flac_1.4.3.bb
index d4e463cda5..87b67bee1f 100644
--- a/meta/recipes-multimedia/flac/flac_1.4.3.bb
+++ b/meta/recipes-multimedia/flac/flac_1.4.3.bb
@@ -34,3 +34,10 @@ PACKAGES += "libflac libflac++"
34FILES:${PN} = "${bindir}/*" 34FILES:${PN} = "${bindir}/*"
35FILES:libflac = "${libdir}/libFLAC.so.*" 35FILES:libflac = "${libdir}/libFLAC.so.*"
36FILES:libflac++ = "${libdir}/libFLAC++.so.*" 36FILES:libflac++ = "${libdir}/libFLAC++.so.*"
37
38do_install:append() {
39 # make the links in documentation relative to avoid buildpaths reproducibility problem
40 sed -i "s#${S}/include#${includedir}#g" ${D}${docdir}/flac/FLAC.tag ${D}${docdir}/flac/api/*.html
41 # there is also one root path without trailing slash
42 sed -i "s#${S}#/#g" ${D}${docdir}/flac/api/*.html
43}