diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2015-03-29 19:11:19 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-04-07 22:51:45 +0200 |
commit | 7220d1f2106edd122f034ac767c1fc81fb2d71d9 (patch) | |
tree | b1563768b51f3c9603efa5a0bd9d12a5f9489f6e /package/mplayer | |
parent | 54b6649cf7c84d39568d4e24d0b93ab6416c1075 (diff) |
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>
Diffstat (limited to 'package/mplayer')
-rw-r--r-- | package/mplayer/mplayer.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/package/mplayer/mplayer.mk b/package/mplayer/mplayer.mk index 70a8842ea..06cddf60f 100644 --- a/package/mplayer/mplayer.mk +++ b/package/mplayer/mplayer.mk @@ -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 \ |