summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/cairo
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/cairo')
-rw-r--r--meta/recipes-graphics/cairo/cairo.inc6
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"
12LICENSE = "MPL-1 & LGPLv2.1" 12LICENSE = "MPL-1 & LGPLv2.1"
13X11DEPENDS = "virtual/libx11 libsm libxrender libxext" 13X11DEPENDS = "virtual/libx11 libsm libxrender libxext"
14DEPENDS = "libpng fontconfig pixman glib-2.0 zlib" 14DEPENDS = "libpng fontconfig pixman glib-2.0 zlib"
15
15PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ 16PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
16 ${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}" 17 ${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}"
17PACKAGECONFIG[x11] = "--with-x=yes,--without-x,${X11DEPENDS}" 18PACKAGECONFIG[x11] = "--with-x=yes,--without-x,${X11DEPENDS}"
18PACKAGECONFIG[directfb] = "--enable-directfb=yes,,directfb" 19PACKAGECONFIG[directfb] = "--enable-directfb=yes,,directfb"
19PACKAGECONFIG[valgrind] = "--enable-valgrind=yes,--disable-valgrind,valgrind" 20PACKAGECONFIG[valgrind] = "--enable-valgrind=yes,--disable-valgrind,valgrind"
20BBCLASSEXTEND = "native" 21PACKAGECONFIG[egl] = "--enable-egl=yes,--disable-egl,virtual/egl"
22PACKAGECONFIG[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
23require cairo-fpu.inc 25require cairo-fpu.inc
@@ -31,3 +33,5 @@ inherit autotools pkgconfig
31export ac_cv_lib_bfd_bfd_openr="no" 33export ac_cv_lib_bfd_bfd_openr="no"
32# Ensure we don't depend on LZO 34# Ensure we don't depend on LZO
33export ac_cv_lib_lzo2_lzo2a_decompress="no" 35export ac_cv_lib_lzo2_lzo2a_decompress="no"
36
37BBCLASSEXTEND = "native"