/[gentoo-x86]/net-libs/libsocialweb/libsocialweb-0.25.20.ebuild
Gentoo

Contents of /net-libs/libsocialweb/libsocialweb-0.25.20.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sat Oct 20 03:01:33 2012 UTC (2 years, 6 months ago) by tetromino
Branch: MAIN
Changes since 1.8: +2 -5 lines
Version bump, no longer connects to Flickr without permission (bug #438722, CVE-2012-4511, thanks to Agostino Sarubbo). Drop useless USE=doc, it only regenerated documentation. Use vala.eclass.

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

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/libsocialweb/libsocialweb-0.25.20.ebuild,v 1.8 2012/09/23 06:14:45 blueness Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8 PYTHON_DEPEND="2"
9
10 inherit eutils gnome2 python
11
12 DESCRIPTION="Social web services integration framework"
13 HOMEPAGE="http://git.gnome.org/browse/libsocialweb"
14
15 LICENSE="LGPL-2.1"
16 SLOT="0"
17 KEYWORDS="amd64 ~ppc ~ppc64 x86"
18 IUSE="connman +gnome +introspection +networkmanager vala"
19
20 # NOTE: coverage testing should not be enabled
21 RDEPEND=">=dev-libs/glib-2.14:2
22 >=net-libs/rest-0.7.10
23
24 gnome-base/gconf:2
25 gnome-base/libgnome-keyring
26 dev-libs/dbus-glib
27 dev-libs/json-glib
28 net-libs/libsoup:2.4
29
30 gnome? ( >=net-libs/libsoup-gnome-2.25.1:2.4 )
31 introspection? ( >=dev-libs/gobject-introspection-0.9.6 )
32 networkmanager? ( net-misc/networkmanager )
33 !networkmanager? ( connman? ( net-misc/connman ) )"
34 DEPEND="${RDEPEND}
35 >=dev-util/gtk-doc-am-1.15
36 >=dev-util/intltool-0.40
37 virtual/pkgconfig
38 sys-devel/gettext
39 vala? (
40 >=dev-lang/vala-0.10.0:0.12[vapigen]
41 >=dev-libs/gobject-introspection-0.9.6 )"
42
43 # Introspection is needed for vala bindings
44 REQUIRED_USE="vala? ( introspection )"
45
46 pkg_setup() {
47 # TODO: enable sys-apps/keyutils support (--without-kernel-keyring)
48 G2CONF="${G2CONF}
49 --disable-static
50 --disable-gcov
51 --without-kernel-keyring
52 --enable-all-services
53 $(use_enable introspection)
54 $(use_enable vala vala-bindings)
55 $(use_with gnome)
56 VALAC=$(type -P valac-0.12)
57 VAPIGEN=$(type -P vapigen-0.12)
58 --with-online=always"
59
60 # NetworkManager always overrides connman support
61 use connman && G2CONF="${G2CONF} --with-online=connman"
62 use networkmanager && G2CONF="${G2CONF} --with-online=networkmanager"
63
64 DOCS="AUTHORS README TODO"
65
66 python_set_active_version 2
67 python_pkg_setup
68 }
69
70 src_prepare() {
71 # Sent upstream, gnome bug 677445
72 epatch "${FILESDIR}"/${P}-gold.patch
73
74 # Fix namespacing of introspection annotations, bug #426984
75 epatch "${FILESDIR}"/${PN}-0.25.20-introspection-annotations.patch
76
77 gnome2_src_prepare
78
79 python_convert_shebangs 2 "${S}/tools/glib-ginterface-gen.py"
80 }

  ViewVC Help
Powered by ViewVC 1.1.20