diff options
author | Ross Burton <ross.burton@intel.com> | 2018-01-29 17:11:08 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-30 11:50:11 +0000 |
commit | 34c6b6d2044b4611a6dcc855c99aeadaf1c0394d (patch) | |
tree | 62bbe170e6b96a71f072e0edc00cfd9ca6043cda /meta | |
parent | 0ceebafad0dd3f06b41467c842d48b814de7914e (diff) | |
download | poky-34c6b6d2044b4611a6dcc855c99aeadaf1c0394d.tar.gz |
bluez5: only depend on pygobject if its going to work
(From OE-Core rev: 5db515593d8a70e58a09e8db9327c5a3616945bf)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-connectivity/bluez5/bluez5.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index e78f174c5c..2607a05822 100644 --- a/meta/recipes-connectivity/bluez5/bluez5.inc +++ b/meta/recipes-connectivity/bluez5/bluez5.inc | |||
@@ -55,7 +55,7 @@ S = "${WORKDIR}/bluez-${PV}" | |||
55 | 55 | ||
56 | CVE_PRODUCT = "bluez" | 56 | CVE_PRODUCT = "bluez" |
57 | 57 | ||
58 | inherit autotools pkgconfig systemd update-rc.d distro_features_check ptest | 58 | inherit autotools pkgconfig systemd update-rc.d distro_features_check ptest gobject-introspection-data |
59 | 59 | ||
60 | EXTRA_OECONF = "\ | 60 | EXTRA_OECONF = "\ |
61 | --enable-test \ | 61 | --enable-test \ |
@@ -129,7 +129,8 @@ def get_noinst_tools_paths (d, bb, tools): | |||
129 | 129 | ||
130 | FILES_${PN}-noinst-tools = "${@get_noinst_tools_paths(d, bb, d.getVar('NOINST_TOOLS'))}" | 130 | FILES_${PN}-noinst-tools = "${@get_noinst_tools_paths(d, bb, d.getVar('NOINST_TOOLS'))}" |
131 | 131 | ||
132 | RDEPENDS_${PN}-testtools += "python3 python3-dbus python3-pygobject" | 132 | RDEPENDS_${PN}-testtools += "python3 python3-dbus" |
133 | RDEPENDS_${PN}-testtools += "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'python3-pygobject', '', d)}" | ||
133 | 134 | ||
134 | SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'bluetooth.service', '', d)}" | 135 | SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'bluetooth.service', '', d)}" |
135 | INITSCRIPT_PACKAGES = "${PN}" | 136 | INITSCRIPT_PACKAGES = "${PN}" |