From: Michael Trimarchi Date: Fri, 19 Jun 2020 14:57:19 +0000 (+0200) Subject: package/qt5: add optional CUPS support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=128839e1c8edaa120a761164b0cd8e0e30e9cd80;p=buildroot.git package/qt5: add optional CUPS support Signed-off-by: Michael Trimarchi Signed-off-by: Angelo Compagnucci Signed-off-by: Thomas Petazzoni --- diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk index 42d77306cc..c6b459a0e1 100644 --- a/package/qt5/qt5base/qt5base.mk +++ b/package/qt5/qt5base/qt5base.mk @@ -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)