| 1 |
# Copyright 1999-2011 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/net-voip/telepathy-gabble/telepathy-gabble-0.12.1.ebuild,v 1.5 2011/10/05 17:59:13 xarthisius Exp $
|
| 4 |
|
| 5 |
EAPI="3"
|
| 6 |
PYTHON_DEPEND="2:2.5"
|
| 7 |
|
| 8 |
inherit eutils python
|
| 9 |
|
| 10 |
DESCRIPTION="A Jabber/XMPP connection manager, this handles single and multi user chats and voice calls."
|
| 11 |
HOMEPAGE="http://telepathy.freedesktop.org"
|
| 12 |
SRC_URI="http://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
|
| 13 |
|
| 14 |
LICENSE="LGPL-2.1"
|
| 15 |
SLOT="0"
|
| 16 |
KEYWORDS="alpha amd64 ia64 ppc ~ppc64 sparc x86"
|
| 17 |
IUSE="debug test"
|
| 18 |
|
| 19 |
RDEPEND=">=dev-libs/glib-2.24:2
|
| 20 |
>=sys-apps/dbus-1.1.0
|
| 21 |
>=dev-libs/dbus-glib-0.82
|
| 22 |
>=net-libs/telepathy-glib-0.14.5
|
| 23 |
>=net-libs/libnice-0.0.11
|
| 24 |
>=net-libs/gnutls-2.10.2
|
| 25 |
|
| 26 |
dev-db/sqlite:3
|
| 27 |
dev-libs/libxml2
|
| 28 |
|
| 29 |
|| ( net-libs/libsoup:2.4[ssl]
|
| 30 |
>=net-libs/libsoup-2.33.1 )
|
| 31 |
|
| 32 |
!<net-im/telepathy-mission-control-5.5.0"
|
| 33 |
DEPEND="${RDEPEND}
|
| 34 |
dev-libs/libxslt
|
| 35 |
test? ( >=dev-python/twisted-0.8.2
|
| 36 |
>=dev-python/twisted-words-0.8.2
|
| 37 |
>=dev-python/dbus-python-0.83 )"
|
| 38 |
|
| 39 |
pkg_setup() {
|
| 40 |
python_set_active_version 2
|
| 41 |
python_pkg_setup
|
| 42 |
}
|
| 43 |
|
| 44 |
src_prepare() {
|
| 45 |
python_convert_shebangs -r 2 .
|
| 46 |
}
|
| 47 |
|
| 48 |
src_configure() {
|
| 49 |
econf \
|
| 50 |
--docdir=/usr/share/doc/${PF} \
|
| 51 |
$(use_enable debug handle-leak-debug)
|
| 52 |
}
|
| 53 |
|
| 54 |
src_test() {
|
| 55 |
# Twisted tests fail, upstream bug #30565
|
| 56 |
emake -C tests check-TESTS || die "tests failed"
|
| 57 |
}
|
| 58 |
|
| 59 |
src_install() {
|
| 60 |
emake install DESTDIR="${D}" || die "emake install failed"
|
| 61 |
dodoc AUTHORS NEWS ChangeLog README || die "dodoc failed"
|
| 62 |
}
|