]> code.ossystems Code Review - meta-freescale.git/commitdiff
cogl: Depends on virtual/libgles2 instead of virtual/libgl
authorOtavio Salvador <otavio@ossystems.com.br>
Mon, 24 Sep 2012 17:07:11 +0000 (14:07 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Sun, 30 Sep 2012 23:52:33 +0000 (20:52 -0300)
The mx5 GPU libraries do not provide the OpenGL API but OpenGL ES2 one
so we adjust the depends and build option for it.

During test from a clean build, it was also find it was lacking a
depends on libxdamage so it has been also added.

Change-Id: I6b624d1d62a4f00a7d99de3f1fbc93ff5bc77bae
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-graphics/clutter/cogl_1.8.2.bbappend

index d2e6ca65bfca00a437046777a8a69914136a548b..d7d3fd46b37b87391640999f759ccdd6e6d2979c 100644 (file)
@@ -1,4 +1,6 @@
-PRINC := "${@int(PRINC) + 1}"
+PRINC := "${@int(PRINC) + 2}"
+
+DEPENDS_mx5 = "${STDDEPENDS} virtual/libgles2 libxcomposite libxdamage"
 
 EXTRA_OECONF_mx5 = "${BASE_CONF} --with-flavour=glx --enable-gles2 --disable-gl"
 PACKAGE_ARCH_mx5 = "${MACHINE_ARCH}"