summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/cairo/cairo_1.16.0.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-graphics/cairo/cairo_1.16.0.bb b/meta/recipes-graphics/cairo/cairo_1.16.0.bb
index e3de3f6164..b772c2ece2 100644
--- a/meta/recipes-graphics/cairo/cairo_1.16.0.bb
+++ b/meta/recipes-graphics/cairo/cairo_1.16.0.bb
@@ -40,7 +40,8 @@ X11DEPENDS = "virtual/libx11 libsm libxrender libxext"
40 40
41PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)} \ 41PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)} \
42 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \ 42 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \
43 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'opengl', '', d)}" 43 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'opengl', '', d)} \
44 trace"
44 45
45PACKAGECONFIG[x11] = "--with-x=yes -enable-xlib,--with-x=no --disable-xlib,${X11DEPENDS}" 46PACKAGECONFIG[x11] = "--with-x=yes -enable-xlib,--with-x=no --disable-xlib,${X11DEPENDS}"
46PACKAGECONFIG[xcb] = "--enable-xcb,--disable-xcb,libxcb" 47PACKAGECONFIG[xcb] = "--enable-xcb,--disable-xcb,libxcb"
@@ -49,6 +50,7 @@ PACKAGECONFIG[valgrind] = "--enable-valgrind=yes,--disable-valgrind,valgrind"
49PACKAGECONFIG[egl] = "--enable-egl=yes,--disable-egl,virtual/egl" 50PACKAGECONFIG[egl] = "--enable-egl=yes,--disable-egl,virtual/egl"
50PACKAGECONFIG[glesv2] = "--enable-glesv2,--disable-glesv2,virtual/libgles2" 51PACKAGECONFIG[glesv2] = "--enable-glesv2,--disable-glesv2,virtual/libgles2"
51PACKAGECONFIG[opengl] = "--enable-gl,--disable-gl,virtual/libgl" 52PACKAGECONFIG[opengl] = "--enable-gl,--disable-gl,virtual/libgl"
53PACKAGECONFIG[trace] = "--enable-trace,--disable-trace"
52 54
53EXTRA_OECONF += " \ 55EXTRA_OECONF += " \
54 ${@bb.utils.contains('TARGET_FPU', 'soft', '--disable-some-floating-point', '', d)} \ 56 ${@bb.utils.contains('TARGET_FPU', 'soft', '--disable-some-floating-point', '', d)} \
@@ -66,6 +68,8 @@ do_install_append () {
66 rm -rf ${D}${libdir}/cairo/cairo-sphinx* 68 rm -rf ${D}${libdir}/cairo/cairo-sphinx*
67 rm -rf ${D}${libdir}/cairo/.debug/cairo-fdr* 69 rm -rf ${D}${libdir}/cairo/.debug/cairo-fdr*
68 rm -rf ${D}${libdir}/cairo/.debug/cairo-sphinx* 70 rm -rf ${D}${libdir}/cairo/.debug/cairo-sphinx*
71 rmdir -p --ignore-fail-on-non-empty ${D}${bindir}
72 rmdir -p --ignore-fail-on-non-empty ${D}${libdir}/cairo
69} 73}
70 74
71PACKAGES =+ "cairo-gobject cairo-script-interpreter cairo-perf-utils" 75PACKAGES =+ "cairo-gobject cairo-script-interpreter cairo-perf-utils"