From: Bernd Kuhls Date: Sun, 29 Mar 2015 17:11:18 +0000 (+0200) Subject: package/mplayer: add optional giflib support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c7373b370ca0edf54ebc3cc3f7cc67055219f55;p=buildroot.git package/mplayer: add optional giflib support [Thomas: Use --enable-gif / --disable-gif, and do not pass --extra-libs.] Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/mplayer/mplayer.mk b/package/mplayer/mplayer.mk index 192a42eebc..70a8842ea2 100644 --- a/package/mplayer/mplayer.mk +++ b/package/mplayer/mplayer.mk @@ -100,6 +100,13 @@ else MPLAYER_CONF_OPTS += --disable-live endif +ifeq ($(BR2_PACKAGE_GIFLIB),y) +MPLAYER_DEPENDENCIES += giflib +MPLAYER_CONF_OPTS += --enable-gif +else +MPLAYER_CONF_OPTS += --disable-gif +endif + MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBTHEORA),libtheora) MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBPNG),libpng) MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_JPEG),jpeg)