diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2014-03-19 13:24:41 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-21 12:05:51 +0000 |
commit | af63a096cd15cb7673f102bdc970b49de7558101 (patch) | |
tree | fe4afbe8624d1143bee53b3132b41499998ce602 | |
parent | 0e849f08d3e365f319ebe136a902cce4df392d3f (diff) | |
download | poky-af63a096cd15cb7673f102bdc970b49de7558101.tar.gz |
cairo: Add 'egl' and 'glesv2' PACKAGECONFIG options
(From OE-Core rev: f405f6983b4f36db4ec1b89c30b1082aec2545f8)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-graphics/cairo/cairo.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-graphics/cairo/cairo.inc b/meta/recipes-graphics/cairo/cairo.inc index 5212f8ba39..b15fbc94b9 100644 --- a/meta/recipes-graphics/cairo/cairo.inc +++ b/meta/recipes-graphics/cairo/cairo.inc | |||
@@ -12,12 +12,14 @@ SECTION = "libs" | |||
12 | LICENSE = "MPL-1 & LGPLv2.1" | 12 | LICENSE = "MPL-1 & LGPLv2.1" |
13 | X11DEPENDS = "virtual/libx11 libsm libxrender libxext" | 13 | X11DEPENDS = "virtual/libx11 libsm libxrender libxext" |
14 | DEPENDS = "libpng fontconfig pixman glib-2.0 zlib" | 14 | DEPENDS = "libpng fontconfig pixman glib-2.0 zlib" |
15 | |||
15 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ | 16 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ |
16 | ${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}" | 17 | ${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}" |
17 | PACKAGECONFIG[x11] = "--with-x=yes,--without-x,${X11DEPENDS}" | 18 | PACKAGECONFIG[x11] = "--with-x=yes,--without-x,${X11DEPENDS}" |
18 | PACKAGECONFIG[directfb] = "--enable-directfb=yes,,directfb" | 19 | PACKAGECONFIG[directfb] = "--enable-directfb=yes,,directfb" |
19 | PACKAGECONFIG[valgrind] = "--enable-valgrind=yes,--disable-valgrind,valgrind" | 20 | PACKAGECONFIG[valgrind] = "--enable-valgrind=yes,--disable-valgrind,valgrind" |
20 | BBCLASSEXTEND = "native" | 21 | PACKAGECONFIG[egl] = "--enable-egl=yes,--disable-egl,virtual/egl" |
22 | PACKAGECONFIG[glesv2] = "--enable-glesv2,--disable-glesv2,virtual/libgles2" | ||
21 | 23 | ||
22 | #check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points | 24 | #check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points |
23 | require cairo-fpu.inc | 25 | require cairo-fpu.inc |
@@ -31,3 +33,5 @@ inherit autotools pkgconfig | |||
31 | export ac_cv_lib_bfd_bfd_openr="no" | 33 | export ac_cv_lib_bfd_bfd_openr="no" |
32 | # Ensure we don't depend on LZO | 34 | # Ensure we don't depend on LZO |
33 | export ac_cv_lib_lzo2_lzo2a_decompress="no" | 35 | export ac_cv_lib_lzo2_lzo2a_decompress="no" |
36 | |||
37 | BBCLASSEXTEND = "native" | ||