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

Bernd Kuhls bernd.kuhls at t-online.de
Sun Mar 29 17:11:34 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 da6e468..61c4594 100644
--- a/package/mplayer/mplayer.mk
+++ b/package/mplayer/mplayer.mk
@@ -150,6 +150,12 @@ MPLAYER_EXTRA_LIBS += -lass
 MPLAYER_CONF_OPTS += --disable-ass-internal --enable-ass
 endif
 
+ifeq ($(BR2_PACKAGE_LIBMPEG2),y)
+MPLAYER_DEPENDENCIES += libmpeg2
+MPLAYER_CONF_OPTS += --disable-libmpeg2-internal --enable-libmpeg2
+MPLAYER_EXTRA_LIBS += -lmpeg2
+endif
+
 ifeq ($(BR2_PACKAGE_TREMOR),y)
 MPLAYER_DEPENDENCIES += tremor
 MPLAYER_CONF_OPTS += --disable-tremor-internal --enable-tremor
-- 
1.7.10.4



More information about the buildroot mailing list