1
# Copyright 1999-2009 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: $
4
5
EAPI="2"
6
7
inherit distutils prefix
8
9
DESCRIPTION="Gwibber is an open source microblogging client for GNOME developed
10
with Python and GTK."
11
HOMEPAGE="https://launchpad.net/gwibber"
12
SRC_URI="http://dev.gentooexperimental.org/~zerox/${P}.tar.gz"
13
14
LICENSE="GPL-2"
15
SLOT="0"
16
KEYWORDS="~amd64 ~x86"
17
IUSE="prefix"
18
19
DEPEND=">=dev-python/python-distutils-extra-1.92_pre67
20
	>=dev-python/dbus-python-0.82.4
21
	>=dev-python/pywebkitgtk-1.1.5
22
	>=dev-python/notify-python-0.1.1
23
	>=dev-python/imaging-1.1.6
24
	>=dev-python/simplejson-2.0.4
25
	>=dev-python/egenix-mx-base-2.0.5
26
	>=dev-python/feedparser-4.1
27
	>=dev-python/gconf-python-2.18.0
28
	>=dev-python/pyxdg-0.15
29
	>=dev-python/mako-0.2.4
30
	>=gnome-base/librsvg-2.22.2"
31
RDEPEND="virtual/python"
32
33
S=${WORKDIR}/${PN}
34
35
src_prepare() {
36
	epatch "$FILESDIR"/"${PN}-prefix.patch" || die "Patching failed"
37
	if use prefix; then
38
	    sed -i -e 's:/usr:@GENTOO_PORTAGE_EPREFIX@/usr:' \
39
	    "${S}/setup.cfg" || die
40
	    eprefixify "${S}/setup.cfg"
41
	fi
42
	epatch "$FILESDIR"/"${PN}-resources.patch" || die "Patching failed"
43
}