From: Angelo Compagnucci <angelo@amarulasolutions.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 6/6] package/qt5: Enable cups support when BR2_PACKAGE_CUPS
Date: Wed, 17 Jun 2020 19:28:48 +0200 [thread overview]
Message-ID: <20200617172848.2601-7-angelo@amarulasolutions.com> (raw)
In-Reply-To: <20200617172848.2601-1-angelo@amarulasolutions.com>
Cups support should be enabled in Qt if CUPS is available system wide.
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
---
package/qt5/qt5base/qt5base.mk | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
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)
--
2.25.1
prev parent reply other threads:[~2020-06-17 17:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-17 17:28 [Buildroot] [PATCH 0/6] Cups revamp Angelo Compagnucci
2020-06-17 17:28 ` [Buildroot] [PATCH 1/6] package/dejavu: Install dejavu fonts in staging dir Angelo Compagnucci
2020-06-17 17:28 ` [Buildroot] [PATCH 2/6] package/cups-filters: bump to version 1.27.5 Angelo Compagnucci
2020-06-17 17:28 ` [Buildroot] [PATCH 3/6] package/cups: bump to version 2.3.3 Angelo Compagnucci
2020-06-17 17:28 ` [Buildroot] [PATCH 4/6] package/cups: Add udev rules to assign usb printers group to lp Angelo Compagnucci
2020-06-17 17:28 ` [Buildroot] [PATCH 5/6] package/cups: adding python support Angelo Compagnucci
2020-06-17 17:28 ` Angelo Compagnucci [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200617172848.2601-7-angelo@amarulasolutions.com \
--to=angelo@amarulasolutions.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox