diff -u -r1.2 cairo-1.12.2-r4.ebuild --- cairo-1.12.2-r4.ebuild 12 Sep 2012 05:37:43 -0000 1.2 +++ cairo-1.12.2-r4.ebuild 12 Sep 2012 06:17:16 -0000 @@ -20,7 +20,7 @@ HOMEPAGE="http://cairographics.org/" LICENSE="|| ( LGPL-2.1 MPL-1.1 )" SLOT="0" -IUSE="X aqua debug directfb doc drm gallium +glib opengl openvg qt4 static-libs +svg xcb" +IUSE="X aqua debug directfb doc drm gallium gles2 +glib opengl openvg qt4 static-libs +svg xcb" # Test causes a circular depend on gtk+... since gtk+ needs cairo but test needs gtk+ so we need to block it RESTRICT="test" @@ -31,6 +31,7 @@ sys-libs/zlib >=x11-libs/pixman-0.22.0 directfb? ( dev-libs/DirectFB ) + gles2? ( media-libs/mesa[gles2] ) glib? ( >=dev-libs/glib-2.28.6:2 ) opengl? ( || ( media-libs/mesa[egl] media-libs/opengl-apple ) ) openvg? ( media-libs/mesa[openvg] ) @@ -117,6 +118,7 @@ $(use_enable aqua quartz-image) \ $(use_enable debug test-surfaces) \ $(use_enable directfb) \ + $(use_enable gles2 glesv2) \ $(use_enable glib gobject) \ $(use_enable doc gtk-doc) \ $(use_enable openvg vg) \ Index: metadata.xml =================================================================== RCS file: /var/cvsroot/gentoo-x86/x11-libs/cairo/metadata.xml,v retrieving revision 1.20 diff -u -r1.20 metadata.xml --- metadata.xml 24 Jul 2012 13:08:01 -0000 1.20 +++ metadata.xml 12 Sep 2012 06:17:16 -0000 @@ -16,6 +16,8 @@ Use Mesa backend for acceleration Use Linux DRM for backend acceleration Use Mesa's Gallium backend for acceleration + + Enable GLESv2 support. Compile with GLib Object System support Use OpenVG for backend acceleration