package/mplayer: add optional libenca support
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 29 Mar 2015 17:11:25 +0000 (19:11 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 7 Apr 2015 21:27:23 +0000 (23:27 +0200)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mplayer/mplayer.mk

index 9da90f2b6c391aed382a16903169d47800570908..14e8c77eed0bb12bfa70501ea10ef014421a28cf 100644 (file)
@@ -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)