commit:     067f5be6b9b1a4ca07ffbe744ecfefa66b442958
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 25 23:44:06 2017 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Feb 26 00:14:52 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=067f5be6

x11-libs/cairo: Put script and trace utilities behind IUSE=utils.

Bug: https://bugs.gentoo.org/554646

 x11-libs/cairo/cairo-9999.ebuild | 8 ++++++--
 x11-libs/cairo/metadata.xml      | 1 +
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/x11-libs/cairo/cairo-9999.ebuild b/x11-libs/cairo/cairo-9999.ebuild
index 4a5f2bdd3b..7ec16d48f5 100644
--- a/x11-libs/cairo/cairo-9999.ebuild
+++ b/x11-libs/cairo/cairo-9999.ebuild
@@ -19,14 +19,14 @@ DESCRIPTION="A vector graphics library with cross-device 
output support"
 HOMEPAGE="http://cairographics.org/";
 LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
 SLOT="0"
-IUSE="X aqua debug directfb gles2 +glib opengl static-libs +svg valgrind xcb 
xlib-xcb"
+IUSE="X aqua debug directfb gles2 +glib opengl static-libs +svg utils valgrind 
xcb xlib-xcb"
 # gtk-doc regeneration doesn't seem to work with out-of-source builds
 #[[ ${PV} == *9999* ]] && IUSE="${IUSE} doc" # API docs are provided in 
tarball, no need to regenerate
 
 # Test causes a circular depend on gtk+... since gtk+ needs cairo but test 
needs gtk+ so we need to block it
 RESTRICT="test"
 
-RDEPEND=">=dev-libs/lzo-2.06-r1[${MULTILIB_USEDEP}]
+RDEPEND="
        >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}]
        >=media-libs/freetype-2.5.0.1:2[${MULTILIB_USEDEP}]
        >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}]
@@ -37,6 +37,7 @@ RDEPEND=">=dev-libs/lzo-2.06-r1[${MULTILIB_USEDEP}]
        gles2? ( >=media-libs/mesa-9.1.6[gles2,${MULTILIB_USEDEP}] )
        glib? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] )
        opengl? ( || ( >=media-libs/mesa-9.1.6[egl,${MULTILIB_USEDEP}] 
media-libs/opengl-apple ) )
+       utils? ( >=dev-libs/lzo-2.06-r1[${MULTILIB_USEDEP}] )
        X? (
                >=x11-libs/libXrender-0.9.8[${MULTILIB_USEDEP}]
                >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
@@ -129,6 +130,9 @@ multilib_src_configure() {
                $(use_enable opengl gl) \
                $(use_enable static-libs static) \
                $(use_enable svg) \
+               $(use_enable utils interpreter) \
+               $(use_enable utils script) \
+               $(use_enable utils trace) \
                $(use_enable valgrind) \
                $(use_enable xcb) \
                $(use_enable xcb xcb-shm) \

diff --git a/x11-libs/cairo/metadata.xml b/x11-libs/cairo/metadata.xml
index 30f3a7330e..b75acc795c 100644
--- a/x11-libs/cairo/metadata.xml
+++ b/x11-libs/cairo/metadata.xml
@@ -14,6 +14,7 @@
       Use Mesa backend for acceleration</flag>
     <flag name="gles2">Use OpenGL ES 2 backend for acceleration.</flag>
     <flag name="glib">Compile with GLib Object System support</flag>
+    <flag name="utils">Build support for Cairo script and trace 
utilities</flag>
     <flag name="valgrind">Built-in support to mark memory regions</flag>
     <flag name="xlib-xcb">Use XCB renderer backend for acceleration over xlib. 
Enabling this may solve or introduce display corruption problems.</flag>
   </use>

Reply via email to