# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-im/telepathy-mission-control/telepathy-mission-control-5.12.3.ebuild,v 1.4 2012/10/16 06:40:56 mattst88 Exp $ EAPI="4" GNOME2_LA_PUNT="yes" PYTHON_DEPEND="2:2.5" inherit python gnome2 DESCRIPTION="An account manager and channel dispatcher for the Telepathy framework." HOMEPAGE="http://telepathy.freedesktop.org/wiki/Mission%20Control" SRC_URI="http://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="connman gnome-keyring networkmanager +upower" # IUSE="test" RDEPEND=">=net-libs/telepathy-glib-0.17.5 >=dev-libs/dbus-glib-0.82 >=dev-libs/glib-2.30:2 connman? ( net-misc/connman ) gnome-keyring? ( gnome-base/libgnome-keyring ) networkmanager? ( >=net-misc/networkmanager-0.7 ) upower? ( >=sys-power/upower-0.9.11 )" DEPEND="${RDEPEND} virtual/pkgconfig dev-libs/libxslt" # test? ( dev-python/twisted-words )" # Tests are broken, see upstream bug #29334 # upstream doesn't want it enabled everywhere RESTRICT="test" pkg_setup() { python_set_active_version 2 python_pkg_setup } src_prepare() { python_convert_shebangs -r 2 . } src_configure() { # creds is not available and no support mcd-plugins for now econf --disable-static\ --disable-mcd-plugins \ --disable-schemas-compile \ $(use_enable gnome-keyring) \ $(use_with connman connectivity connman) \ $(use_with networkmanager connectivity nm) \ $(use_enable upower) }