bluez3: blacklist for angstrom, bluez4 should be used instead
authorKoen Kooi <koen@openembedded.org>
Thu, 16 Jul 2009 10:30:13 +0000 (12:30 +0200)
committerKoen Kooi <koen@openembedded.org>
Thu, 16 Jul 2009 10:30:13 +0000 (12:30 +0200)
recipes/bluez/bluez-libs.inc
recipes/bluez/bluez-utils3.inc

index d740bd8..1de3718 100644 (file)
@@ -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
index df071b7..824a753 100644 (file)
@@ -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 \