1 |
commit: 74ce0ff53fe974ee6b26cdef8ab7ef59be741fed |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 4 21:33:27 2016 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 4 23:19:45 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74ce0ff5 |
7 |
|
8 |
net-libs/libsoup: add missing dependency for USE=gssapi |
9 |
|
10 |
gssapi support requires a kerberos implementation. |
11 |
Also raise gtk-doc dependency per configure. |
12 |
|
13 |
Package-Manager: portage-2.3.0 |
14 |
|
15 |
net-libs/libsoup/libsoup-2.54.1-r1.ebuild | 89 +++++++++++++++++++++++++++++++ |
16 |
1 file changed, 89 insertions(+) |
17 |
|
18 |
diff --git a/net-libs/libsoup/libsoup-2.54.1-r1.ebuild b/net-libs/libsoup/libsoup-2.54.1-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000..79e3782 |
21 |
--- /dev/null |
22 |
+++ b/net-libs/libsoup/libsoup-2.54.1-r1.ebuild |
23 |
@@ -0,0 +1,89 @@ |
24 |
+# Copyright 1999-2016 Gentoo Foundation |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+# $Id$ |
27 |
+ |
28 |
+EAPI=6 |
29 |
+GNOME2_LA_PUNT="yes" |
30 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} ) |
31 |
+VALA_USE_DEPEND="vapigen" |
32 |
+ |
33 |
+inherit gnome2 multilib-minimal python-any-r1 vala |
34 |
+ |
35 |
+DESCRIPTION="An HTTP library implementation in C" |
36 |
+HOMEPAGE="https://wiki.gnome.org/Projects/libsoup" |
37 |
+ |
38 |
+LICENSE="LGPL-2+" |
39 |
+SLOT="2.4" |
40 |
+ |
41 |
+IUSE="debug gssapi +introspection samba ssl test vala" |
42 |
+REQUIRED_IUSE="vala? ( introspection )" |
43 |
+ |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] |
48 |
+ >=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}] |
49 |
+ >=dev-db/sqlite-3.8.2:3[${MULTILIB_USEDEP}] |
50 |
+ >=net-libs/glib-networking-2.38.2[ssl?,${MULTILIB_USEDEP}] |
51 |
+ gssapi? ( virtual/krb5[${MULTILIB_USEDEP}] ) |
52 |
+ introspection? ( >=dev-libs/gobject-introspection-0.9.5:= ) |
53 |
+ samba? ( net-fs/samba ) |
54 |
+" |
55 |
+DEPEND="${RDEPEND} |
56 |
+ ${PYTHON_DEPS} |
57 |
+ >=dev-util/intltool-0.35 |
58 |
+ >=dev-util/gtk-doc-am-1.20 |
59 |
+ sys-devel/gettext |
60 |
+ >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] |
61 |
+ test? ( >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}] ) |
62 |
+ vala? ( $(vala_depend) ) |
63 |
+" |
64 |
+# test? ( www-servers/apache[ssl,apache2_modules_auth_digest,apache2_modules_alias,apache2_modules_auth_basic, |
65 |
+# apache2_modules_authn_file,apache2_modules_authz_host,apache2_modules_authz_user,apache2_modules_dir, |
66 |
+# apache2_modules_mime,apache2_modules_proxy,apache2_modules_proxy_http,apache2_modules_proxy_connect] |
67 |
+# dev-lang/php[apache2,xmlrpc] |
68 |
+# net-misc/curl |
69 |
+# net-libs/glib-networking[ssl])" |
70 |
+ |
71 |
+src_prepare() { |
72 |
+ if ! use test; then |
73 |
+ # don't waste time building tests (bug #226271) |
74 |
+ sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \ |
75 |
+ || die "sed failed" |
76 |
+ fi |
77 |
+ |
78 |
+ use vala && vala_src_prepare |
79 |
+ gnome2_src_prepare |
80 |
+} |
81 |
+ |
82 |
+src_configure() { |
83 |
+ # FIXME: we need addpredict to workaround bug #324779 until |
84 |
+ # root cause (bug #249496) is solved |
85 |
+ addpredict /usr/share/snmp/mibs/.index |
86 |
+ |
87 |
+ multilib-minimal_src_configure |
88 |
+} |
89 |
+ |
90 |
+multilib_src_configure() { |
91 |
+ # Disable apache tests until they are usable on Gentoo, bug #326957 |
92 |
+ ECONF_SOURCE=${S} \ |
93 |
+ gnome2_src_configure \ |
94 |
+ --disable-static \ |
95 |
+ --disable-tls-check \ |
96 |
+ --without-gnome \ |
97 |
+ --without-apache-httpd \ |
98 |
+ $(usex debug --enable-debug=yes ' ') \ |
99 |
+ $(multilib_native_use_with gssapi) \ |
100 |
+ $(multilib_native_use_enable introspection) \ |
101 |
+ $(multilib_native_use_enable vala) \ |
102 |
+ $(use_with samba ntlm-auth '${EPREFIX}'/usr/bin/ntlm_auth) |
103 |
+ |
104 |
+ if multilib_is_native_abi; then |
105 |
+ # fix gtk-doc |
106 |
+ ln -s "${S}"/docs/reference/html docs/reference/html || die |
107 |
+ fi |
108 |
+} |
109 |
+ |
110 |
+multilib_src_install() { |
111 |
+ gnome2_src_install |
112 |
+} |