Files
for-gentoo/gnome-extra/evolution-rss/evolution-rss-0.3.91.ebuild
T
Sławomir Nizio dfefb1c0d8 [gnome-extra/evolution-rss] version bump to 0.3.91; add a dep.
version number is taken from VCS tag:
http://git.gnome.org/browse/evolution-rss/
(tarballs on the Wiki listed as homepage are old...)
2012-05-14 02:32:11 +02:00

86 lines
2.0 KiB
Bash

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
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="+gtk3 nls webkit"
RDEPEND="app-text/enchant
dev-libs/dbus-glib
dev-libs/expat
>=dev-libs/glib-2.26.1:2
>=gnome-base/gconf-2.32.0-r1
>=gnome-base/libglade-2
gnome-base/orbit:2
gnome-extra/evolution-data-server
net-libs/libsoup:2.4
net-libs/libsoup-gnome:2.4
media-libs/fontconfig
media-libs/freetype:2
media-libs/libpng:0
x11-libs/pango
gtk3? (
gnome-extra/gtkhtml:4.0
webkit? ( net-libs/webkit-gtk:3 )
x11-libs/gtk+:3
>=mail-client/evolution-3
)
!gtk3? (
gnome-extra/gtkhtml:3.14
webkit? ( net-libs/webkit-gtk:2 )
x11-libs/gtk+:2
<mail-client/evolution-3
)"
# does not compile with gecko
#xulrunner? ( || (
# net-libs/xulrunner:1.9
# www-client/seamonkey
# www-client/firefox ) )
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"
# hack
# remove checks of libemail-utils libemail-engine libevolution-utils
# they seem to be needed for Evolution 3.3.xxx
if has_version '<mail-client/evolution-3.3'; then
sed -i -e '/EVOLUTION_ADDITIONAL/d' configure.ac || die
fi
# intltoolize --force --copy --automake || die "intltoolize failed"
# eautoreconf
NOCONFIGURE=1 ./autogen.sh || die "autogen failed"
}