/[gentoo-x86]/dev-libs/folks/folks-0.6.5.ebuild
Gentoo

Contents of /dev-libs/folks/folks-0.6.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Nov 13 09:52:51 2011 UTC (18 months, 1 week ago) by tetromino
Branch: MAIN
Bump. Notable changes: fix for a gnome-shell crash on user status change, other important bugfixes.

(Portage version: 2.2.0_alpha74/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/folks/folks-0.6.4.1.ebuild,v 1.1 2011/11/04 04:07:45 tetromino Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="yes"
7 GNOME2_LA_PUNT="yes"
8
9 inherit gnome2
10
11 DESCRIPTION="libfolks is a library that aggregates people from multiple sources"
12 HOMEPAGE="http://telepathy.freedesktop.org/wiki/Folks"
13
14 LICENSE="LGPL-2"
15 SLOT="0"
16 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-linux"
17 IUSE="eds socialweb test tracker utils vala"
18
19 COMMON_DEPEND=">=dev-libs/glib-2.24:2
20 >=net-libs/telepathy-glib-0.13.1
21 dev-libs/dbus-glib
22 <dev-libs/libgee-0.7:0[introspection]
23 dev-libs/libxml2
24 >=gnome-base/gconf-2.31
25 sys-libs/ncurses
26 sys-libs/readline
27
28 eds? ( >=gnome-extra/evolution-data-server-3.1.5 )
29 socialweb? ( >=net-libs/libsocialweb-0.25.15 )
30 tracker? ( >=app-misc/tracker-0.12 )"
31
32 # telepathy-mission-control needed at runtime; it is used by the telepathy
33 # backend via telepathy-glib's AccountManager binding.
34 RDEPEND="${COMMON_DEPEND}
35 net-im/telepathy-mission-control"
36
37 # folks socialweb backend requires that libsocialweb be built with USE=vala,
38 # even when building folks with --disable-vala.
39 DEPEND="${COMMON_DEPEND}
40 >=dev-libs/gobject-introspection-0.9.12
41 >=dev-util/intltool-0.35.0
42 >=dev-util/pkgconfig-0.21
43 sys-devel/gettext
44
45 socialweb? ( >=net-libs/libsocialweb-0.25.15[vala] )
46 test? ( sys-apps/dbus )
47 vala? (
48 >=dev-lang/vala-0.13.4:0.14[vapigen]
49 >=net-libs/telepathy-glib-0.13.1[vala]
50 eds? ( >=gnome-extra/evolution-data-server-3.0.1[vala] ) )"
51
52 # the inspect tool requires --enable-vala
53 REQUIRED_USE="utils? ( vala )"
54
55 # XXX: tests appear to use installed version of folks
56 RESTRICT="test"
57
58 pkg_setup() {
59 DOCS="AUTHORS ChangeLog NEWS README"
60 # Rebuilding docs needs valadoc, which has no release
61 G2CONF="${G2CONF}
62 $(use_enable eds eds-backend)
63 $(use_enable socialweb libsocialweb-backend)
64 $(use_enable tracker tracker-backend)
65 $(use_enable utils inspect-tool)
66 $(use_enable vala)
67 --enable-import-tool
68 --disable-docs
69 --disable-Werror"
70 if use vala; then
71 G2CONF="${G2CONF}
72 VALAC=$(type -p valac-0.14)
73 VAPIGEN=$(type -p vapigen-0.14)"
74 fi
75 }
76
77 src_test() {
78 # FIXME: several eds backend tests fail
79 sed -e 's/check: .*/check: /' \
80 -i tests/eds/Makefile || die "sed failed"
81 # Don't run make check in po/
82 cd tests
83 dbus-launch emake check
84 }

  ViewVC Help
Powered by ViewVC 1.1.13