Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/rest/
Date: Sat, 02 Apr 2016 12:28:16
Message-Id: 1459600082.50b612131a7ff349a7b0487ddd44189d8918a5c2.pacho@gentoo
1 commit: 50b612131a7ff349a7b0487ddd44189d8918a5c2
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 2 12:24:48 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 2 12:28:02 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50b61213
7
8 net-libs/rest: Stop relying on libsoup-gnome
9
10 Package-Manager: portage-2.2.28
11
12 net-libs/rest/rest-0.7.93-r1.ebuild | 61 +++++++++++++++++++++++++++++++++++++
13 1 file changed, 61 insertions(+)
14
15 diff --git a/net-libs/rest/rest-0.7.93-r1.ebuild b/net-libs/rest/rest-0.7.93-r1.ebuild
16 new file mode 100644
17 index 0000000..ad507b8
18 --- /dev/null
19 +++ b/net-libs/rest/rest-0.7.93-r1.ebuild
20 @@ -0,0 +1,61 @@
21 +# Copyright 1999-2015 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI="5"
26 +GCONF_DEBUG="no"
27 +GNOME2_LA_PUNT="yes"
28 +
29 +inherit eutils gnome2 multilib-minimal virtualx
30 +
31 +DESCRIPTION="Helper library for RESTful services"
32 +HOMEPAGE="https://wiki.gnome.org/Projects/Librest"
33 +
34 +LICENSE="LGPL-2.1"
35 +SLOT="0.7"
36 +IUSE="+introspection test"
37 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
38 +
39 +# Coverage testing should not be enabled
40 +RDEPEND="
41 + app-misc/ca-certificates
42 + >=dev-libs/glib-2.24:2[${MULTILIB_USEDEP}]
43 + dev-libs/libxml2:2[${MULTILIB_USEDEP}]
44 + net-libs/libsoup:2.4[${MULTILIB_USEDEP}]
45 + introspection? ( >=dev-libs/gobject-introspection-0.6.7:= )
46 +"
47 +DEPEND="${RDEPEND}
48 + >=dev-util/gtk-doc-am-1.13
49 + >=dev-util/intltool-0.40
50 + virtual/pkgconfig[${MULTILIB_USEDEP}]
51 + test? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
52 +"
53 +
54 +multilib_src_configure() {
55 + # gnome support only adds dependency on obsolete libsoup-gnome
56 + # https://bugzilla.gnome.org/show_bug.cgi?id=758166
57 + ECONF_SOURCE=${S} \
58 + gnome2_src_configure \
59 + --disable-static \
60 + --disable-gcov \
61 + --without-gnome \
62 + --with-ca-certificates="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt \
63 + $(multilib_native_use_enable introspection)
64 +
65 + if multilib_is_native_abi; then
66 + ln -s "${S}"/docs/reference/rest/html docs/reference/rest/html || die
67 + fi
68 +}
69 +
70 +multilib_src_test() {
71 + # Tests need dbus
72 + Xemake check
73 +}
74 +
75 +multilib_src_compile() {
76 + gnome2_src_compile
77 +}
78 +
79 +multilib_src_install() {
80 + gnome2_src_install
81 +}