package/qt6/qt6base: add support for printsupport/cups
Signed-off-by: Jesse Van Gavere <jesseevg@gmail.com> Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
653e573436
commit
7d195622f2
@ -153,6 +153,14 @@ config BR2_PACKAGE_QT6BASE_WIDGETS
|
|||||||
help
|
help
|
||||||
This option enables the Qt6Widgets library.
|
This option enables the Qt6Widgets library.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_QT6BASE_PRINTSUPPORT
|
||||||
|
bool "printing support"
|
||||||
|
# yes, print support needs widgets
|
||||||
|
depends on BR2_PACKAGE_QT6BASE_WIDGETS
|
||||||
|
help
|
||||||
|
This option enables printing support, optionally using CUPS
|
||||||
|
if available.
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
config BR2_PACKAGE_QT6BASE_NETWORK
|
config BR2_PACKAGE_QT6BASE_NETWORK
|
||||||
|
@ -207,6 +207,18 @@ else
|
|||||||
QT6BASE_CONF_OPTS += -DFEATURE_jpeg=OFF
|
QT6BASE_CONF_OPTS += -DFEATURE_jpeg=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_QT6BASE_PRINTSUPPORT),y)
|
||||||
|
QT6BASE_CONF_OPTS += -DFEATURE_printsupport=ON
|
||||||
|
ifeq ($(BR2_PACKAGE_CUPS),y)
|
||||||
|
QT6BASE_CONF_OPTS += -DFEATURE_cups=ON
|
||||||
|
QT6BASE_DEPENDENCIES += cups
|
||||||
|
else
|
||||||
|
QT6BASE_CONF_OPTS += -DFEATURE_cups=OFF
|
||||||
|
endif
|
||||||
|
else
|
||||||
|
QT6BASE_CONF_OPTS += -DFEATURE_printsupport=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBDRM),y)
|
ifeq ($(BR2_PACKAGE_LIBDRM),y)
|
||||||
QT6BASE_CONF_OPTS += -DFEATURE_kms=ON
|
QT6BASE_CONF_OPTS += -DFEATURE_kms=ON
|
||||||
QT6BASE_DEPENDENCIES += libdrm
|
QT6BASE_DEPENDENCIES += libdrm
|
||||||
|
Loading…
Reference in New Issue
Block a user