From: Richard Purdie Date: Tue, 2 Oct 2012 22:26:09 +0000 (+0100) Subject: qt4: Avoid circular dependencies with multilib X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~39796 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2e8cc5ae227656211fb7f32260e7dc4e2fb556e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git qt4: Avoid circular dependencies with multilib Without this, circular dependencies are found when attempting to build multilib versions of qt4 (or bitbake world in a multilib enabled build). Signed-off-by: Richard Purdie --- diff --git a/meta/classes/qt4e.bbclass b/meta/classes/qt4e.bbclass index 05c24efaa12..de2a68d25b6 100644 --- a/meta/classes/qt4e.bbclass +++ b/meta/classes/qt4e.bbclass @@ -1,4 +1,5 @@ -DEPENDS_prepend = "${@["qt4-embedded ", ""][(d.getVar('PN', True)[:12] == 'qt4-embedded')]}" +QT4EDEPENDS ?= "qt4-embedded " +DEPENDS_prepend = "${QT4EDEPENDS}" inherit qmake2 diff --git a/meta/classes/qt4x11.bbclass b/meta/classes/qt4x11.bbclass index 52190f45c18..b06e15d29e7 100644 --- a/meta/classes/qt4x11.bbclass +++ b/meta/classes/qt4x11.bbclass @@ -1,4 +1,5 @@ -DEPENDS_prepend = "${@base_contains("PROVIDES", "qt4-x11", "", "qt4-x11 ", d)}" +QT4DEPENDS ?= "qt4-x11 " +DEPENDS_prepend = "${QT4DEPENDS}" inherit qmake2 diff --git a/meta/recipes-qt/qt4/qt4-embedded.inc b/meta/recipes-qt/qt4/qt4-embedded.inc index c0606342331..905e2779bb1 100644 --- a/meta/recipes-qt/qt4/qt4-embedded.inc +++ b/meta/recipes-qt/qt4/qt4-embedded.inc @@ -4,6 +4,7 @@ HOMEPAGE = "http://qt.nokia.com" DEPENDS += "directfb tslib" INC_PR = "r49" +QT4EDEPENDS = "" QT_BASE_LIB ?= "libqt-embedded" # Set necessary variables in the profile diff --git a/meta/recipes-qt/qt4/qt4-x11-free.inc b/meta/recipes-qt/qt4/qt4-x11-free.inc index 68b30789bf3..404d8b85631 100644 --- a/meta/recipes-qt/qt4/qt4-x11-free.inc +++ b/meta/recipes-qt/qt4/qt4-x11-free.inc @@ -5,6 +5,7 @@ HOMEPAGE = "http://qt.nokia.com" SECTION = "x11/libs" DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor" PROVIDES += "qt4-x11" +QT4DEPENDS = "" INC_PR = "r47"