package/mplayer: add optional libass support
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 29 Mar 2015 17:11:24 +0000 (19:11 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 7 Apr 2015 21:26:20 +0000 (23:26 +0200)
[Thomas: rely on autodetection.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mplayer/mplayer.mk

index 9f6c1e6d8182eda96f142f367f25cad7aca143a4..9da90f2b6c391aed382a16903169d47800570908 100644 (file)
@@ -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