Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: net-im/telepathy-mission-control/
Date: Wed, 21 Nov 2012 23:40:07
Message-Id: 1353541179.8efd993b869b642a6d82cc8991920bdc7409e70b.eva@gentoo
1 commit: 8efd993b869b642a6d82cc8991920bdc7409e70b
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 21 23:39:39 2012 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 21 23:39:39 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=8efd993b
7
8 net-im/telepathy-mission-control: 5.12.4 → 5.14.0
9
10 ---
11 net-im/telepathy-mission-control/metadata.xml | 15 +++++
12 .../telepathy-mission-control-5.14.0.ebuild | 56 ++++++++++++++++++++
13 2 files changed, 71 insertions(+), 0 deletions(-)
14
15 diff --git a/net-im/telepathy-mission-control/metadata.xml b/net-im/telepathy-mission-control/metadata.xml
16 new file mode 100644
17 index 0000000..be8efc7
18 --- /dev/null
19 +++ b/net-im/telepathy-mission-control/metadata.xml
20 @@ -0,0 +1,15 @@
21 +<?xml version="1.0" encoding="UTF-8"?>
22 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
23 +<pkgmetadata>
24 + <herd>gnome</herd>
25 + <herd>net-im</herd>
26 + <longdescription>Mission Control, or MC, is a telepathy component providing a
27 +way for "end-user" applications to abstract some of the details of connection
28 +managers, to provide a simple way to manipulate a bunch of connection managers
29 +at once, and to remove the need to have in each program the account
30 +definitions and credentials.</longdescription>
31 + <use>
32 + <flag name="connman">Add support for <pkg>net-misc/connman</pkg></flag>
33 + <flag name="upower">Use <pkg>sys-power/upower</pkg> to detect suspend and resume</flag>
34 + </use>
35 +</pkgmetadata>
36
37 diff --git a/net-im/telepathy-mission-control/telepathy-mission-control-5.14.0.ebuild b/net-im/telepathy-mission-control/telepathy-mission-control-5.14.0.ebuild
38 new file mode 100644
39 index 0000000..098374d
40 --- /dev/null
41 +++ b/net-im/telepathy-mission-control/telepathy-mission-control-5.14.0.ebuild
42 @@ -0,0 +1,56 @@
43 +# Copyright 1999-2012 Gentoo Foundation
44 +# Distributed under the terms of the GNU General Public License v2
45 +# $Header: /var/cvsroot/gentoo-x86/net-im/telepathy-mission-control/telepathy-mission-control-5.12.3.ebuild,v 1.5 2012/10/28 16:32:01 armin76 Exp $
46 +
47 +EAPI="4"
48 +GNOME2_LA_PUNT="yes"
49 +PYTHON_DEPEND="2:2.5"
50 +
51 +inherit python gnome2
52 +
53 +DESCRIPTION="An account manager and channel dispatcher for the Telepathy framework."
54 +HOMEPAGE="http://telepathy.freedesktop.org/wiki/Mission%20Control"
55 +SRC_URI="http://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
56 +
57 +LICENSE="LGPL-2.1"
58 +SLOT="0"
59 +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
60 +IUSE="connman gnome-keyring networkmanager +upower"
61 +# IUSE="test"
62 +
63 +RDEPEND="
64 + >=net-libs/telepathy-glib-0.19
65 + >=dev-libs/dbus-glib-0.82
66 + >=dev-libs/glib-2.30:2
67 + connman? ( net-misc/connman )
68 + gnome-keyring? ( gnome-base/libgnome-keyring )
69 + networkmanager? ( >=net-misc/networkmanager-0.7 )
70 + upower? ( >=sys-power/upower-0.9.11 )
71 +"
72 +DEPEND="${RDEPEND}
73 + dev-libs/libxslt
74 + virtual/pkgconfig
75 +"
76 +# test? ( dev-python/twisted-words )"
77 +
78 +# Tests are broken, see upstream bug #29334
79 +# upstream doesn't want it enabled everywhere
80 +#RESTRICT="test"
81 +
82 +pkg_setup() {
83 + python_set_active_version 2
84 + python_pkg_setup
85 +}
86 +
87 +src_prepare() {
88 + python_convert_shebangs -r 2 .
89 +}
90 +
91 +src_configure() {
92 + # creds is not available
93 + econf --disable-static \
94 + $(use_enable gnome-keyring) \
95 + $(use_with connman connectivity connman) \
96 + $(use_with networkmanager connectivity nm) \
97 + $(use_enable upower)
98 +}