]> code.ossystems Code Review - openembedded-core.git/commitdiff
cogl/clutter: Explicitly depend on libdrm for GLX
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 25 Oct 2012 11:19:06 +0000 (11:19 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 25 Oct 2012 16:48:16 +0000 (17:48 +0100)
cogl and clutter explicitly rely on libdrm being present when using the glx
backend. If its not listed in DEPENDS and an alternative to mesa is used, it
may not actually be present. This patch ensures it is and fixes a build
race condition which could see dependencies like clutter-box2d failing to
compile due to missing pkgconfig dependencies.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/clutter/clutter.inc
meta/recipes-graphics/clutter/cogl.inc

index ce54ac294055b7fe43f17361e046260350efcf5e..5a912afbac961174c7c76f11bcc73dc9f5e91069 100644 (file)
@@ -6,7 +6,7 @@ LICENSE = "LGPLv2.1+"
 STDDEPENDS = "virtual/libx11 pango glib-2.0 libxfixes libxi json-glib cogl atk"
 BASE_CONF = "${@get_clutter_fpu_setting(bb, d)}"
 
-DEPENDS = "${STDDEPENDS} virtual/libgl"
+DEPENDS = "${STDDEPENDS} virtual/libgl libdrm"
 EXTRA_OECONF = "${BASE_CONF} --with-flavour=glx"
 
 FILESPATH = "${FILE_DIRNAME}/clutter"
index 68786244ca6a1c4d18188ec86c7c5e02b46449c1..26f7889ca4b168e9e333972b5e85f8c0c0f50578 100644 (file)
@@ -5,7 +5,7 @@ LICENSE = "LGPLv2.1+"
 STDDEPENDS = "virtual/libx11 pango glib-2.0 libxfixes gdk-pixbuf libxi"
 BASE_CONF = "${@get_clutter_fpu_setting(bb, d)}"
 
-DEPENDS = "${STDDEPENDS} virtual/libgl libxcomposite libxdamage"
+DEPENDS = "${STDDEPENDS} virtual/libgl libxcomposite libxdamage libdrm"
 EXTRA_OECONF = "${BASE_CONF} --with-flavour=glx"
 
 FILESPATH = "${FILE_DIRNAME}/cogl"