summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2010-06-20 11:27:08 +0000
committerNirbheek Chauhan <nirbheek@gentoo.org>2010-06-20 11:27:08 +0000
commitc05569e1c817a1cf91a65d0748116441cb1ea886 (patch)
tree2a44ab0b7b004b1ec769d3a6f968feb7dc884c04 /dev-libs
parentdon't inherit autotools, not needed anymore (diff)
downloadgentoo-2-c05569e1c817a1cf91a65d0748116441cb1ea886.tar.gz
gentoo-2-c05569e1c817a1cf91a65d0748116441cb1ea886.tar.bz2
gentoo-2-c05569e1c817a1cf91a65d0748116441cb1ea886.zip
Add introspection support
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libunique/ChangeLog6
-rw-r--r--dev-libs/libunique/libunique-1.1.6.ebuild11
-rw-r--r--dev-libs/libunique/metadata.xml5
3 files changed, 15 insertions, 7 deletions
diff --git a/dev-libs/libunique/ChangeLog b/dev-libs/libunique/ChangeLog
index 89828879496f..c4d5696f787b 100644
--- a/dev-libs/libunique/ChangeLog
+++ b/dev-libs/libunique/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/libunique
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libunique/ChangeLog,v 1.25 2010/06/15 16:30:12 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libunique/ChangeLog,v 1.26 2010/06/20 11:27:08 nirbheek Exp $
+
+ 20 Jun 2010; Nirbheek Chauhan <nirbheek@gentoo.org>
+ libunique-1.1.6.ebuild, metadata.xml:
+ Add introspection support
15 Jun 2010; Pacho Ramos <pacho@gentoo.org> libunique-1.1.6.ebuild:
Pass --enable-introspection=no since we are not yet ready for
diff --git a/dev-libs/libunique/libunique-1.1.6.ebuild b/dev-libs/libunique/libunique-1.1.6.ebuild
index e0350ad63bb2..02a64459869c 100644
--- a/dev-libs/libunique/libunique-1.1.6.ebuild
+++ b/dev-libs/libunique/libunique-1.1.6.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/dev-libs/libunique/libunique-1.1.6.ebuild,v 1.4 2010/06/15 16:30:12 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libunique/libunique-1.1.6.ebuild,v 1.5 2010/06/20 11:27:08 nirbheek Exp $
EAPI="2"
@@ -12,17 +12,18 @@ HOMEPAGE="http://live.gnome.org/LibUnique"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-solaris"
-IUSE="dbus debug doc"
+IUSE="dbus debug doc +introspection"
RDEPEND=">=dev-libs/glib-2.12.0
- >=x11-libs/gtk+-2.11.0
+ >=x11-libs/gtk+-2.11.0[introspection?]
x11-libs/libX11
dbus? ( >=dev-libs/dbus-glib-0.70 )"
DEPEND="${RDEPEND}
sys-devel/gettext
>=dev-util/pkgconfig-0.17
dev-util/gtk-doc-am
- doc? ( >=dev-util/gtk-doc-1.6 )"
+ doc? ( >=dev-util/gtk-doc-1.6 )
+ introspection? ( >=dev-libs/gobject-introspection-0.6.3 )"
DOCS="AUTHORS NEWS ChangeLog README TODO"
@@ -43,7 +44,7 @@ src_test() {
pkg_setup() {
G2CONF="${G2CONF}
--disable-static
- --enable-introspection=no
+ $(use_enable introspection)
$(use_enable dbus)
$(use_enable debug)"
}
diff --git a/dev-libs/libunique/metadata.xml b/dev-libs/libunique/metadata.xml
index 6b9f0a40af6d..18d1a81735d6 100644
--- a/dev-libs/libunique/metadata.xml
+++ b/dev-libs/libunique/metadata.xml
@@ -5,5 +5,8 @@
<longdescription lang="en">
Unique is a library for writing single instance application. If you launch a single instance application twice, the second instance will either just quit or will send a message to the running instance.
</longdescription>
+<use>
+ <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg>
+ for introspection</flag>
+</use>
</pkgmetadata>
-