浏览代码

package/mplayer: add optional libmpeg2 support

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls 10 年之前
父节点
当前提交
64453db466
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      package/mplayer/mplayer.mk

+ 7 - 0
package/mplayer/mplayer.mk

@@ -151,6 +151,13 @@ ifeq ($(BR2_PACKAGE_LIBASS),y)
 MPLAYER_DEPENDENCIES += libass
 MPLAYER_DEPENDENCIES += libass
 endif
 endif
 
 
+# We intentionally don't pass --enable-libmpeg2 and let autodetection
+# find which library to link with.
+ifeq ($(BR2_PACKAGE_LIBMPEG2),y)
+MPLAYER_DEPENDENCIES += libmpeg2
+MPLAYER_CONF_OPTS += --disable-libmpeg2-internal
+endif
+
 ifeq ($(BR2_PACKAGE_TREMOR),y)
 ifeq ($(BR2_PACKAGE_TREMOR),y)
 MPLAYER_DEPENDENCIES += tremor
 MPLAYER_DEPENDENCIES += tremor
 MPLAYER_CONF_OPTS += --disable-tremor-internal --enable-tremor
 MPLAYER_CONF_OPTS += --disable-tremor-internal --enable-tremor