commit:     3648881a850ab7ddd9414d1e74726038da873220
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Tue Dec 29 19:50:48 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Apr 22 19:32:07 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3648881a

net-im/telepathy-mission-control: Drop USE=upower

If built with --disable-upower, telepathy-mission-control will listen for
PrepareForSleep signal instead, which is now also available through
ConsoleKit2. Also get rid of USE=upower since it only meant legacy-upower
and USE=systemd now since it doesn't serve a purpose with upower removed.

References:
https://bugs.freedesktop.org/show_bug.cgi?id=70458
http://consolekit2.github.io/ConsoleKit2/#Manager::PrepareForSleep

Package-Manager: portage-2.2.24

 .../telepathy-mission-control-5.16.3-r1.ebuild     | 48 ++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git 
a/net-im/telepathy-mission-control/telepathy-mission-control-5.16.3-r1.ebuild 
b/net-im/telepathy-mission-control/telepathy-mission-control-5.16.3-r1.ebuild
new file mode 100644
index 0000000..7a8f32b
--- /dev/null
+++ 
b/net-im/telepathy-mission-control/telepathy-mission-control-5.16.3-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 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="https://cgit.freedesktop.org/telepathy/telepathy-mission-control/";
+SRC_URI="https://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" # 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 )
+"
+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 \
+               --disable-upower \
+               $(use_enable debug) \
+               $(use_with networkmanager connectivity nm)
+}

Reply via email to