summaryrefslogtreecommitdiff
path: root/recipes/bluez
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-07-16 12:30:13 +0200
committerKoen Kooi <koen@openembedded.org>2009-07-16 12:30:13 +0200
commit20f4fa12b285b8f41b1a215415a5732d633a0a83 (patch)
tree44b3fbb51aaf2ef0cf2be7dbae61ab0699754707 /recipes/bluez
parentc0b076183453b890a5baaf5bbd2d53061e5ecc84 (diff)
bluez3: blacklist for angstrom, bluez4 should be used instead
Diffstat (limited to 'recipes/bluez')
-rw-r--r--recipes/bluez/bluez-libs.inc6
-rw-r--r--recipes/bluez/bluez-utils3.inc6
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 \