[Buildroot] [PATCH 06/18] package/mplayer: add optional fontconfig support

Bernd Kuhls bernd.kuhls at t-online.de
Sun Mar 29 17:11:22 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 7992c4c..db6bbd9 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_FONTCONFIG),y)
+MPLAYER_CONF_OPTS += --enable-fontconfig
+MPLAYER_DEPENDENCIES += fontconfig
+MPLAYER_EXTRA_LIBS += -lfontconfig
+else
+MPLAYER_CONF_OPTS += --disable-fontconfig
+endif
+
 ifeq ($(BR2_PACKAGE_NCURSES),y)
 MPLAYER_CONF_OPTS += --enable-termcap
 MPLAYER_DEPENDENCIES += ncurses
-- 
1.7.10.4



More information about the buildroot mailing list