# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/json-glib/json-glib-0.12.0.ebuild,v 1.1 2010/12/05 14:33:58 nirbheek Exp $ EAPI="2" inherit gnome2 eutils DESCRIPTION="A library providing GLib serialization and deserialization support for the JSON format" HOMEPAGE="http://live.gnome.org/JsonGlib" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="doc coverage +introspection" RDEPEND=">=dev-libs/glib-2.16" DEPEND="${RDEPEND} >=dev-util/pkgconfig-0.9 doc? ( >=dev-util/gtk-doc-1.13 ) introspection? ( >=dev-libs/gobject-introspection-0.6.5 )" DOCS="AUTHORS ChangeLog NEWS README" pkg_setup() { # coverage support needs gcov from gcc G2CONF="${G2CONF} $(use_enable coverage gcov) $(use_enable introspection)" }