[Buildroot] [git commit] package/mplayer: add optional libass support

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Apr 7 21:26:20 UTC 2015


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

[Thomas: rely on autodetection.]

Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/mplayer/mplayer.mk |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/package/mplayer/mplayer.mk b/package/mplayer/mplayer.mk
index 9f6c1e6..9da90f2 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


More information about the buildroot mailing list