package/qt5/qt5base: add zstd optional dependency

zstd is an optional dependency which is enabled by default since version
5.13.0 and
f25bc30d8d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2021-11-14 11:15:54 +01:00 committed by Thomas Petazzoni
parent 130a28d446
commit cc9b579751

View File

@ -116,6 +116,13 @@ else
QT5BASE_CONFIGURE_OPTS += -no-cups
endif
ifeq ($(BR2_PACKAGE_ZSTD),y)
QT5BASE_DEPENDENCIES += zstd
QT5BASE_CONFIGURE_OPTS += -zstd
else
QT5BASE_CONFIGURE_OPTS += -no-zstd
endif
# Qt5 SQL Plugins
ifeq ($(BR2_PACKAGE_QT5BASE_SQL),y)
ifeq ($(BR2_PACKAGE_QT5BASE_MYSQL),y)