gentoo-overlay/dev-libs/json-glib/json-glib-0.14.2.ebuild

32 lines
920 B
Bash

# Copyright 1999-2012 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.14.2.ebuild,v 1.9 2012/07/14 13:23:39 blueness Exp $
EAPI=4
GCONF_DEBUG=yes
GNOME2_LA_PUNT=yes
inherit gnome2
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 ~hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="doc +introspection"
RDEPEND=">=dev-libs/glib-2.26:2"
DEPEND="${RDEPEND}
virtual/pkgconfig
>=sys-devel/gettext-0.18
doc? ( >=dev-util/gtk-doc-1.13 )
introspection? ( >=dev-libs/gobject-introspection-0.9.5 )"
pkg_setup() {
DOCS="ChangeLog NEWS README"
# Coverage support is useless, and causes runtime problems
G2CONF="${G2CONF}
--disable-gcov
$(use_enable introspection)"
}