/[gentoo-x86]/net-libs/rest/rest-0.7.92-r2.ebuild
Gentoo

Contents of /net-libs/rest/rest-0.7.92-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Mar 29 11:18:14 2015 UTC (5 years, 8 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Stable for HPPA (bug #534012).

(Portage version: 2.2.18/cvs/Linux x86_64, RepoMan options: --ignore-arches, signed Manifest commit with key A792A613)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/rest/rest-0.7.92-r2.ebuild,v 1.4 2015/03/15 13:31:07 pacho Exp $
4
5 EAPI="5"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8
9 inherit eutils gnome2 multilib-minimal virtualx
10
11 DESCRIPTION="Helper library for RESTful services"
12 HOMEPAGE="https://wiki.gnome.org/Projects/Librest"
13
14 LICENSE="LGPL-2.1"
15 SLOT="0.7"
16 IUSE="+gnome +introspection test"
17 KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
18
19 # Coverage testing should not be enabled
20 RDEPEND="
21 app-misc/ca-certificates
22 >=dev-libs/glib-2.24:2[${MULTILIB_USEDEP}]
23 dev-libs/libxml2:2[${MULTILIB_USEDEP}]
24 net-libs/libsoup:2.4[${MULTILIB_USEDEP}]
25 gnome? ( >=net-libs/libsoup-gnome-2.25.1:2.4[${MULTILIB_USEDEP}] )
26 introspection? ( >=dev-libs/gobject-introspection-0.6.7 )
27 "
28 DEPEND="${RDEPEND}
29 >=dev-util/gtk-doc-am-1.13
30 >=dev-util/intltool-0.40
31 virtual/pkgconfig[${MULTILIB_USEDEP}]
32 test? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
33 "
34
35 src_prepare() {
36 # fixed in 0.7.93
37 epatch "${FILESDIR}/${P}-oauth-missing-include.patch" #542264
38 epatch "${FILESDIR}/${P}-xml-parser-missing-break.patch"
39 # https://bugzilla.gnome.org/show_bug.cgi?id=745694
40 epatch "${FILESDIR}/${P}-tests-GError-pointers.patch"
41
42 gnome2_src_prepare
43 }
44
45 multilib_src_configure() {
46 ECONF_SOURCE=${S} \
47 gnome2_src_configure \
48 --disable-static \
49 --disable-gcov \
50 --with-ca-certificates="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt \
51 $(use_with gnome) \
52 $(multilib_native_use_enable introspection)
53
54 if multilib_is_native_abi; then
55 ln -s "${S}"/docs/reference/rest/html docs/reference/rest/html || die
56 fi
57 }
58
59 multilib_src_test() {
60 # Tests need dbus
61 Xemake check
62 }
63
64 multilib_src_compile() { gnome2_src_compile; }
65 multilib_src_install() { gnome2_src_install; }

  ViewVC Help
Powered by ViewVC 1.1.20