package/vlc: add optional dependency to libarchive

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:28 +02:00 committed by Thomas Petazzoni
parent 556ed7c3fd
commit 7f46d614d2

View File

@ -41,7 +41,6 @@ VLC_CONF_OPTS += \
--disable-a52 \
--disable-addonmanagermodules \
--disable-aom \
--disable-archive \
--disable-aribb25 \
--disable-aribsub \
--disable-asdcp \
@ -222,6 +221,13 @@ else
VLC_CONF_OPTS += --disable-opus
endif
ifeq ($(BR2_PACKAGE_LIBARCHIVE),y)
VLC_CONF_OPTS += --enable-archive
VLC_DEPENDENCIES += libarchive
else
VLC_CONF_OPTS += --disable-archive
endif
ifeq ($(BR2_PACKAGE_LIBASS),y)
VLC_CONF_OPTS += --enable-libass
VLC_DEPENDENCIES += libass