Gentoo Archives: gentoo-commits

From: Alexandre Restovtsev <tetromino@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: net-im/telepathy-logger/
Date: Fri, 06 Apr 2012 03:14:29
Message-Id: 1333681685.e2ffdf8f6730368b50739d26316ffeccaf70ab42.tetromino@gentoo
1 commit: e2ffdf8f6730368b50739d26316ffeccaf70ab42
2 Author: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 6 03:08:05 2012 +0000
4 Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
5 CommitDate: Fri Apr 6 03:08:05 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=e2ffdf8f
7
8 net-im/telepathy-logger: add 0.4.0
9
10 Needed for empathy-3.4.0.1
11
12 ---
13 .../telepathy-logger/telepathy-logger-0.4.0.ebuild | 63 ++++++++++++++++++++
14 1 files changed, 63 insertions(+), 0 deletions(-)
15
16 diff --git a/net-im/telepathy-logger/telepathy-logger-0.4.0.ebuild b/net-im/telepathy-logger/telepathy-logger-0.4.0.ebuild
17 new file mode 100644
18 index 0000000..44e24c3
19 --- /dev/null
20 +++ b/net-im/telepathy-logger/telepathy-logger-0.4.0.ebuild
21 @@ -0,0 +1,63 @@
22 +# Copyright 1999-2012 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Header: $
25 +
26 +EAPI="4"
27 +PYTHON_DEPEND="2:2.5"
28 +
29 +inherit gnome2-utils python virtualx
30 +
31 +DESCRIPTION="Telepathy Logger is a session daemon that should be activated whenever telepathy is being used."
32 +HOMEPAGE="http://telepathy.freedesktop.org/wiki/Logger"
33 +SRC_URI="http://telepathy.freedesktop.org/releases/${PN}/${P}.tar.bz2"
34 +
35 +LICENSE="LGPL-2.1"
36 +SLOT="0"
37 +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-linux"
38 +IUSE="doc +introspection"
39 +
40 +RDEPEND=">=dev-libs/glib-2.25.11:2
41 + >=sys-apps/dbus-1.1
42 + >=dev-libs/dbus-glib-0.82
43 + >=net-libs/telepathy-glib-0.15.6[introspection?]
44 + dev-libs/libxml2
45 + dev-libs/libxslt
46 + dev-db/sqlite:3
47 + introspection? ( >=dev-libs/gobject-introspection-0.9.6 )
48 +"
49 +DEPEND="${RDEPEND}
50 + >=dev-util/intltool-0.35
51 + doc? ( >=dev-util/gtk-doc-1.10 )
52 +"
53 +
54 +DOCS=(AUTHORS ChangeLog NEWS README)
55 +
56 +pkg_setup() {
57 + python_set_active_version 2
58 + python_pkg_setup
59 +}
60 +
61 +src_prepare() {
62 + python_convert_shebangs -r 2 .
63 +}
64 +
65 +src_configure() {
66 + econf \
67 + $(use_enable doc gtk-doc) \
68 + $(use_enable introspection) \
69 + --enable-debug \
70 + --enable-public-extensions \
71 + --disable-coding-style-checks \
72 + --disable-Werror \
73 + --disable-static
74 +}
75 +
76 +src_test() {
77 + gnome2_environment_reset
78 + Xemake check || die "make check failed"
79 +}
80 +
81 +src_install() {
82 + default
83 + find "${D}" -name "*.la" -delete || die "la files removal failed"
84 +}