e0d2e9938a
compiles with Evolution 3.6.2
73 lines
1.7 KiB
Bash
73 lines
1.7 KiB
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI="4"
|
|
|
|
inherit eutils gnome2
|
|
#inherit autotools eutils gnome2
|
|
|
|
DESCRIPTION="An RSS reader plugin for Evolution"
|
|
HOMEPAGE="http://gnome.eu.org/evo/index.php/Evolution_RSS_Reader_Plugin"
|
|
SRC_URI="mirror://sabayon/${CATEGORY}/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~x86 ~amd64"
|
|
IUSE="nls webkit"
|
|
|
|
RDEPEND="dev-libs/dbus-glib
|
|
>=dev-libs/glib-2.26.1:2
|
|
>=gnome-base/gconf-2.32.0-r1
|
|
gnome-extra/evolution-data-server
|
|
gnome-extra/gtkhtml:4.0
|
|
net-libs/libsoup:2.4
|
|
net-libs/libsoup-gnome:2.4
|
|
>=mail-client/evolution-3.6
|
|
x11-libs/gtk+:3
|
|
x11-libs/libX11
|
|
x11-libs/pango
|
|
webkit? ( net-libs/webkit-gtk:3 )
|
|
"
|
|
|
|
# does not compile with gecko
|
|
|
|
DEPEND="${RDEPEND}
|
|
virtual/pkgconfig
|
|
>=dev-util/intltool-0.35.0
|
|
gnome-base/gnome-common
|
|
>=sys-devel/autoconf-2.53
|
|
>=sys-devel/automake-1.8
|
|
>=sys-devel/libtool-0.25" # gnome-autogen.sh
|
|
|
|
DOCS="AUTHORS ChangeLog FAQ NEWS README TODO"
|
|
|
|
pkg_setup() {
|
|
G2CONF="${G2CONF}
|
|
--disable-schemas-install
|
|
$(use_enable nls)
|
|
$(use_enable webkit)"
|
|
}
|
|
|
|
src_prepare() {
|
|
gnome2_src_prepare
|
|
|
|
# https://bugzilla.gnome.org/show_bug.cgi?id=654591
|
|
sed -i -e 's|^\(#define EVOLUTION\) EVOLUTION_BINDIR.*$|\1 "evolution\&"|' \
|
|
src/evolution-import-rss.c || die "sed failed"
|
|
|
|
# intltoolize --force --copy --automake || die "intltoolize failed"
|
|
# eautoreconf
|
|
NOCONFIGURE=1 ./autogen.sh || die "autogen failed"
|
|
}
|
|
|
|
pkg_postinst() {
|
|
gnome2_pkg_postinst
|
|
if [[ -n ${REPLACING_VERSIONS} ]] \
|
|
&& [[ ${REPLACING_VERSIONS} < 0.3.92 ]]
|
|
then
|
|
ewarn "In 0.3.92 feeds were migrated from gconf to GSettings."
|
|
ewarn "You need to configure them again."
|
|
fi
|
|
}
|