package/qt5: add optional CUPS support

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Michael Trimarchi 2020-06-19 16:57:19 +02:00 committed by Thomas Petazzoni
parent a3a37b1c64
commit 128839e1c8

View File

@ -23,7 +23,6 @@ QT5BASE_INSTALL_STAGING = YES
# feature enabled
QT5BASE_CONFIGURE_OPTS += \
-optimized-qmake \
-no-cups \
-no-iconv \
-system-zlib \
-system-pcre \
@ -108,6 +107,13 @@ ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
QT5BASE_DEPENDENCIES += udev
endif
ifeq ($(BR2_PACKAGE_CUPS), y)
QT5BASE_DEPENDENCIES += cups
QT5BASE_CONFIGURE_OPTS += -cups
else
QT5BASE_CONFIGURE_OPTS += -no-cups
endif
# Qt5 SQL Plugins
ifeq ($(BR2_PACKAGE_QT5BASE_SQL),y)
ifeq ($(BR2_PACKAGE_QT5BASE_MYSQL),y)