[oe-commits] Koen Kooi : bluez3: blacklist for angstrom, bluez4 should be used instead

git version control git at git.openembedded.org
Thu Jul 16 10:44:29 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 20f4fa12b285b8f41b1a215415a5732d633a0a83
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=20f4fa12b285b8f41b1a215415a5732d633a0a83

Author: Koen Kooi <koen at openembedded.org>
Date:   Thu Jul 16 12:30:13 2009 +0200

bluez3: blacklist for angstrom, bluez4 should be used instead

---

 recipes/bluez/bluez-libs.inc   |    6 ++++++
 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 d740bd8..1de3718 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 df071b7..824a753 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 \





More information about the Openembedded-commits mailing list