# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-libs/vte/vte-0.20.5.ebuild,v 1.9 2010/01/16 17:14:19 armin76 Exp $ EAPI="2" inherit gnome2 eutils DESCRIPTION="Gnome terminal widget" HOMEPAGE="http://www.gnome.org/" LICENSE="LGPL-2" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd" IUSE="debug doc glade python" RDEPEND=">=dev-libs/glib-2.18.0 >=x11-libs/gtk+-2.14.0 >=x11-libs/pango-1.22.0 sys-libs/ncurses glade? ( dev-util/glade:3 ) python? ( >=dev-python/pygtk-2.4 ) x11-libs/libX11 x11-libs/libXft" DEPEND="${RDEPEND} doc? ( >=dev-util/gtk-doc-1.0 ) >=dev-util/intltool-0.35 >=dev-util/pkgconfig-0.9 sys-devel/gettext" DOCS="AUTHORS ChangeLog HACKING NEWS README" pkg_setup() { G2CONF="${G2CONF} --disable-deprecation --disable-static $(use_enable debug) $(use_enable glade glade-catalogue) $(use_enable python)" } src_prepare() { gnome2_src_prepare # Fix intltoolize broken file, see upstream #577133 sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in || die "sed failed" }