]> code.ossystems Code Review - meta-freescale.git/commitdiff
cairo: prevent mutually exclusive packageconfigs
authorMax Krummenacher <max.oss.09@gmail.com>
Fri, 5 Oct 2018 11:38:41 +0000 (13:38 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Sat, 6 Oct 2018 14:51:59 +0000 (11:51 -0300)
cairo does not allow to configure both for opengl and glesv2. With
commit f8270871c in openembedde-core and distro features 'x11 opengl'
enabled the opengl packageconfig gets added.

Remove a potentially existing opengl from packageconfig.

| checking for glesv2... yes
| configure: error: use either --enable-gl=yes or --enable-glesv2=yes. Not both at the same time.
...
| ERROR: Function failed: do_configure

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/cairo/cairo_%.bbappend

index 94ae65fa2d864ff9f7d60a42bfc530b2e9350d09..5b1562ab8b4d1f1a90d47dea0a288f3a809badd4 100644 (file)
@@ -1 +1,2 @@
 PACKAGECONFIG_append_imxgpu3d = " egl glesv2"
+PACKAGECONFIG_remove_imxgpu3d = "opengl"