1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_6 )
8 inherit gnome2 python-any-r1 virtualx
10 DESCRIPTION="Telepathy instant messaging and video/audio call client for GNOME"
11 HOMEPAGE="https://wiki.gnome.org/Apps/Empathy"
13 LICENSE="GPL-2 CC-BY-SA-3.0 FDL-1.3 LGPL-2.1"
15 IUSE="debug +geolocation gnome gnome-online-accounts +map spell test +v4l"
16 RESTRICT="!test? ( test )"
17 KEYWORDS="~alpha amd64 ~arm ~ppc ~ppc64 x86 ~x86-linux"
19 # False positives caused by nested configure scripts
20 QA_CONFIGURE_OPTIONS=".*"
22 # gdk-pixbuf and pango extensively used in libempathy-gtk
24 >=dev-libs/glib-2.48:2[dbus]
26 >=x11-libs/gtk+-3.9.4:3
28 >=dev-libs/dbus-glib-0.51
29 >=dev-libs/folks-0.9.5:=[telepathy]
31 >=app-crypt/libsecret-0.5
32 >=media-libs/libcanberra-0.25[gtk3]
33 >=net-libs/webkit-gtk-2.10:4
34 >=x11-libs/libnotify-0.7:=
36 media-libs/gstreamer:1.0
37 >=media-libs/clutter-1.10.0:1.0
38 >=media-libs/clutter-gtk-1.1.2:1.0
39 media-libs/clutter-gst:3.0
40 >=media-libs/cogl-1.14:1.0=
42 net-libs/farstream:0.2=
43 >=net-libs/telepathy-farstream-0.6.0:=
44 >=net-libs/telepathy-glib-0.23.2
45 >=net-im/telepathy-logger-0.8.0:=
49 gnome-base/gsettings-desktop-schemas
50 media-sound/pulseaudio[glib]
55 >=app-misc/geoclue-2.1:2.0
56 >=sci-geosciences/geocode-glib-3.10 )
57 gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.5.1:= )
59 >=media-libs/clutter-1.7.14:1.0
60 >=media-libs/clutter-gtk-0.90.3:1.0
61 >=media-libs/libchamplain-0.12.1:0.12[gtk] )
63 >=app-text/enchant-1.2:0
64 >=app-text/iso-codes-0.35 )
67 media-plugins/gst-plugins-v4l2:1.0
68 >=media-video/cheese-3.4:= )
71 # >=empathy-3.4 is incompatible with telepathy-rakia-0.6, bug #403861
72 RDEPEND="${COMMON_DEPEND}
73 media-libs/gst-plugins-base:1.0
74 net-im/telepathy-connection-managers
75 !<net-voip/telepathy-rakia-0.7
76 x11-themes/adwaita-icon-theme
77 gnome? ( gnome-extra/gnome-contacts )
79 DEPEND="${COMMON_DEPEND}
83 >=dev-util/intltool-0.50.0
88 >=dev-libs/check-0.9.4 )
90 PDEPEND=">=net-im/telepathy-mission-control-5.14"
93 python-any-r1_pkg_setup
94 export PYTHONIOENCODING=UTF-8 # See bug 489774
98 DOCS="CONTRIBUTORS AUTHORS ChangeLog NEWS README"
99 gnome2_src_configure \
100 --disable-coding-style-checks \
102 --disable-ubuntu-online-accounts \
104 $(use_enable debug) \
105 $(use_enable geolocation geocode) \
106 $(use_enable geolocation location) \
107 $(use_enable gnome-online-accounts goa) \
109 $(use_enable spell) \
110 $(use_enable v4l gudev) \
111 $(use_with v4l cheese)
115 dbus-launch virtx emake check #504516