diff options
-rw-r--r-- | recipes/bluez/bluez-libs.inc | 6 | ||||
-rw-r--r-- | recipes/bluez/bluez-utils3.inc | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/recipes/bluez/bluez-libs.inc b/recipes/bluez/bluez-libs.inc index d740bd80a9..1de371840a 100644 --- a/recipes/bluez/bluez-libs.inc +++ b/recipes/bluez/bluez-libs.inc @@ -5,6 +5,12 @@ HOMEPAGE = "http://www.bluez.org" LICENSE = "GPL" PR = "r0" +python () { + distro = bb.data.getVar("DISTRO_NAME", d, 1) + if distro == "Angstrom": + raise bb.parse.SkipPackage("Angstrom doesn't support bluez3 anymore, only bluez4") +} + SRC_URI = "http://bluez.sourceforge.net/download/bluez-libs-${PV}.tar.gz" inherit autotools pkgconfig diff --git a/recipes/bluez/bluez-utils3.inc b/recipes/bluez/bluez-utils3.inc index df071b76d9..824a753cc1 100644 --- a/recipes/bluez/bluez-utils3.inc +++ b/recipes/bluez/bluez-utils3.inc @@ -8,6 +8,12 @@ RREPLACES = "bluez-utils-dbus" RCONFLICTS_${PN} = "bluez-utils-nodbus" LICENSE = "GPL" +python () { + distro = bb.data.getVar("DISTRO_NAME", d, 1) + if distro == "Angstrom": + raise bb.parse.SkipPackage("Angstrom doesn't support bluez3 anymore, only bluez4") +} + FILESPATH = "${FILE_DIRNAME}/bluez-utils-${PV}:${FILE_DIRNAME}/bluez-utils" SRC_URI = "http://bluez.sourceforge.net/download/bluez-utils-${PV}.tar.gz \ |