blob: f668c71f0e82c9ec52111fcbacb941d4610fb1ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-voip/telepathy-haze/telepathy-haze-0.4.0-r1.ebuild,v 1.7 2011/06/13 15:26:47 pacho Exp $
EAPI="3"
PYTHON_DEPEND="2:2.5"
inherit python
DESCRIPTION="Telepathy connection manager providing libpurple supported protocols."
HOMEPAGE="http://developer.pidgin.im/wiki/TelepathyHaze"
SRC_URI="http://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ia64 ppc ~ppc64 sparc x86"
IUSE="test"
# Tests failing, see upstream: https://bugs.freedesktop.org/34577
RESTRICT="test"
RDEPEND=">=net-im/pidgin-2.6
>=net-libs/telepathy-glib-0.9.2
>=dev-libs/glib-2.22:2
>=dev-libs/dbus-glib-0.73"
DEPEND="${RDEPEND}
dev-util/pkgconfig
test? ( dev-python/twisted-words )"
pkg_setup() {
python_set_active_version 2
}
src_prepare() {
python_convert_shebangs -r 2 .
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS NEWS README || die
# Remove haze.manager (as Fedora and Debian are doing) to prevent
# connection problems reported in bug #331713
rm -f "${ED}"/usr/share/telepathy/managers/haze.manager || die
}
|