Skip to contentSkip to conversation

Check if package provides qtopia-core not package name

PATCH In review Ihar Hrachyshka 2 participants 2 messages Feb 20, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Check if package provides qtopia-core not package name

This change fixes dependency loops for qtopia-core and qt-embedded.

---
 classes/qtopia4core.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
classes/qtopia4core.bbclass +1 -1
index b5f10fa..214232d 100644
@@ -1,4 +1,4 @@
-DEPENDS_prepend = "${@["qtopia-core ", ""][(bb.data.getVar('PN', d, 1) == 'qtopia-core')]}"
+DEPENDS_prepend = "${@["qtopia-core ", ""]['qtopia-core' in bb.data.getVar('PROVIDES', d, 1)]}"
 inherit qmake2
 
 QT_DIR_NAME = "qtopia"
Signature · 1 line
1.5.6.3
Acked-by on v1 1/1
#1 lore raw
Quoted 12 lines · Ihar Hrachyshka

This change fixes dependency loops for qtopia-core and qt-embedded.

---
  classes/qtopia4core.bbclass |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
classes/qtopia4core.bbclass +0 -0
index b5f10fa..214232d 100644

classes/qtopia4core.bbclass line 4

Quoted 5 lines
classes/qtopia4core.bbclass +1 -1
@@ -1,4 +1,4 @@
-DEPENDS_prepend = "${@["qtopia-core ", ""][(bb.data.getVar('PN', d, 1) == 'qtopia-core')]}"
+DEPENDS_prepend = "${@["qtopia-core ", ""]['qtopia-core' in bb.data.getVar('PROVIDES', d, 1)]}"
  inherit qmake2
 
  QT_DIR_NAME = "qtopia"