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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sat Feb 2 23:04:58 2013 UTC (17 months, 2 weeks ago) by ago
Branch: MAIN
Changes since 1.7: +2 -2 lines
Add ~arm, wrt bug #449220

(Portage version: 2.1.11.31/cvs/Linux ppc64, unsigned Manifest commit)

1 # Copyright 1999-2013 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.21.ebuild,v 1.7 2013/01/06 10:00:42 ago Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8 PYTHON_DEPEND="2"
9 VALA_MIN_API_VERSION="0.12"
10 VALA_USE_DEPEND="vapigen"
11
12 inherit autotools eutils gnome2 python vala
13
14 DESCRIPTION="Social web services integration framework"
15 HOMEPAGE="http://git.gnome.org/browse/libsocialweb"
16
17 LICENSE="LGPL-2.1"
18 SLOT="0"
19 KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
20 IUSE="connman +gnome +introspection +networkmanager vala"
21
22 # NOTE: coverage testing should not be enabled
23 RDEPEND=">=dev-libs/glib-2.14:2
24 >=net-libs/rest-0.7.10
25
26 gnome-base/gconf:2
27 gnome-base/libgnome-keyring
28 dev-libs/dbus-glib
29 dev-libs/json-glib
30 net-libs/libsoup:2.4
31
32 gnome? ( >=net-libs/libsoup-gnome-2.25.1:2.4 )
33 introspection? ( >=dev-libs/gobject-introspection-0.9.6 )
34 networkmanager? ( net-misc/networkmanager )
35 !networkmanager? ( connman? ( net-misc/connman ) )"
36 DEPEND="${RDEPEND}
37 >=dev-util/gtk-doc-am-1.15
38 >=dev-util/intltool-0.40
39 sys-devel/gettext
40 virtual/pkgconfig
41 vala? ( $(vala_depend) )"
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 --with-online=always"
57
58 # NetworkManager always overrides connman support
59 use connman && G2CONF="${G2CONF} --with-online=connman"
60 use networkmanager && G2CONF="${G2CONF} --with-online=networkmanager"
61
62 DOCS="AUTHORS README TODO"
63
64 python_set_active_version 2
65 python_pkg_setup
66 }
67
68 src_prepare() {
69 # Sent upstream, gnome bug 677445
70 epatch "${FILESDIR}"/${PN}-0.25.20-gold.patch
71 # https://bugzilla.gnome.org/show_bug.cgi?id=686503
72 epatch "${FILESDIR}"/${PN}-0.25.21-gmodule.patch
73
74 # Fix namespacing of introspection annotations, bug #426984
75 epatch "${FILESDIR}"/${PN}-0.25.20-introspection-annotations.patch
76
77 eautoreconf
78
79 gnome2_src_prepare
80 use vala && vala_src_prepare
81
82 python_convert_shebangs 2 "${S}/tools/glib-ginterface-gen.py"
83 }

  ViewVC Help
Powered by ViewVC 1.1.20