Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/libsoup: libsoup-2.46.0-r1.ebuild ChangeLog
Date: Sun, 08 Jun 2014 12:55:23
Message-Id: 20140608125520.2050B2004F@flycatcher.gentoo.org
1 mgorny 14/06/08 12:55:20
2
3 Modified: ChangeLog
4 Added: libsoup-2.46.0-r1.ebuild
5 Log:
6 Enable multilib support.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
9
10 Revision Changes Path
11 1.332 net-libs/libsoup/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libsoup/ChangeLog?rev=1.332&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libsoup/ChangeLog?rev=1.332&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libsoup/ChangeLog?r1=1.331&r2=1.332
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/libsoup/ChangeLog,v
20 retrieving revision 1.331
21 retrieving revision 1.332
22 diff -u -r1.331 -r1.332
23 --- ChangeLog 27 Apr 2014 17:45:03 -0000 1.331
24 +++ ChangeLog 8 Jun 2014 12:55:19 -0000 1.332
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-libs/libsoup
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libsoup/ChangeLog,v 1.331 2014/04/27 17:45:03 eva Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libsoup/ChangeLog,v 1.332 2014/06/08 12:55:19 mgorny Exp $
30 +
31 +*libsoup-2.46.0-r1 (08 Jun 2014)
32 +
33 + 08 Jun 2014; Michał Górny <mgorny@g.o> +libsoup-2.46.0-r1.ebuild:
34 + Enable multilib support.
35
36 *libsoup-2.46.0 (27 Apr 2014)
37
38
39
40
41 1.1 net-libs/libsoup/libsoup-2.46.0-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libsoup/libsoup-2.46.0-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libsoup/libsoup-2.46.0-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libsoup-2.46.0-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-libs/libsoup/libsoup-2.46.0-r1.ebuild,v 1.1 2014/06/08 12:55:19 mgorny Exp $
51
52 EAPI="5"
53 GCONF_DEBUG="yes"
54 GNOME2_LA_PUNT="yes"
55 PYTHON_COMPAT=( python{2_6,2_7} )
56
57 inherit gnome2 multilib-minimal python-any-r1
58
59 DESCRIPTION="An HTTP library implementation in C"
60 HOMEPAGE="https://wiki.gnome.org/LibSoup"
61
62 LICENSE="LGPL-2+"
63 SLOT="2.4"
64 IUSE="debug +introspection samba ssl test"
65 KEYWORDS="~alpha ~amd64 ~arm ~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"
66
67 RDEPEND="
68 >=dev-libs/glib-2.38:2[${MULTILIB_USEDEP}]
69 >=dev-libs/libxml2-2:2[${MULTILIB_USEDEP}]
70 dev-db/sqlite:3[${MULTILIB_USEDEP}]
71 >=net-libs/glib-networking-2.30.0[ssl?,${MULTILIB_USEDEP}]
72 introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
73 samba? ( net-fs/samba )
74 "
75 DEPEND="${RDEPEND}
76 ${PYTHON_DEPS}
77 >=dev-util/intltool-0.35
78 >=dev-util/gtk-doc-am-1.10
79 sys-devel/gettext
80 virtual/pkgconfig[${MULTILIB_USEDEP}]
81 "
82 # test? ( www-servers/apache[ssl,apache2_modules_auth_digest,apache2_modules_alias,apache2_modules_auth_basic,
83 # apache2_modules_authn_file,apache2_modules_authz_host,apache2_modules_authz_user,apache2_modules_dir,
84 # apache2_modules_mime,apache2_modules_proxy,apache2_modules_proxy_http,apache2_modules_proxy_connect]
85 # dev-lang/php[apache2,xmlrpc]
86 # net-misc/curl
87 # net-libs/glib-networking[ssl])"
88 RDEPEND="${RDEPEND}
89 abi_x86_32? (
90 !<=app-emulation/emul-linux-x86-baselibs-20140508-r8
91 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
92 )
93 "
94
95 src_prepare() {
96 if ! use test; then
97 # don't waste time building tests (bug #226271)
98 sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
99 || die "sed failed"
100 fi
101
102 # FIXME: does not behave as expected
103 sed -e 's|\(g_test_add.*\)|/*\1*/|' \
104 -i tests/socket-test.c || die
105
106 gnome2_src_prepare
107 }
108
109 src_configure() {
110 # FIXME: we need addpredict to workaround bug #324779 until
111 # root cause (bug #249496) is solved
112 addpredict /usr/share/snmp/mibs/.index
113
114 multilib-minimal_src_configure
115 }
116
117 multilib_src_configure() {
118 # Disable apache tests until they are usable on Gentoo, bug #326957
119 ECONF_SOURCE=${S} \
120 gnome2_src_configure \
121 --disable-static \
122 --disable-tls-check \
123 --without-gnome \
124 --without-apache-httpd \
125 $(multilib_native_use_enable introspection) \
126 $(use_with samba ntlm-auth '${EPREFIX}'/usr/bin/ntlm_auth)
127
128 if multilib_is_native_abi; then
129 # fix gtk-doc
130 ln -s "${S}"/docs/reference/html docs/reference/html || die
131 fi
132 }
133
134 multilib_src_install() {
135 gnome2_src_install
136 }