package/vlc: add optional dependency to mpg123

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Bernd Kuhls 2018-08-12 22:29:33 +02:00 committed by Thomas Petazzoni
parent f1ff252506
commit 108181bfe3

View File

@ -68,7 +68,6 @@ VLC_CONF_OPTS += \
--disable-mfx \
--disable-microdns \
--disable-mmal \
--disable-mpg123 \
--disable-mtp \
--disable-notify \
--disable-projectm \
@ -453,6 +452,13 @@ ifeq ($(BR2_PACKAGE_MINIZIP),y)
VLC_DEPENDENCIES += minizip
endif
ifeq ($(BR2_PACKAGE_MPG123),y)
VLC_CONF_OPTS += --enable-mpg123
VLC_DEPENDENCIES += mpg123
else
VLC_CONF_OPTS += --disable-mpg123
endif
ifeq ($(BR2_PACKAGE_MUSEPACK),y)
VLC_CONF_OPTS += --enable-mpc
VLC_DEPENDENCIES += musepack