[Buildroot] [PATCH 02/18] package/mplayer: add optional giflib support

Bernd Kuhls bernd.kuhls at t-online.de
Sun Mar 29 17:11:18 UTC 2015


Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
 package/mplayer/mplayer.mk |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/mplayer/mplayer.mk b/package/mplayer/mplayer.mk
index 192a42e..f004ca9 100644
--- a/package/mplayer/mplayer.mk
+++ b/package/mplayer/mplayer.mk
@@ -100,6 +100,11 @@ else
 MPLAYER_CONF_OPTS += --disable-live
 endif
 
+ifeq ($(BR2_PACKAGE_GIFLIB),y)
+MPLAYER_DEPENDENCIES += giflib
+MPLAYER_EXTRA_LIBS += -lgif
+endif
+
 MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBTHEORA),libtheora)
 MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBPNG),libpng)
 MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_JPEG),jpeg)
@@ -145,6 +150,7 @@ define MPLAYER_CONFIGURE_CMDS
 		--yasm='' \
 		--enable-fbdev \
 		$(MPLAYER_CONF_OPTS) \
+		--extra-libs="$(MPLAYER_EXTRA_LIBS)" \
 		--enable-cross-compile \
 		--disable-ivtv \
 		--enable-dynamic-plugins \
-- 
1.7.10.4




More information about the buildroot mailing list