mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
cogl/clutter: Explicitly depend on libdrm for GLX
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. (From OE-Core rev: ed4029055bb84f4da5fcdc77705c509796c45e69) 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>
This commit is contained in:
parent
8d42fc1005
commit
45f95b5f33
|
@ -6,7 +6,7 @@ LICENSE = "LGPLv2.1+"
|
||||||
STDDEPENDS = "virtual/libx11 pango glib-2.0 libxfixes libxi json-glib cogl atk"
|
STDDEPENDS = "virtual/libx11 pango glib-2.0 libxfixes libxi json-glib cogl atk"
|
||||||
BASE_CONF = "${@get_clutter_fpu_setting(bb, d)}"
|
BASE_CONF = "${@get_clutter_fpu_setting(bb, d)}"
|
||||||
|
|
||||||
DEPENDS = "${STDDEPENDS} virtual/libgl"
|
DEPENDS = "${STDDEPENDS} virtual/libgl libdrm"
|
||||||
EXTRA_OECONF = "${BASE_CONF} --with-flavour=glx"
|
EXTRA_OECONF = "${BASE_CONF} --with-flavour=glx"
|
||||||
|
|
||||||
FILESPATH = "${FILE_DIRNAME}/clutter"
|
FILESPATH = "${FILE_DIRNAME}/clutter"
|
||||||
|
|
|
@ -5,7 +5,7 @@ LICENSE = "LGPLv2.1+"
|
||||||
STDDEPENDS = "virtual/libx11 pango glib-2.0 libxfixes gdk-pixbuf libxi"
|
STDDEPENDS = "virtual/libx11 pango glib-2.0 libxfixes gdk-pixbuf libxi"
|
||||||
BASE_CONF = "${@get_clutter_fpu_setting(bb, d)}"
|
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"
|
EXTRA_OECONF = "${BASE_CONF} --with-flavour=glx"
|
||||||
|
|
||||||
FILESPATH = "${FILE_DIRNAME}/cogl"
|
FILESPATH = "${FILE_DIRNAME}/cogl"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user