# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/gtkhtml/gtkhtml-3.12.3.ebuild,v 1.13 2008/03/05 00:59:56 dang Exp $ EAPI="1" inherit gnome2 eutils DESCRIPTION="Lightweight HTML Rendering/Printing/Editing Engine" HOMEPAGE="http://www.gnome.org/" LICENSE="GPL-2 LGPL-2" SLOT="3.8" KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd" IUSE="static" RDEPEND=">=gnome-base/gail-1.1 >=gnome-base/libgnomeui-2 >=gnome-base/libgnomeprintui-2.2.1 >=gnome-base/libglade-2 >=gnome-base/libbonoboui-2.2.4 >=gnome-base/orbit-2 >=gnome-base/libbonobo-2 net-libs/libsoup:2.2 >=x11-libs/gtk+-2.4 >=x11-themes/gnome-icon-theme-1.2" DEPEND="${RDEPEND} sys-devel/gettext >=dev-util/intltool-0.35 >=dev-util/pkgconfig-0.9" DOCS="AUTHORS BUGS ChangeLog NEWS README TODO" pkg_setup() { ELTCONF="--reverse-deps" G2CONF="$(use_enable static) --enable-file-chooser" } src_unpack() { gnome2_src_unpack # Fix tests. Upstream has fix in gnome 2.19 only at this time echo "components/html-editor/GNOME_GtkHTML_Editor-emacs.xml" >> "${S}/po/POTFILES.skip" echo "components/html-editor/GNOME_GtkHTML_Editor.xml" >> "${S}/po/POTFILES.skip" # Don't set G_DISABLE_DEPRECATED; it breaks builds epatch "${FILESDIR}"/${P}-allow-deprecated.patch }