From: Bernd Kuhls Date: Sun, 29 Mar 2015 17:11:24 +0000 (+0200) Subject: package/mplayer: add optional libass support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e346abf618bc7fd09de6fe1a5bee3b70eab1dbf3;p=buildroot.git package/mplayer: add optional libass support [Thomas: rely on autodetection.] Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- 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