blob: 9066c88602d86036ecf1f8347ddea9f552f9cc59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
PYTHON_DEPEND="2:2.5"
inherit gnome2 python virtualx
if [[ ${PV} = 9999 ]]; then
inherit gnome2-live
fi
DESCRIPTION="Telepathy instant messaging and video/audio call client for GNOME"
HOMEPAGE="http://live.gnome.org/Empathy"
LICENSE="GPL-2"
SLOT="0"
IUSE="debug +geocode +geoloc gnome gnome-online-accounts +map sendto spell test +v4l"
if [[ ${PV} = 9999 ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64 ~x86 ~x86-linux"
fi
# gdk-pixbuf and pango extensively used in libempathy-gtk
COMMON_DEPEND=">=dev-libs/glib-2.33.3:2
x11-libs/gdk-pixbuf:2
>=x11-libs/gtk+-3.5.1:3
x11-libs/pango
>=dev-libs/dbus-glib-0.51
>=dev-libs/folks-0.7.3:=
dev-libs/libgee:0=
>=app-crypt/libsecret-0.5
>=media-libs/libcanberra-0.25[gtk3]
>=net-libs/gnutls-2.8.5:=
>=net-libs/webkit-gtk-1.3.13:3
>=x11-libs/libnotify-0.7
media-libs/gstreamer:0.10
>=media-libs/clutter-1.10.0:1.0
>=media-libs/clutter-gtk-1.1.2:1.0
>=media-libs/clutter-gst-1.5.2:1.0
media-libs/cogl:1.0=
net-libs/farstream
>=net-libs/telepathy-farstream-0.2.1
>=net-libs/telepathy-glib-0.19.9
>=net-im/telepathy-logger-0.2.13
app-crypt/gcr
dev-libs/libxml2:2
gnome-base/gsettings-desktop-schemas
media-sound/pulseaudio[glib]
net-libs/libsoup:2.4
x11-libs/libX11
geocode? ( sci-geosciences/geocode-glib )
geoloc? ( >=app-misc/geoclue-0.12 )
gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.5.1 )
map? (
>=media-libs/clutter-1.7.14:1.0
>=media-libs/clutter-gtk-0.90.3:1.0
>=media-libs/libchamplain-0.12.1:0.12[gtk] )
sendto? ( >=gnome-extra/nautilus-sendto-2.90.0 )
spell? (
>=app-text/enchant-1.2
>=app-text/iso-codes-0.35 )
v4l? (
media-plugins/gst-plugins-v4l2:0.10
virtual/udev[gudev] )"
# >=media-video/cheese-3.4
# FIXME: gst-plugins-bad is required for the valve plugin. This should move to good
# eventually at which point the dep can be dropped
# empathy-3.4 is incompatible with telepathy-rakia-0.6, bug #403861
RDEPEND="${COMMON_DEPEND}
media-libs/gst-plugins-base:0.10
media-libs/gst-plugins-bad:0.10
net-im/telepathy-connection-managers
!<net-voip/telepathy-rakia-0.7
x11-themes/gnome-icon-theme-symbolic
gnome? ( gnome-extra/gnome-contacts )"
DEPEND="${COMMON_DEPEND}
dev-libs/libxml2:2
>=dev-util/intltool-0.50.0
virtual/pkgconfig
test? (
sys-apps/grep
>=dev-libs/check-0.9.4 )
dev-libs/libxslt"
PDEPEND=">=net-im/telepathy-mission-control-5.12"
pkg_setup() {
# Build time python tools need python2
python_set_active_version 2
python_pkg_setup
}
src_configure() {
DOCS="CONTRIBUTORS AUTHORS ChangeLog NEWS README"
G2CONF="${G2CONF}
--disable-ubuntu-online-accounts
--disable-coding-style-checks
--disable-schemas-compile
--disable-static
--disable-Werror
--disable-gst-1.0
$(use_enable debug)
$(use_enable geocode)
$(use_enable geoloc location)
$(use_enable gnome-online-accounts goa)
$(use_enable map)
$(use_enable sendto nautilus-sendto)
$(use_enable spell)
--without-cheese
$(use_enable v4l gudev)"
# $(use_with v4l cheese)
# cheese-3.6 is gst-1.0-only; readd it when we have "--enable-gst-1.0"
[[ ${PV} = 9999 ]] || G2CONF="${G2CONF} ITSTOOL=$(type -P true)"
gnome2_src_configure
}
src_test() {
Xemake check
}
pkg_postinst() {
gnome2_pkg_postinst
elog "Empathy needs telepathy's connection managers to use any IM protocol."
elog "See the USE flags on net-im/telepathy-connection-managers"
elog "to install them."
}
|