Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/telepathy-glib/
Date: Sat, 12 Oct 2019 13:28:33
Message-Id: 1570886895.235979625b8185c168b63ea1029dbaa6361f3e8e.leio@gentoo
1 commit: 235979625b8185c168b63ea1029dbaa6361f3e8e
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 15 16:14:30 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 12 13:28:15 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23597962
7
8 net-libs/telepathy-glib: EAPI-6, python-any-r1, python3
9
10 Closes: https://github.com/gentoo/gentoo/pull/12935
11 Package-Manager: Portage-2.3.76, Repoman-2.3.17
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
14
15 .../telepathy-glib/telepathy-glib-0.24.1-r1.ebuild | 64 ++++++++++++++++++++++
16 1 file changed, 64 insertions(+)
17
18 diff --git a/net-libs/telepathy-glib/telepathy-glib-0.24.1-r1.ebuild b/net-libs/telepathy-glib/telepathy-glib-0.24.1-r1.ebuild
19 new file mode 100644
20 index 00000000000..758e5eceb48
21 --- /dev/null
22 +++ b/net-libs/telepathy-glib/telepathy-glib-0.24.1-r1.ebuild
23 @@ -0,0 +1,64 @@
24 +# Copyright 1999-2019 Gentoo Authors
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=6
28 +
29 +PYTHON_COMPAT=( python2_7 python3_{6,7} )
30 +VALA_MIN_API_VERSION="0.18"
31 +VALA_USE_DEPEND="vapigen"
32 +
33 +inherit gnome2 python-any-r1 vala virtualx
34 +
35 +DESCRIPTION="GLib bindings for the Telepathy D-Bus protocol"
36 +HOMEPAGE="https://telepathy.freedesktop.org/"
37 +SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
38 +
39 +LICENSE="LGPL-2.1+"
40 +SLOT="0"
41 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
42 +
43 +IUSE="debug +introspection +vala"
44 +REQUIRED_USE="vala? ( introspection )"
45 +
46 +# Broken for a long time and upstream doesn't care
47 +# https://bugs.freedesktop.org/show_bug.cgi?id=63212
48 +RESTRICT="test"
49 +
50 +RDEPEND="
51 + >=dev-libs/glib-2.36:2
52 + >=dev-libs/dbus-glib-0.90
53 + introspection? ( >=dev-libs/gobject-introspection-1.30 )
54 +"
55 +DEPEND="${RDEPEND}
56 + ${PYTHON_DEPS}
57 + dev-libs/libxslt
58 + dev-util/glib-utils
59 + dev-util/gtk-doc-am
60 + virtual/pkgconfig
61 + vala? ( $(vala_depend) )
62 +"
63 +# See bug 504744 for reference
64 +PDEPEND="
65 + net-im/telepathy-mission-control
66 +"
67 +
68 +src_prepare() {
69 + use vala && vala_src_prepare
70 + gnome2_src_prepare
71 +}
72 +
73 +src_configure() {
74 + gnome2_src_configure \
75 + --disable-static \
76 + --disable-installed-tests \
77 + $(use_enable debug backtrace) \
78 + $(use_enable debug debug-cache) \
79 + $(use_enable introspection) \
80 + $(use_enable vala vala-bindings)
81 +}
82 +
83 +src_test() {
84 + unset DBUS_SESSION_BUS_ADDRESS
85 + # Needs dbus for tests (auto-launched)
86 + virtx emake -j1 check
87 +}