From 067f5be6b9b1a4ca07ffbe744ecfefa66b442958 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sat, 25 Feb 2017 15:44:06 -0800 Subject: [PATCH] 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 4a5f2bdd3be9..7ec16d48f5ac 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 30f3a7330e7a..b75acc795caf 100644 --- a/x11-libs/cairo/metadata.xml +++ b/x11-libs/cairo/metadata.xml @@ -14,6 +14,7 @@ Use Mesa backend for acceleration Use OpenGL ES 2 backend for acceleration. Compile with GLib Object System support + Build support for Cairo script and trace utilities Built-in support to mark memory regions Use XCB renderer backend for acceleration over xlib. Enabling this may solve or introduce display corruption problems. -- 2.26.2