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

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


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

diff --git a/package/mplayer/mplayer.mk b/package/mplayer/mplayer.mk
index f004ca9..5ecd25a 100644
--- a/package/mplayer/mplayer.mk
+++ b/package/mplayer/mplayer.mk
@@ -45,6 +45,14 @@ else
 MPLAYER_CONF_OPTS += --disable-freetype
 endif
 
+ifeq ($(BR2_PACKAGE_NCURSES),y)
+MPLAYER_CONF_OPTS += --enable-termcap
+MPLAYER_DEPENDENCIES += ncurses
+MPLAYER_EXTRA_LIBS += -lncurses
+else
+MPLAYER_CONF_OPTS += --disable-termcap
+endif
+
 ifeq ($(BR2_PACKAGE_LIBDVDREAD),y)
 MPLAYER_CONF_OPTS +=  \
 	--enable-dvdread \
-- 
1.7.10.4



More information about the buildroot mailing list