From patchwork Tue Jan 25 18:13:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 2933 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 446A1C433EF for ; Tue, 25 Jan 2022 18:13:49 +0000 (UTC) Received: from mailout10.t-online.de (mailout10.t-online.de [194.25.134.21]) by mx.groups.io with SMTP id smtpd.web08.710.1643134428311627270 for ; Tue, 25 Jan 2022 10:13:48 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: t-online.de, ip: 194.25.134.21, mailfrom: f_l_k@t-online.de) Received: from fwd70.dcpf.telekom.de (fwd70.aul.t-online.de [10.223.144.96]) by mailout10.t-online.de (Postfix) with SMTP id 8845B1A820 for ; Tue, 25 Jan 2022 19:13:46 +0100 (CET) Received: from flk-MS-7C91.fritz.box ([84.163.43.159]) by fwd70.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1nCQKA-3h2uiv0; Tue, 25 Jan 2022 19:13:46 +0100 From: Markus Volk To: openembedded-devel@lists.openembedded.org Cc: Markus Volk Subject: [meta-gnome][PATCH] folks: make some dependencies optional Date: Tue, 25 Jan 2022 19:13:39 +0100 Message-Id: <20220125181339.114315-1-f_l_k@t-online.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1643134426-00004E7B-D0B29484/0/0 CLEAN NORMAL X-TOI-MSGID: 02bdc208-5783-43df-95ee-072679b6de72 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, 25 Jan 2022 18:13:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/95082 make some dependencies optional add libebook dependency to all backends that need it ofono backend depends on eds backend Signed-off-by: Markus Volk --- .../recipes-connectivity/folks/folks_0.15.4.bb | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/meta-gnome/recipes-connectivity/folks/folks_0.15.4.bb b/meta-gnome/recipes-connectivity/folks/folks_0.15.4.bb index 7dc72f822..d331dfdb5 100644 --- a/meta-gnome/recipes-connectivity/folks/folks_0.15.4.bb +++ b/meta-gnome/recipes-connectivity/folks/folks_0.15.4.bb @@ -3,11 +3,8 @@ LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" DEPENDS = " \ - dbus-glib \ glib-2.0 \ libgee \ - libxml2 \ - python3-dbusmock-native \ " GNOMEBASEBUILDCLASS = "meson" @@ -17,15 +14,15 @@ REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" GIR_MESON_OPTION = "" PACKAGECONFIG[eds] = "-Deds_backend=true,-Deds_backend=false,evolution-data-server" -PACKAGECONFIG[bluez] = "-Dbluez_backend=true,-Dbluez_backend=false" -PACKAGECONFIG[ofono] = "-Dofono_backend=true,-Dofono_backend=false" -PACKAGECONFIG[telepathy] = "-Dtelepathy_backend=true,-Dtelepathy_backend=false,telepathy-glib" -PACKAGECONFIG[import_tool] = "-Dimport_tool=true,-Dimport_tool=false" +PACKAGECONFIG[bluez] = "-Dbluez_backend=true,-Dbluez_backend=false,evolution-data-server" +PACKAGECONFIG[ofono] = "-Deds_backend=true -Dofono_backend=true,-Dofono_backend=false,evolution-data-server" +PACKAGECONFIG[telepathy] = "-Dtelepathy_backend=true,-Dtelepathy_backend=false,telepathy-glib dbus-glib" +PACKAGECONFIG[import_tool] = "-Dimport_tool=true,-Dimport_tool=false,libxml2" PACKAGECONFIG[inspect_tool] = "-Dinspect_tool=true,-Dinspect_tool=false" +PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,python3-dbusmock-native" -PACKAGECONFIG ??= "" +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'tests','', d)}" inherit pkgconfig gnomebase gettext gobject-introspection vala features_check SRC_URI[archive.sha256sum] = "e71099afc9e88fad4e757ae134bc3fd63e12b901ad62b0ed5536afb79124af5f" -