瀏覽代碼

package/mplayer: add optional libass support

[Thomas: rely on autodetection.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls 10 年之前
父節點
當前提交
e346abf618
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      package/mplayer/mplayer.mk

+ 6 - 0
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