From b63c3af947b2a8e8f63ffd52fe2b401b3b227cb2 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 12 Aug 2018 22:29:17 +0200 Subject: [PATCH] package/vlc: add optional dependency to ncurses Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/vlc/vlc.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk index 7e496688b9..ecc5c6cafe 100644 --- a/package/vlc/vlc.mk +++ b/package/vlc/vlc.mk @@ -355,6 +355,13 @@ else VLC_CONF_OPTS += --disable-mpc endif +ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) +VLC_CONF_OPTS += --enable-ncurses +VLC_DEPENDENCIES += ncurses +else +VLC_CONF_OPTS += --disable-ncurses +endif + ifeq ($(BR2_PACKAGE_QT_GUI_MODULE),y) VLC_CONF_OPTS += --enable-qt VLC_CONF_ENV += \ -- 2.30.2