1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7,8} )
7 VALA_MIN_API_VERSION="0.18"
8 VALA_USE_DEPEND="vapigen"
10 inherit gnome2 python-any-r1 vala virtualx
12 DESCRIPTION="GLib bindings for the Telepathy D-Bus protocol"
13 HOMEPAGE="https://telepathy.freedesktop.org/"
14 SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
18 KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
20 IUSE="debug +introspection +vala"
21 REQUIRED_USE="vala? ( introspection )"
23 # Broken for a long time and upstream doesn't care
24 # https://bugs.freedesktop.org/show_bug.cgi?id=63212
28 >=dev-libs/glib-2.36:2
29 >=dev-libs/dbus-glib-0.90
30 introspection? ( >=dev-libs/gobject-introspection-1.30 )
38 vala? ( $(vala_depend) )
40 # See bug 504744 for reference
42 net-im/telepathy-mission-control
46 use vala && vala_src_prepare
51 gnome2_src_configure \
53 --disable-installed-tests \
54 $(use_enable debug backtrace) \
55 $(use_enable debug debug-cache) \
56 $(use_enable introspection) \
57 $(use_enable vala vala-bindings)
61 unset DBUS_SESSION_BUS_ADDRESS
62 # Needs dbus for tests (auto-launched)