summaryrefslogtreecommitdiff
blob: 5124bcc55f53d294dd7564d7647aa1fdf15938ad (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/telepathy-idle/telepathy-idle-0.1.12.ebuild,v 1.2 2012/09/22 13:32:57 pacho Exp $

EAPI="4"
PYTHON_DEPEND="2"

inherit autotools eutils python

DESCRIPTION="Full-featured IRC connection manager for Telepathy."
HOMEPAGE="http://telepathy.freedesktop.org/wiki/Components"
SRC_URI="http://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-linux"
IUSE="test"

RDEPEND=">=dev-libs/dbus-glib-0.51
	>=dev-libs/glib-2.30.0:2
	>=dev-libs/openssl-0.9.7
	>=net-libs/telepathy-glib-0.15.9
	sys-apps/dbus"
DEPEND="${RDEPEND}
	virtual/pkgconfig
	test? ( dev-python/twisted-words )"

pkg_setup() {
	python_set_active_version 2
	python_pkg_setup
}

src_prepare() {
	python_convert_shebangs -r 2 .

	# Fix parallel make, fixed in next release, bug #435524
	epatch "${FILESDIR}/${P}-parallel-make.patch"
	eautoreconf
}