summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2017-02-25 15:44:06 -0800
committerMatt Turner <mattst88@gentoo.org>2017-02-25 16:14:52 -0800
commit067f5be6b9b1a4ca07ffbe744ecfefa66b442958 (patch)
treeebd59ce57b7a1eec4b3847c40fe6ced05cd0e5c4 /x11-libs/cairo
parentnet-irc/inspircd: Bump to v2.0.23 (bug #593290) (diff)
downloadgentoo-067f5be6b9b1a4ca07ffbe744ecfefa66b442958.tar.gz
gentoo-067f5be6b9b1a4ca07ffbe744ecfefa66b442958.tar.bz2
gentoo-067f5be6b9b1a4ca07ffbe744ecfefa66b442958.zip
x11-libs/cairo: Put script and trace utilities behind IUSE=utils.
Bug: https://bugs.gentoo.org/554646
Diffstat (limited to 'x11-libs/cairo')
-rw-r--r--x11-libs/cairo/cairo-9999.ebuild8
-rw-r--r--x11-libs/cairo/metadata.xml1
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</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>