From patchwork Tue May 31 19:06:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 8671 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A351C4332F for ; Tue, 31 May 2022 19:06:50 +0000 (UTC) Received: from mailout06.t-online.de (mailout06.t-online.de [194.25.134.19]) by mx.groups.io with SMTP id smtpd.web10.1857.1654024006755994577 for ; Tue, 31 May 2022 12:06:47 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: t-online.de, ip: 194.25.134.19, mailfrom: f_l_k@t-online.de) Received: from fwd72.dcpf.telekom.de (fwd72.aul.t-online.de [10.223.144.98]) by mailout06.t-online.de (Postfix) with SMTP id 6E3DB10879 for ; Tue, 31 May 2022 21:06:45 +0200 (CEST) Received: from localhost.localdomain ([84.163.46.125]) by fwd72.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1nw7CW-0ho03f0; Tue, 31 May 2022 21:06:44 +0200 From: Markus Volk To: openembedded-core@lists.openembedded.org Cc: Markus Volk Subject: [oe-core][PATCH 3/4] xdg-utils: allow to build for wayland Date: Tue, 31 May 2022 21:06:19 +0200 Message-Id: <20220531190620.186764-3-f_l_k@t-online.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220531190620.186764-1-f_l_k@t-online.de> References: <20220531190620.186764-1-f_l_k@t-online.de> MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1654024004-01439E5E-F2B92ADB/0/0 CLEAN NORMAL X-TOI-MSGID: 031afbdf-2e6d-4fc5-b979-617dbdb37079 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 31 May 2022 19:06:50 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/166331 Signed-off-by: Markus Volk --- meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb b/meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb index 73acf6b744..ef698d9f09 100644 --- a/meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb +++ b/meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb @@ -31,8 +31,9 @@ UPSTREAM_CHECK_REGEX = "xdg-utils-(?P((\d+[\.\-_]*)+)((rc|alpha|beta)\d+)? # Needs brokensep as this doesn't use automake inherit autotools-brokensep features_check -# The xprop requires x11 in DISTRO_FEATURES -REQUIRED_DISTRO_FEATURES = "x11" +ANY_OF_DISTRO_FEATURES = "x11 wayland" DEPENDS = "xmlto-native libxslt-native" -RDEPENDS:${PN} += "xprop" + +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" +PACKAGECONFIG[x11] = ",,,xprop"