From 0d0e5cd10544e47903ad288302ffa9adca810948 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 29 Mar 2015 19:11:23 +0200 Subject: package/mplayer: add optional libfribidi support [Thomas: rely on autodetection.] Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/mplayer/mplayer.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package/mplayer/mplayer.mk b/package/mplayer/mplayer.mk index 7a88b7418c..9f6c1e6d81 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. -- cgit v1.2.1