From patchwork Mon Jan 29 17:11:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 126185 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp2609431ljd; Mon, 29 Jan 2018 09:11:37 -0800 (PST) X-Google-Smtp-Source: AH8x225cuyn8Bopyl/E8ybwkMLN+Ns7BMzozdjckGzEN1VQoCURosHtxuDCUxaGARvoDAj8gEFRV X-Received: by 10.99.114.5 with SMTP id n5mr22214880pgc.211.1517245897792; Mon, 29 Jan 2018 09:11:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517245897; cv=none; d=google.com; s=arc-20160816; b=xMlmfgbNC2NNvYoXZlZyQQLtN5HDkeIJKM5PBDDgrKaZbj/jjKukTbUBeu/NC5+Iac TeoZc7tRTiCssCmt4KUGRU+2BjsJFFxUaiGwOxQ3jlXrVTkALV1cOG7Lj68TNKxGouIx x54chuMfOjhqGDPbjqwuj4x7fjFxyyXJ3+IVXtI+BNO93zfi2iBQz0L4CVql9HuFRDIT 9HwVzD0DiJE0mHUKk9JjCICTDnSaCC8uwZYHRO9/BNr73kg2IqmuLHc+UhvQBa26PE/P 9I6e/7PQzyRpuRa3JSLA34IE2y89xeR4+5TblKQCyT9ilD5CdOCkcME3eExS6l3NNuK9 XSdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=DUGvBgmYjT2MXLWAaTOl9vwJSVsaHdBTaIhPUyq/sm8=; b=PIZShNuBBj7mht9fxCfwEDWcjIAwijZunS1RgcUJl9zOC9uFJc4ZgA6KHqA1MZPXnv KA4+5by/ydxHyaQZ4j5/iRlkak9YYO7sQrM1QiaAI7uS6qF9qMqgf6kUXAS5ABP6BkiU 82LUS6VbJhQWQqr9v3hRriBTZMUBR2K5rx6HXdJN6s69gnFtQfjEsCBKj7WaIRuvRsa5 USGXiVlXoz2eYRauEKvkiQe02a7Fyfd0D7pJl0NHfclTI65PmgyzY6g3vkcaJb9E9afo 3igg69S3bUYiESJl1T/TLjcDQiDinBxcoJaJwoHUbzsD2rokxQhQYQmgQNFks03wh8Z6 zPxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=fX1/k/np; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id b65si7755346pgc.70.2018.01.29.09.11.37; Mon, 29 Jan 2018 09:11:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=fX1/k/np; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 7F5547884F; Mon, 29 Jan 2018 17:11:34 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by mail.openembedded.org (Postfix) with ESMTP id 6A12C78544 for ; Mon, 29 Jan 2018 17:11:18 +0000 (UTC) Received: by mail-wr0-f196.google.com with SMTP id v15so8056128wrb.8 for ; Mon, 29 Jan 2018 09:11:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=fnveXSPdOicxWS6CX+o/30ZuTPb/EhGaRudFdoFn7f0=; b=fX1/k/np9Q0Q9lXyovN4hcx9u824Ug4XLx7Jyw/czF+oJVT4XuuxY26snR/W88NEgx k2dM9z62s6sP+A9D0UGzWrAgDdO1JpxSLbGpIOrKq1h8AhdxGF//ILy6tXUwOEiAOZ+o kYSEkAUsMqbIDO04zP/PzanQhU1IkDLI3ilozkCnDS6678f8ZZ1vQpIAHJH3/WeM7ay7 +MbBjbGqd93WygyvfFhiiX9xhHOI3XjFiymnX/ggEhBBIlmk1MxE8PImmeVIpphl+F+d 4qtDemephzQOHIVh9pGJ2BdYuMZ3w+WQ82p/PMkGSL8wpcIsTfVXykVT84oVZG+I1Ape rMYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=fnveXSPdOicxWS6CX+o/30ZuTPb/EhGaRudFdoFn7f0=; b=DSKasbGJfs2JPWvQyjcunYbOW9dcZ4rVGIVnixSHT68roeVNiP/C4gexYYbIOrnTaU kLyh1Xp/NvARpcm1W6jCq/D+ISSTkp+t4Ab8ltceE9M7QzkAxd4516rETygU1dnGzITK d2KOfimDssglz8bjn/39CAuxnvOQxgO5ImRbzVYDt9n1OqtYWvAHJ0QECMrrIMKzDp8a ffjq+HLQ/kx/ZWOLpzacfs7/iRF7zpW1uAfqPTdTKBcF/UTIZYOFJkMQzY9aWvaxJJqR FqoyWAnsjkOyGok39d3FBX0EZJbNsz61VWcFbcFJkvve0fEThRXCEnncDzIyWfqYf0kf lJ5g== X-Gm-Message-State: AKwxytebrEdgx3o8hQwyw2C10t7nLa9LGLSdZvb0dOYNbJF5UUKktr5W cM9TlzJTVEF4G6w9zl3uVhZz4WYn X-Received: by 10.223.178.9 with SMTP id u9mr18591125wra.149.1517245879864; Mon, 29 Jan 2018 09:11:19 -0800 (PST) Received: from flashheart.burtonini.com (home.burtonini.com. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id e16sm11515244wre.5.2018.01.29.09.11.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 09:11:19 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Mon, 29 Jan 2018 17:11:08 +0000 Message-Id: <20180129171111.14502-2-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180129171111.14502-1-ross.burton@intel.com> References: <20180129171111.14502-1-ross.burton@intel.com> Subject: [OE-core] [PATCH 2/5] bluez5: only depend on pygobject if its going to work X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Ross Burton --- meta/recipes-connectivity/bluez5/bluez5.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index e78f174c5cb..2607a058228 100644 --- a/meta/recipes-connectivity/bluez5/bluez5.inc +++ b/meta/recipes-connectivity/bluez5/bluez5.inc @@ -55,7 +55,7 @@ S = "${WORKDIR}/bluez-${PV}" CVE_PRODUCT = "bluez" -inherit autotools pkgconfig systemd update-rc.d distro_features_check ptest +inherit autotools pkgconfig systemd update-rc.d distro_features_check ptest gobject-introspection-data EXTRA_OECONF = "\ --enable-test \ @@ -129,7 +129,8 @@ def get_noinst_tools_paths (d, bb, tools): FILES_${PN}-noinst-tools = "${@get_noinst_tools_paths(d, bb, d.getVar('NOINST_TOOLS'))}" -RDEPENDS_${PN}-testtools += "python3 python3-dbus python3-pygobject" +RDEPENDS_${PN}-testtools += "python3 python3-dbus" +RDEPENDS_${PN}-testtools += "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'python3-pygobject', '', d)}" SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'bluetooth.service', '', d)}" INITSCRIPT_PACKAGES = "${PN}"