Browse Source

package/mplayer: add optional lzo support

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls 10 năm trước cách đây
mục cha
commit
a12927a85c
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  1. 7 0
      package/mplayer/mplayer.mk

+ 7 - 0
package/mplayer/mplayer.mk

@@ -159,6 +159,13 @@ else
 MPLAYER_CONF_OPTS += --disable-gif
 endif
 
+ifeq ($(BR2_PACKAGE_LZO),y)
+MPLAYER_DEPENDENCIES += lzo
+MPLAYER_CONF_OPTS += --enable-liblzo
+else
+MPLAYER_CONF_OPTS += --disable-liblzo
+endif
+
 MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBTHEORA),libtheora)
 MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBPNG),libpng)
 MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_JPEG),jpeg)