blob: b6b9f86f100fa4e853c444837ced767b1208f365 (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/empathy/empathy-3.0.2.ebuild,v 1.1 2011/08/18 06:22:13 nirbheek Exp $
EAPI="3"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
PYTHON_DEPEND="2:2.4"
inherit eutils gnome2 multilib python
DESCRIPTION="Telepathy client and library using GTK+"
HOMEPAGE="http://live.gnome.org/Empathy"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-linux"
# FIXME: Add location support once geoclue stops being idiotic with automagic deps
IUSE="debug eds +gnome +map +geoloc +networkmanager sendto spell test webkit"
# FIXME: gst-plugins-bad is required for the valve plugin. This should move to good
# eventually at which point the dep can be dropped
RDEPEND=">=dev-libs/glib-2.27.2:2
>=x11-libs/gtk+-3.0.2:3
>=dev-libs/dbus-glib-0.51
>=net-libs/telepathy-glib-0.14.1
>=media-libs/libcanberra-0.25[gtk3]
>=x11-libs/libnotify-0.7
>=gnome-base/gnome-keyring-2.91.4-r300
>=net-libs/gnutls-2.8.5
>=dev-libs/folks-0.4
gnome-base/gsettings-desktop-schemas
net-libs/farsight2
media-libs/gstreamer:0.10
media-libs/gst-plugins-base:0.10
media-libs/gst-plugins-bad
>=net-libs/telepathy-farsight-0.0.14
dev-libs/libxml2:2
x11-libs/libX11
net-voip/telepathy-connection-managers
>=net-im/telepathy-logger-0.2.8
eds? ( >=gnome-extra/evolution-data-server-1.2 )
geoloc? ( >=app-misc/geoclue-0.11 )
gnome? ( >=gnome-base/gnome-control-center-3.0.0 )
map? (
media-libs/libchamplain:0.10[gtk]
media-libs/clutter-gtk:1.0 )
networkmanager? ( >=net-misc/networkmanager-0.7 )
sendto? ( >=gnome-extra/nautilus-sendto-2.90.0 )
spell? (
>=app-text/enchant-1.2
>=app-text/iso-codes-0.35 )
webkit? ( >=net-libs/webkit-gtk-1.3.2:3 )
"
# Will not build with gnome-control-center-3.1.4 due to removed headers,
# but should (probably) continue to run
DEPEND="${RDEPEND}
app-text/scrollkeeper
>=app-text/gnome-doc-utils-0.17.3
>=dev-util/intltool-0.35.0
>=dev-util/pkgconfig-0.16
gnome? ( <gnome-base/gnome-control-center-3.1.4 )
test? (
sys-apps/grep
>=dev-libs/check-0.9.4 )
dev-libs/libxslt
"
PDEPEND=">=net-im/telepathy-mission-control-5.7.6"
pkg_setup() {
DOCS="CONTRIBUTORS AUTHORS ChangeLog NEWS README"
# TODO: Re-add location support
G2CONF="${G2CONF}
--disable-coding-style-checks
--disable-schemas-compile
--disable-static
--disable-meego
--disable-Werror
$(use_enable debug)
$(use_with eds)
$(use_enable geoloc location)
$(use_enable gnome control-center-embedding)
$(use_enable map)
$(use_with networkmanager connectivity nm)
$(use_enable sendto nautilus-sendto)
$(use_enable spell)
$(use_enable webkit)"
# Build time python tools needs python2
python_set_active_version 2
}
src_prepare() {
gnome2_src_prepare
python_convert_shebangs -r 2 tools
}
src_test() {
unset DBUS_SESSION_BUS_ADDRESS
emake check || die "emake check failed."
}
pkg_postinst() {
gnome2_pkg_postinst
elog "Empathy needs telepathy's connection managers to use any IM protocol."
elog "See the USE flags on net-voip/telepathy-connection-managers"
elog "to install them."
}
|