summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-04-29 12:05:19 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-04-29 12:05:19 +0000
commit410952dda971b58c6dd53f05e629eaf93d37e583 (patch)
treedcc62c4c3c11034491ee02ce3e0d9221e8f13b17 /x11-libs/cairo
parentVersion bump (diff)
downloadgentoo-2-410952dda971b58c6dd53f05e629eaf93d37e583.tar.gz
gentoo-2-410952dda971b58c6dd53f05e629eaf93d37e583.tar.bz2
gentoo-2-410952dda971b58c6dd53f05e629eaf93d37e583.zip
Add optional dependency on glib. Per bug #365159
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/cairo')
-rw-r--r--x11-libs/cairo/ChangeLog6
-rw-r--r--x11-libs/cairo/cairo-1.10.2-r1.ebuild6
-rw-r--r--x11-libs/cairo/cairo-9999.ebuild6
-rw-r--r--x11-libs/cairo/metadata.xml1
4 files changed, 14 insertions, 5 deletions
diff --git a/x11-libs/cairo/ChangeLog b/x11-libs/cairo/ChangeLog
index b7fb9cfa72ec..98ebca017d1a 100644
--- a/x11-libs/cairo/ChangeLog
+++ b/x11-libs/cairo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-libs/cairo
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v 1.280 2011/04/20 11:21:30 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v 1.281 2011/04/29 12:05:19 scarabeus Exp $
+
+ 29 Apr 2011; Tomáš Chvátal <scarabeus@gentoo.org> cairo-1.10.2-r1.ebuild,
+ cairo-9999.ebuild, metadata.xml:
+ Add optional dependency on glib. Per bug #365159
20 Apr 2011; Tomáš Chvátal <scarabeus@gentoo.org> cairo-9999.ebuild:
Migrate live ebuild to git-2 eclass and update to eapi4.
diff --git a/x11-libs/cairo/cairo-1.10.2-r1.ebuild b/x11-libs/cairo/cairo-1.10.2-r1.ebuild
index d402a2ff7862..f63784d886a0 100644
--- a/x11-libs/cairo/cairo-1.10.2-r1.ebuild
+++ b/x11-libs/cairo/cairo-1.10.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-1.10.2-r1.ebuild,v 1.10 2011/04/10 10:25:22 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-1.10.2-r1.ebuild,v 1.11 2011/04/29 12:05:19 scarabeus Exp $
EAPI=3
@@ -16,7 +16,7 @@ HOMEPAGE="http://cairographics.org/"
LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="X aqua debug directfb doc drm gallium opengl openvg qt4 static-libs +svg xcb"
+IUSE="X aqua debug directfb doc drm gallium +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"
@@ -27,6 +27,7 @@ RDEPEND="media-libs/fontconfig
sys-libs/zlib
>=x11-libs/pixman-0.18.4
directfb? ( dev-libs/DirectFB )
+ glib? ( dev-libs/glib:2 )
opengl? ( virtual/opengl )
openvg? ( media-libs/mesa[gallium] )
qt4? ( >=x11-libs/qt-gui-4.4:4 )
@@ -128,6 +129,7 @@ src_configure() {
$(use_enable aqua quartz-image) \
$(use_enable debug test-surfaces) \
$(use_enable directfb) \
+ $(use_enable glib gobject) \
$(use_enable doc gtk-doc) \
$(use_enable openvg vg) \
$(use_enable opengl gl) \
diff --git a/x11-libs/cairo/cairo-9999.ebuild b/x11-libs/cairo/cairo-9999.ebuild
index 74f14fb68731..d5c5aac5b4b5 100644
--- a/x11-libs/cairo/cairo-9999.ebuild
+++ b/x11-libs/cairo/cairo-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-9999.ebuild,v 1.11 2011/04/20 11:21:30 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-9999.ebuild,v 1.12 2011/04/29 12:05:19 scarabeus Exp $
EAPI=4
@@ -16,7 +16,7 @@ HOMEPAGE="http://cairographics.org/"
LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="X aqua debug directfb doc drm gallium opengl openvg qt4 static-libs +svg xcb"
+IUSE="X aqua debug directfb doc drm gallium +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"
@@ -27,6 +27,7 @@ RDEPEND="media-libs/fontconfig
sys-libs/zlib
>=x11-libs/pixman-0.18.4
directfb? ( dev-libs/DirectFB )
+ glib? ( >=dev-libs/glib-2.28.6:2 )
opengl? ( virtual/opengl )
openvg? ( media-libs/mesa[gallium] )
qt4? ( >=x11-libs/qt-gui-4.4:4 )
@@ -114,6 +115,7 @@ src_configure() {
$(use_enable aqua quartz-image) \
$(use_enable debug test-surfaces) \
$(use_enable directfb) \
+ $(use_enable glib gobject) \
$(use_enable doc gtk-doc) \
$(use_enable openvg vg) \
$(use_enable opengl gl) \
diff --git a/x11-libs/cairo/metadata.xml b/x11-libs/cairo/metadata.xml
index f792e7458164..a8421807db4e 100644
--- a/x11-libs/cairo/metadata.xml
+++ b/x11-libs/cairo/metadata.xml
@@ -21,6 +21,7 @@
</flag>
<flag name='drm'>Use Linux DRM for backend acceleration</flag>
<flag name='gallium'>Use Mesa's Gallium backend for acceleration</flag>
+ <flag name='glib'>Compile with GLib Object System support</flag>
<flag name='openvg'>Use OpenVG for backend acceleration</flag>
</use>
</pkgmetadata>