# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/gnome-base/libgnomeui/libgnomeui-2.24.4.ebuild,v 1.5 2011/01/30 18:51:07 armin76 Exp $ EAPI="3" GCONF_DEBUG="no" inherit gnome2 DESCRIPTION="User Interface routines for Gnome" HOMEPAGE="http://library.gnome.org/devel/libgnomeui/stable/" LICENSE="LGPL-2" SLOT="0" KEYWORDS="alpha amd64 arm ia64 ~mips ~ppc ~ppc64 sh sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" IUSE="doc test" # gtk+-2.14 dep instead of 2.12 ensures system doesn't loose VFS capabilities in GtkFilechooser RDEPEND=">=dev-libs/libxml2-2.4.20 >=gnome-base/libgnome-2.13.7 >=gnome-base/libgnomecanvas-2 >=gnome-base/libbonoboui-2.13.1 >=gnome-base/gconf-2 >=x11-libs/pango-1.1.2 >=dev-libs/glib-2.16 >=x11-libs/gtk+-2.14 >=gnome-base/gnome-vfs-2.7.3 >=gnome-base/libglade-2 >=gnome-base/gnome-keyring-0.4 >=dev-libs/popt-1.5" DEPEND="${RDEPEND} sys-devel/gettext >=dev-util/pkgconfig-0.9 >=dev-util/intltool-0.40 doc? ( >=dev-util/gtk-doc-1 )" PDEPEND="x11-themes/gnome-icon-theme" DOCS="AUTHORS ChangeLog NEWS README" src_prepare() { gnome2_src_prepare if ! use test; then sed 's/ test-gnome//' -i Makefile.am Makefile.in || die "sed failed" fi }