From e346abf618bc7fd09de6fe1a5bee3b70eab1dbf3 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 29 Mar 2015 19:11:24 +0200 Subject: [PATCH] package/mplayer: add optional libass support [Thomas: rely on autodetection.] Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/mplayer/mplayer.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/mplayer/mplayer.mk b/package/mplayer/mplayer.mk index 9f6c1e6d81..9da90f2b6c 100644 --- a/package/mplayer/mplayer.mk +++ b/package/mplayer/mplayer.mk @@ -111,6 +111,12 @@ else MPLAYER_CONF_OPTS += --disable-mencoder endif +# We intentionally don't pass --disable-ass-internal --enable-ass and +# let autodetection find which library to link with. +ifeq ($(BR2_PACKAGE_LIBASS),y) +MPLAYER_DEPENDENCIES += libass +endif + ifeq ($(BR2_PACKAGE_TREMOR),y) MPLAYER_DEPENDENCIES += tremor MPLAYER_CONF_OPTS += --disable-tremor-internal --enable-tremor -- 2.30.2