vlc: add libass support
authorSimon Dawson <spdawson@gmail.com>
Wed, 29 Jan 2014 09:25:53 +0000 (09:25 +0000)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 29 Jan 2014 09:50:54 +0000 (10:50 +0100)
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/vlc/vlc.mk

index 458fe1cbbb08b14a280cad6cfe0058442c46d70c..73b378c8c2e6d621582ee59b629ad47ab2f8341d 100644 (file)
@@ -21,7 +21,6 @@ VLC_CONF_OPT += \
        --disable-quicksync \
        --disable-fluidsynth \
        --disable-zvbi \
-       --disable-libass \
        --disable-kate \
        --disable-caca \
        --disable-jack \
@@ -100,6 +99,13 @@ else
 VLC_CONF_OPT += --disable-opus
 endif
 
+ifeq ($(BR2_PACKAGE_LIBASS),y)
+VLC_CONF_OPT += --enable-libass
+VLC_DEPENDENCIES += libass
+else
+VLC_CONF_OPT += --disable-libass
+endif
+
 ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
 VLC_CONF_OPT += --enable-libgcrypt
 VLC_DEPENDENCIES += libgcrypt