-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI="1"
+EAPI="2"
-inherit gnome2
+inherit autotools eutils gnome2
DESCRIPTION="An RSS reader plugin for Evolution"
HOMEPAGE="http://gnome.eu.org/index.php/Evolution_RSS_Reader_Plugin"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="dbus"
+IUSE="dbus webkit"
RDEPEND=">=mail-client/evolution-2.24
>=gnome-base/gconf-2
>=gnome-extra/evolution-data-server-1.2
|| ( net-libs/xulrunner:1.9 www-client/seamonkey
www-client/mozilla-firefox )
- dbus? ( dev-libs/dbus-glib )"
+ dbus? ( dev-libs/dbus-glib )
+ webkit? ( net-libs/webkit-gtk )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
- >=dev-util/intltool-0.35
- sys-devel/libtool
+ dev-util/intltool
sys-devel/gettext"
DOCS="AUTHORS ChangeLog FAQ NEWS README TODO"
pkg_setup() {
- ! use dbus && G2CONF="${G2CONF} $(use_enable dbus)"
+ G2CONF="${G2CONF} $(use_enable dbus) $(use_enable webkit)"
+}
+
+src_prepare() {
+ gnome2_src_prepare
+ epatch "${FILESDIR}"/${PV}-configure.patch
+ eautoreconf
}