[Buildroot] [PATCH] mplayer: enable apng and tdsc only if zlib is available

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Oct 15 11:28:21 UTC 2015


Dear Vicente Olivert Riera,

On Wed, 14 Oct 2015 15:15:24 +0100, Vicente Olivert Riera wrote:
> apng and tdsc are enabled by default, but they need zlib, otherwise the
> compilation will fail with an error like this one:
> 
> libavcodec/pngdec.c:35:18: fatal error: zlib.h: No such file or
> directory
>  #include <zlib.h>
>                   ^
> compilation terminated.
> 
> So add an autodep on BR2_PACKAGE_ZLIB to enable or disable support for
> apng and tdsc accordingly.
> 
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
> ---
>  package/mplayer/mplayer.mk |   13 +++++++++++++
>  1 files changed, 13 insertions(+), 0 deletions(-)

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list