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