Przeglądaj źródła

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 10 lat temu
rodzic
commit
2552729232
1 zmienionych plików z 7 dodań i 0 usunięć
  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)