# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/gnome-base/libgnomekbd/libgnomekbd-3.2.0-r1.ebuild,v 1.1 2011/12/11 21:24:55 tetromino Exp $ EAPI="4" GCONF_DEBUG="no" GNOME2_LA_PUNT="yes" inherit eutils gnome2 DESCRIPTION="Gnome keyboard configuration library" HOMEPAGE="http://www.gnome.org" LICENSE="LGPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" IUSE="+introspection test" RDEPEND=">=dev-libs/glib-2.18:2 >=x11-libs/gtk+-2.91.7:3[introspection?] >=x11-libs/libxklavier-5.1 introspection? ( >=dev-libs/gobject-introspection-0.6.7 )" DEPEND="${RDEPEND} >=dev-util/intltool-0.35 >=dev-util/pkgconfig-0.19" pkg_setup() { G2CONF="${G2CONF} --disable-static --disable-schemas-compile $(use_enable introspection) $(use_enable test tests)" DOCS="AUTHORS ChangeLog NEWS README" } src_prepare() { # Upstream patch to use correct GtkTrayIcon:fg-color type; fixes g-s-d crash epatch "${FILESDIR}/${P}-fg-color.patch" gnome2_src_prepare }