All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/mplayer: add optional fontconfig support
@ 2015-04-07 21:12 Thomas Petazzoni
  0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2015-04-07 21:12 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=11d2bf0bb651593a010f9c0f88d4481483ab4616
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

[Thomas: rely on autodetection.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 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 b685a38..7a88b74 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.

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-07 21:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-07 21:12 [Buildroot] [git commit] package/mplayer: add optional fontconfig support Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.