You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-im/telepathy-mission-control/telepathy-mission-control-5...

51 lines
1.4 KiB

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
# Needed for tests and build #489466
PYTHON_COMPAT=( python2_7 )
inherit gnome2 python-any-r1
DESCRIPTION="An account manager and channel dispatcher for the Telepathy framework"
HOMEPAGE="http://cgit.freedesktop.org/telepathy/telepathy-mission-control/"
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 ~amd64-linux ~arm-linux ~x86-linux"
IUSE="debug networkmanager systemd upower" # test
RDEPEND="
>=dev-libs/dbus-glib-0.82
>=dev-libs/glib-2.32:2
>=sys-apps/dbus-0.95
>=net-libs/telepathy-glib-0.20
networkmanager? ( >=net-misc/networkmanager-0.7 )
!systemd? ( upower? ( >=sys-power/upower-pm-utils-0.9.23 ) )
"
DEPEND="${RDEPEND}
${PYTHON_DEPS}
dev-libs/libxslt
>=dev-util/gtk-doc-am-1.17
virtual/pkgconfig
"
# test? ( dev-python/twisted-words )"
# Tests are broken, see upstream bug #29334 and #64212
# upstream doesn't want it enabled everywhere (#29334#c12)
RESTRICT="test"
src_configure() {
# creds is not available
gnome2_src_configure \
--disable-static \
$(use_enable debug) \
$(use_with networkmanager connectivity nm) \
$(use_enable upower) \
$(use systemd && echo "--disable-upower")
}