diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2015-03-29 19:11:22 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-04-07 23:12:15 +0200 |
commit | 11d2bf0bb651593a010f9c0f88d4481483ab4616 (patch) | |
tree | 19cd248ed303783679c2eb0f8ba3e0c662082d52 | |
parent | db11bd32f2554cf2dbfc1a6f252be2b790e14c8c (diff) | |
download | buildroot-11d2bf0bb651593a010f9c0f88d4481483ab4616.tar.gz buildroot-11d2bf0bb651593a010f9c0f88d4481483ab4616.zip |
package/mplayer: add optional fontconfig support
[Thomas: rely on autodetection.]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/mplayer/mplayer.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package/mplayer/mplayer.mk b/package/mplayer/mplayer.mk index b685a3862a..7a88b7418c 100644 --- a/package/mplayer/mplayer.mk +++ b/package/mplayer/mplayer.mk @@ -45,6 +45,14 @@ else MPLAYER_CONF_OPTS += --disable-freetype endif +# We intentionally don't pass --enable-fontconfig, to let the +# autodetection find which library to link with. +ifeq ($(BR2_PACKAGE_FONTCONFIG),y) +MPLAYER_DEPENDENCIES += fontconfig +else +MPLAYER_CONF_OPTS += --disable-fontconfig +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. |