[Buildroot] [git commit] package/vlc: add optional dependency to ncurses

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Sep 7 11:16:02 UTC 2018


commit: https://git.buildroot.net/buildroot/commit/?id=b63c3af947b2a8e8f63ffd52fe2b401b3b227cb2
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 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 += \


More information about the buildroot mailing list