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

Koen Kooi koen at dominion.thruhere.net
Sun Aug 5 11:52:39 UTC 2012


Op 4 aug. 2012, om 20:57 heeft Derek Buitenhuis <derek.buitenhuis at gmail.com> het volgende geschreven:

> 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.


I find it a lot easier to build gst-ffmpeg against an external libav, that way you don't have to jump through all these hoops to get a proper libav. That's what the meta-oe bbappend does :) 

regards,

Koen



More information about the Openembedded-core mailing list