summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2010-06-20 11:15:18 +0000
committerNirbheek Chauhan <nirbheek@gentoo.org>2010-06-20 11:15:18 +0000
commit81d33d7892b6c36480e057b41004b2a215c84272 (patch)
tree963b2f4fcfc71da35583e4a8c099d1bdbad66c8d /x11-libs/gtk+
parentMasking xvidcap for removal (diff)
downloadgentoo-2-81d33d7892b6c36480e057b41004b2a215c84272.tar.gz
gentoo-2-81d33d7892b6c36480e057b41004b2a215c84272.tar.bz2
gentoo-2-81d33d7892b6c36480e057b41004b2a215c84272.zip
Add introspection support
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'x11-libs/gtk+')
-rw-r--r--x11-libs/gtk+/ChangeLog6
-rw-r--r--x11-libs/gtk+/gtk+-2.20.1-r1.ebuild25
-rw-r--r--x11-libs/gtk+/metadata.xml4
3 files changed, 22 insertions, 13 deletions
diff --git a/x11-libs/gtk+/ChangeLog b/x11-libs/gtk+/ChangeLog
index e9b10d1f87b1..53fc3396ffef 100644
--- a/x11-libs/gtk+/ChangeLog
+++ b/x11-libs/gtk+/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-libs/gtk+
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.459 2010/06/13 18:47:29 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.460 2010/06/20 11:15:18 nirbheek Exp $
+
+ 20 Jun 2010; Nirbheek Chauhan <nirbheek@gentoo.org> gtk+-2.20.1-r1.ebuild,
+ metadata.xml:
+ Add introspection support
13 Jun 2010; Pacho Ramos <pacho@gentoo.org>
+files/gtk+-2.20.1-GtkOffscreenWindow.patch,
diff --git a/x11-libs/gtk+/gtk+-2.20.1-r1.ebuild b/x11-libs/gtk+/gtk+-2.20.1-r1.ebuild
index 359af51eca78..d6f8721b0fbe 100644
--- a/x11-libs/gtk+/gtk+-2.20.1-r1.ebuild
+++ b/x11-libs/gtk+/gtk+-2.20.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.20.1-r1.ebuild,v 1.1 2010/06/13 15:43:44 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.20.1-r1.ebuild,v 1.2 2010/06/20 11:15:18 nirbheek Exp $
EAPI="3"
@@ -12,7 +12,7 @@ HOMEPAGE="http://www.gtk.org/"
LICENSE="LGPL-2"
SLOT="2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="aqua cups debug doc jpeg jpeg2k tiff test vim-syntax xinerama"
+IUSE="aqua cups debug doc +introspection jpeg jpeg2k tiff test vim-syntax xinerama"
# NOTE: cairo[svg] dep is due to bug 291283 (not patched to avoid eautoreconf)
RDEPEND="!aqua? (
@@ -33,8 +33,8 @@ RDEPEND="!aqua? (
)
xinerama? ( x11-libs/libXinerama )
>=dev-libs/glib-2.23.6
- >=x11-libs/pango-1.20
- >=dev-libs/atk-1.29.2
+ >=x11-libs/pango-1.20[introspection?]
+ >=dev-libs/atk-1.29.2[introspection?]
media-libs/fontconfig
x11-misc/shared-mime-info
>=media-libs/libpng-1.2.43-r2:0
@@ -59,6 +59,7 @@ DEPEND="${RDEPEND}
doc? (
>=dev-util/gtk-doc-1.11
~app-text/docbook-xml-dtd-4.1.2 )
+ introspection? ( >=dev-libs/gobject-introspection-0.6.7 )
test? (
media-fonts/font-misc-misc
media-fonts/font-cursor-misc )"
@@ -119,14 +120,14 @@ src_prepare() {
src_configure() {
# png always on to display icons (foser)
- local myconf="$(use_enable doc gtk-doc) \
- $(use_with jpeg libjpeg) \
- $(use_with jpeg2k libjasper) \
- $(use_with tiff libtiff) \
- $(use_enable xinerama) \
- $(use_enable cups cups auto) \
- --disable-introspection \
- --disable-papi \
+ local myconf="$(use_enable doc gtk-doc)
+ $(use_with jpeg libjpeg)
+ $(use_with jpeg2k libjasper)
+ $(use_with tiff libtiff)
+ $(use_enable xinerama)
+ $(use_enable cups cups auto)
+ $(use_enable introspection)
+ --disable-papi
--with-libpng"
if use aqua; then
myconf="${myconf} --with-gdktarget=quartz"
diff --git a/x11-libs/gtk+/metadata.xml b/x11-libs/gtk+/metadata.xml
index 2662444a43de..028313934c81 100644
--- a/x11-libs/gtk+/metadata.xml
+++ b/x11-libs/gtk+/metadata.xml
@@ -8,4 +8,8 @@
for projects ranging from small one-off projects to complete
application suites.
</longdescription>
+ <use>
+ <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg>
+ for introspection</flag>
+ </use>
</pkgmetadata>