From patchwork Fri Jun 19 14:57:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1313017 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=aAWaSsVX; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49pMP22qpvz9sfR for ; Sat, 20 Jun 2020 00:57:58 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id F0D39899ED; Fri, 19 Jun 2020 14:57:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id egZQlNK8L4k2; Fri, 19 Jun 2020 14:57:55 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 67DA4899F1; Fri, 19 Jun 2020 14:57:55 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id C26891BF860 for ; Fri, 19 Jun 2020 14:57:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id BF64B865A5 for ; Fri, 19 Jun 2020 14:57:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id biPrInjaVlli for ; Fri, 19 Jun 2020 14:57:37 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 6AA92866F2 for ; Fri, 19 Jun 2020 14:57:37 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id b82so8704036wmb.1 for ; Fri, 19 Jun 2020 07:57:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Pdws9W3+ucWZnnUkB8pfuVNqlJU4D4bt0f+YmndSt3s=; b=aAWaSsVXo7vlxa4aJvCNLY131N569hrnIr8xHm8CryiyFCTSfXsdZN76m+2xxQyUZq IGjeMfX9gRHiLFKE5xe63lv4od3v7J7wSlQWoLTVSPeBG4Zae1XoZ27ercS3btEpLpqi 0nifnqpyF27pj+l+rEW0ClJ0Vt2SQ7l75f/1o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Pdws9W3+ucWZnnUkB8pfuVNqlJU4D4bt0f+YmndSt3s=; b=gDOI6Mg1T3u676ZUVwI9pqC4uEw9ho61WeSKWPZQdW1tvZOX2RW0XiqoJdcGQnK0tG K9ks6nbvOKgbFhxe21Ny/DmVQl7DJ3SKQ3y7T96AFiw8NmcgZxHBhvOBON8wkkX6gp4+ YAnrXAeHT3iyG4HEHaEB7OHWUjTi8KUczCQIXjR2rXwM0+iDN7I6N5TetsObVeS24iws gX6OetgAbTWVFBdlNkYjbXITCvI86ajY1dOz+YNnSrBAo1Lr5zxOtDuQiB+hFptxumQw +fuy0FBQsThFtEQw6KxntTzbJNPCAkFOwYyKgaIFrD9QzpJdAx/4Crj/SsLHCxw/38Kb 1qsQ== X-Gm-Message-State: AOAM533l0sZ7yWutcmMl2e/uUxTMTatu+dG8t++KQz3pLnwve7hVnsbj usEOtqG7z/WvGRB+3SbO17NfeodyN72AuA== X-Google-Smtp-Source: ABdhPJxrXQ4egLIq2yFee8je56xJYhGSozqfbqGwpt+RE9Oo+2mYJNr3zpwi+h3qFWqqrZZkEJGHmg== X-Received: by 2002:a1c:4c0d:: with SMTP id z13mr3932466wmf.97.1592578651685; Fri, 19 Jun 2020 07:57:31 -0700 (PDT) Received: from localhost.localdomain (host194055151123.static.fidoka.tech. [194.55.151.123]) by smtp.gmail.com with ESMTPSA id a16sm7302165wrx.8.2020.06.19.07.57.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2020 07:57:30 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Fri, 19 Jun 2020 16:57:19 +0200 Message-Id: <20200619145719.2352019-8-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200619145719.2352019-1-angelo@amarulasolutions.com> References: <20200619145719.2352019-1-angelo@amarulasolutions.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 7/7] package/qt5: Enable cups support when BR2_PACKAGE_CUPS X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Trimarchi , Angelo Compagnucci Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Michael Trimarchi Cups support in QT should be enable if CUPS is available system wide. Signed-off-by: Michael Trimarchi Signed-off-by: Angelo Compagnucci --- 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)