[OE-core] can't compile ffmpeg without x11

Alexander Kanavin alexander.kanavin at linux.intel.com
Mon Feb 8 12:38:27 UTC 2016


On 02/02/2016 12:08 PM, Yi Qingliang wrote:
> HELLO!
>
> in ffmpeg.bb:
>
> DEPENDS = "alsa-lib zlib libogg yasm-native libxv"
> PACKAGECONFIG ??= "... ${@bb.utils.contains('DISTRO_FEATURES', 'x11',
> 'x11', '', d)}"
>
>
> the 'DEPENDS' says it need libxv which need x11, so the x11 detection
> in 'PACKAGECONFIG' will not work anymore.
>
> can I use ffmpeg without x11 ? (indeed, I want to use opencv)

Yes. From my investigation of upstream, libxv is a floating, 
non-configurable dependency of libavdevice.

I'll send a patch that adds libxv recipe dependency only when 
libavdevice is enabled.


Alex



More information about the Openembedded-core mailing list