Browse Source

package/mplayer: add optional speex support

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls 10 years ago
parent
commit
87a292b62d
1 changed files with 7 additions and 0 deletions
  1. 7 0
      package/mplayer/mplayer.mk

+ 7 - 0
package/mplayer/mplayer.mk

@@ -174,6 +174,13 @@ else
 MPLAYER_CONF_OPTS += --disable-librtmp
 MPLAYER_CONF_OPTS += --disable-librtmp
 endif
 endif
 
 
+ifeq ($(BR2_PACKAGE_SPEEX),y)
+MPLAYER_DEPENDENCIES += speex
+MPLAYER_CONF_OPTS += --enable-speex
+else
+MPLAYER_CONF_OPTS += --disable-speex
+endif
+
 ifeq ($(BR2_PACKAGE_LZO),y)
 ifeq ($(BR2_PACKAGE_LZO),y)
 MPLAYER_DEPENDENCIES += lzo
 MPLAYER_DEPENDENCIES += lzo
 MPLAYER_CONF_OPTS += --enable-liblzo
 MPLAYER_CONF_OPTS += --enable-liblzo