summaryrefslogtreecommitdiff
path: root/package/mplayer
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2015-03-29 19:11:23 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-07 23:17:58 +0200
commit0d0e5cd10544e47903ad288302ffa9adca810948 (patch)
tree450f0d5acff66915a8cdd22a4a2ad986dc8d7d0a /package/mplayer
parent11d2bf0bb651593a010f9c0f88d4481483ab4616 (diff)
package/mplayer: add optional libfribidi 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>
Diffstat (limited to 'package/mplayer')
-rw-r--r--package/mplayer/mplayer.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/mplayer/mplayer.mk b/package/mplayer/mplayer.mk
index 7a88b7418..9f6c1e6d8 100644
--- a/package/mplayer/mplayer.mk
+++ b/package/mplayer/mplayer.mk
@@ -53,6 +53,14 @@ else
MPLAYER_CONF_OPTS += --disable-fontconfig
endif
+# We intentionally don't pass --enable-fribidi, to let the
+# autodetection find which library to link with.
+ifeq ($(BR2_PACKAGE_LIBFRIBIDI),y)
+MPLAYER_DEPENDENCIES += libfribidi
+else
+MPLAYER_CONF_OPTS += --disable-fribidi
+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.