mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 09:32:14 +02:00
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>
23 lines
763 B
PHP
23 lines
763 B
PHP
DESCRIPTION = "a modern 3D graphics API with associated utility APIs"
|
|
HOMEPAGE = "http://wiki.clutter-project.org/wiki/Cogl"
|
|
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 libdrm"
|
|
EXTRA_OECONF = "${BASE_CONF} --with-flavour=glx"
|
|
|
|
FILESPATH = "${FILE_DIRNAME}/cogl"
|
|
|
|
inherit autotools pkgconfig gtk-doc gettext
|
|
|
|
#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points
|
|
require clutter-fpu.inc
|
|
|
|
#Fix up some weirdness in the docs
|
|
do_configure_prepend() {
|
|
sed -i s:doc/reference/Makefile::g ${S}/configure.ac
|
|
sed -i s:doc::g ${S}/Makefile.am
|
|
}
|