| Message ID | 20260116173402.1460230-1-ross.burton@arm.com |
|---|---|
| State | New |
| Headers | show |
| Series | ffmpeg: ensure manpage generation is deterministic | expand |
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_8.0.1.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_8.0.1.bb index 5ae985efb5..7d1f32f044 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_8.0.1.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_8.0.1.bb @@ -38,6 +38,7 @@ ARM_INSTRUCTION_SET:armv6 = "arm" # Should be API compatible with libav (which was a fork of ffmpeg) PROVIDES = "libav" +DEPENDS = "perl-native" DEPENDS:append:x86 = " nasm-native" DEPENDS:append:x86-64 = " nasm-native"
With a clean build tree, building ffmpeg from scratch will not have any manpages generated. However if you then force ffmpeg to rebuild, the resulting packages will have manpages. This is because the ffmpeg manpage generation uses pod2man, which is provided by perl-native. This is not a build-dependency on ffmpeg but it does enter the sysroot in do_package via further dependencies on that task. As this is non-deterministic and easy to solve, simply add perl-native to the DEPENDS. Signed-off-by: Ross Burton <ross.burton@arm.com> --- meta/recipes-multimedia/ffmpeg/ffmpeg_8.0.1.bb | 1 + 1 file changed, 1 insertion(+)