Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/telepathy-farstream: metadata.xml ChangeLog telepathy-farstream-0.1.1.ebuild
Date: Sun, 30 Oct 2011 03:26:37
Message-Id: 20111030032626.8FBC820033@flycatcher.gentoo.org
1 tetromino 11/10/30 03:26:26
2
3 Added: metadata.xml ChangeLog
4 telepathy-farstream-0.1.1.ebuild
5 Log:
6 New ebuild, moved from the gnome overlay, used by empathy-3.2.
7
8 (Portage version: 2.2.0_alpha71/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.1 net-libs/telepathy-farstream/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/telepathy-farstream/metadata.xml?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/telepathy-farstream/metadata.xml?rev=1.1&content-type=text/plain
15
16 Index: metadata.xml
17 ===================================================================
18 <?xml version="1.0" encoding="UTF-8"?>
19 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
20 <pkgmetadata>
21 <herd>gnome</herd>
22 <herd>voip</herd>
23 </pkgmetadata>
24
25
26
27 1.1 net-libs/telepathy-farstream/ChangeLog
28
29 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/telepathy-farstream/ChangeLog?rev=1.1&view=markup
30 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/telepathy-farstream/ChangeLog?rev=1.1&content-type=text/plain
31
32 Index: ChangeLog
33 ===================================================================
34 # ChangeLog for net-libs/telepathy-farstream
35 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
36 # $Header: /var/cvsroot/gentoo-x86/net-libs/telepathy-farstream/ChangeLog,v 1.1 2011/10/30 03:26:26 tetromino Exp $
37
38 *telepathy-farstream-0.1.1 (30 Oct 2011)
39
40 30 Oct 2011; Alexandre Rostovtsev <tetromino@g.o>
41 +telepathy-farstream-0.1.1.ebuild, +metadata.xml:
42 New ebuild, moved from the gnome overlay, used by empathy-3.2.
43
44
45
46
47 1.1 net-libs/telepathy-farstream/telepathy-farstream-0.1.1.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/telepathy-farstream/telepathy-farstream-0.1.1.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/telepathy-farstream/telepathy-farstream-0.1.1.ebuild?rev=1.1&content-type=text/plain
51
52 Index: telepathy-farstream-0.1.1.ebuild
53 ===================================================================
54 # Copyright 1999-2011 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/net-libs/telepathy-farstream/telepathy-farstream-0.1.1.ebuild,v 1.1 2011/10/30 03:26:26 tetromino Exp $
57
58 EAPI="4"
59 PYTHON_DEPEND="python? 2:2.5"
60 PYTHON_USE_WITH="xml"
61 PYTHON_USE_WITH_OPT="python"
62
63 inherit python
64
65 DESCRIPTION="Telepathy client library that uses Farsight2 to handle Call channels"
66 HOMEPAGE="http://telepathy.freedesktop.org"
67 SRC_URI="http://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
68
69 LICENSE="LGPL-2.1"
70 SLOT="0"
71 KEYWORDS="~amd64 ~x86"
72 IUSE="examples python"
73
74 RDEPEND=">=dev-libs/glib-2.16:2
75 >=sys-apps/dbus-0.60
76 >=dev-libs/dbus-glib-0.60
77 >=net-libs/telepathy-glib-0.13.4
78 >=net-libs/farsight2-0.0.28
79 python? (
80 >=dev-python/pygobject-2.12.0:2
81 >=dev-python/gst-python-0.10.10 )"
82 # python2 is needed at build time in all cases
83 DEPEND="${RDEPEND}
84 !python? ( =dev-lang/python-2*[xml] )"
85
86 pkg_setup() {
87 # Needed for xincludator.py at build time even if USE=-python
88 python_set_active_version 2
89 python_pkg_setup
90 }
91
92 src_prepare() {
93 if use python; then
94 python_convert_shebangs -r 2 .
95 fi
96 }
97
98 src_configure() {
99 econf $(use_enable python) --disable-static
100 }
101
102 src_install() {
103 emake install DESTDIR="${D}"
104 dodoc AUTHORS ChangeLog NEWS README
105
106 # Remove .la files since static libs are disabled
107 find "${D}" -name '*.la' -exec rm -f {} + || die
108
109 if use examples; then
110 insinto /usr/share/doc/${PF}/examples
111 doins examples/*.c
112 if use python; then
113 insinto /usr/share/doc/${PF}/examples/python
114 doins python/examples/*.py
115 fi
116 fi
117 }