package/mplayer: add optional ncurses support
[Thomas: don't pass --enable-termcap, and rely on autodetection instead of forcing -lncurses.] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
54b6649cf7
commit
7220d1f210
@ -45,6 +45,15 @@ else
|
||||
MPLAYER_CONF_OPTS += --disable-freetype
|
||||
endif
|
||||
|
||||
# We intentionally don't pass --enable-termcap, in order to let the
|
||||
# autodetection find with which library to link with. Otherwise, we
|
||||
# would have to pass it manually.
|
||||
ifeq ($(BR2_PACKAGE_NCURSES),y)
|
||||
MPLAYER_DEPENDENCIES += ncurses
|
||||
else
|
||||
MPLAYER_CONF_OPTS += --disable-termcap
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBDVDREAD),y)
|
||||
MPLAYER_CONF_OPTS += \
|
||||
--enable-dvdread \
|
||||
|
Loading…
Reference in New Issue
Block a user