[OE-core] [PATCH] gstreamer: gst-ffmpeg: fix build issues for libav

Derek Buitenhuis derek.buitenhuis at gmail.com
Sat Aug 4 18:57:20 UTC 2012


On 02/08/2012 5:15 PM, Yao Zhao wrote:
> 1.The included libav configure is not generated by autotools
>   patch use-correct-toolchain.patch patched its configure to
> use correct toolchain wrapper.

Why are you patching the toolchain instead of passing the correct parameters
to configure (--enable-cross-compile, --cross-prefix-..., etc)?

> 2.add bzip2 dependency explicitly.
>   or configure will detect whether libbz2 is installed, if bzip2
> is triggered earlier then it will be detected, if not then won't

Looks OK.

> 3.detect whether toolchain supports altivec, if not then add
> disable-altivec to libav's configure line or configure will fail

Wrong fix.

http://git.libav.org/?p=libav.git;a=blob;f=configure;h=b139008d2b1aa5faea3f33c2a1922d0e1cb1fa5c;hb=HEAD#l2318

It should be fixed by passing the proper CPU to libav's configure as an argument.

> 4.move the GSTREAMER_DEBUG to libav's configure, it is not the
> option for the main configure.

OK.

- Derek




More information about the Openembedded-core mailing list