Explorar o código

package/mplayer: add optional libenca support

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls %!s(int64=10) %!d(string=hai) anos
pai
achega
2552729232
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      package/mplayer/mplayer.mk

+ 7 - 0
package/mplayer/mplayer.mk

@@ -53,6 +53,13 @@ else
 MPLAYER_CONF_OPTS += --disable-fontconfig
 endif
 
+ifeq ($(BR2_PACKAGE_LIBENCA),y)
+MPLAYER_CONF_OPTS += --enable-enca
+MPLAYER_DEPENDENCIES += libenca
+else
+MPLAYER_CONF_OPTS += --disable-enca
+endif
+
 # We intentionally don't pass --enable-fribidi, to let the
 # autodetection find which library to link with.
 ifeq ($(BR2_PACKAGE_LIBFRIBIDI),y)