diff options
author | Peter Marko <peter.marko@siemens.com> | 2024-06-25 10:11:48 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-07-02 22:29:13 +0100 |
commit | 840f9cbe7a423a8bf3c938f7d00f597dacadce34 (patch) | |
tree | 738b53a4da09da50fd7508a341f91bcc95199635 /meta/recipes-multimedia | |
parent | d6a4522e6754eebab205b748de5e2379a5013310 (diff) | |
download | poky-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.bb | 7 |
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++" | |||
34 | FILES:${PN} = "${bindir}/*" | 34 | FILES:${PN} = "${bindir}/*" |
35 | FILES:libflac = "${libdir}/libFLAC.so.*" | 35 | FILES:libflac = "${libdir}/libFLAC.so.*" |
36 | FILES:libflac++ = "${libdir}/libFLAC++.so.*" | 36 | FILES:libflac++ = "${libdir}/libFLAC++.so.*" |
37 | |||
38 | do_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 | } | ||