diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-01-21 18:46:25 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-01-22 09:56:35 -0800 |
commit | b5cce2f54fd922877c1b8c796292d6d608bcc7f9 (patch) | |
tree | 9c467689dc5cffd2bc163574c3e11bef5f0c651a /meta-oe/recipes-connectivity/telepathy | |
parent | 713ae34131da6936739e1e9409a8cb5bbd99457c (diff) | |
download | meta-openembedded-b5cce2f54fd922877c1b8c796292d6d608bcc7f9.tar.gz |
telepathy-idle: Disable when meta-py2 is not present
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/telepathy')
-rw-r--r-- | meta-oe/recipes-connectivity/telepathy/telepathy-idle_0.2.0.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-oe/recipes-connectivity/telepathy/telepathy-idle_0.2.0.bb b/meta-oe/recipes-connectivity/telepathy/telepathy-idle_0.2.0.bb index 5eb00aefbe..42ce3301f5 100644 --- a/meta-oe/recipes-connectivity/telepathy/telepathy-idle_0.2.0.bb +++ b/meta-oe/recipes-connectivity/telepathy/telepathy-idle_0.2.0.bb @@ -11,7 +11,12 @@ SRC_URI = "http://telepathy.freedesktop.org/releases/${BPN}/${BPN}-${PV}.tar.gz SRC_URI[md5sum] = "92a2de5198284cbd3c430b0d1a971a86" SRC_URI[sha256sum] = "3013ad4b38d14ee630b8cc8ada5e95ccaa849b9a6fe15d2eaf6d0717d76f2fab" -inherit autotools pkgconfig python3native +inherit autotools pkgconfig pythonnative FILES_${PN} += "${datadir}/telepathy \ ${datadir}/dbus-1" + +python() { + if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split(): + raise bb.parse.SkipRecipe('Requires meta-python2 to be present.') +} |