/[gentoo-x86]/net-libs/libsoup/libsoup-2.50.0.ebuild
Gentoo

Contents of /net-libs/libsoup/libsoup-2.50.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Jun 9 09:48:41 2015 UTC (5 years, 5 months ago) by eva
Branch: MAIN
CVS Tags: HEAD
Version bump for Gnome 3.16.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key C6085806)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI="5"
6 GCONF_DEBUG="yes"
7 GNOME2_LA_PUNT="yes"
8 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
9
10 inherit gnome2 multilib-minimal python-any-r1
11
12 DESCRIPTION="An HTTP library implementation in C"
13 HOMEPAGE="https://wiki.gnome.org/LibSoup"
14
15 LICENSE="LGPL-2+"
16 SLOT="2.4"
17 IUSE="debug +introspection samba ssl test"
18 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"
19
20 RDEPEND="
21 >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
22 >=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}]
23 >=dev-db/sqlite-3.8.2:3[${MULTILIB_USEDEP}]
24 >=net-libs/glib-networking-2.38.2[ssl?,${MULTILIB_USEDEP}]
25 introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
26 samba? ( net-fs/samba )
27 "
28 DEPEND="${RDEPEND}
29 ${PYTHON_DEPS}
30 >=dev-util/intltool-0.35
31 >=dev-util/gtk-doc-am-1.10
32 sys-devel/gettext
33 >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
34 test? ( >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}] )
35 "
36 # test? ( www-servers/apache[ssl,apache2_modules_auth_digest,apache2_modules_alias,apache2_modules_auth_basic,
37 # apache2_modules_authn_file,apache2_modules_authz_host,apache2_modules_authz_user,apache2_modules_dir,
38 # apache2_modules_mime,apache2_modules_proxy,apache2_modules_proxy_http,apache2_modules_proxy_connect]
39 # dev-lang/php[apache2,xmlrpc]
40 # net-misc/curl
41 # net-libs/glib-networking[ssl])"
42
43 RDEPEND="${RDEPEND}
44 abi_x86_32? (
45 !<=app-emulation/emul-linux-x86-baselibs-20140508-r8
46 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
47 )
48 "
49
50 src_prepare() {
51 if ! use test; then
52 # don't waste time building tests (bug #226271)
53 sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
54 || die "sed failed"
55 fi
56
57 gnome2_src_prepare
58 }
59
60 src_configure() {
61 # FIXME: we need addpredict to workaround bug #324779 until
62 # root cause (bug #249496) is solved
63 addpredict /usr/share/snmp/mibs/.index
64
65 multilib-minimal_src_configure
66 }
67
68 multilib_src_configure() {
69 # Disable apache tests until they are usable on Gentoo, bug #326957
70 ECONF_SOURCE=${S} \
71 gnome2_src_configure \
72 --disable-static \
73 --disable-tls-check \
74 --without-gnome \
75 --without-apache-httpd \
76 $(multilib_native_use_enable introspection) \
77 $(use_with samba ntlm-auth '${EPREFIX}'/usr/bin/ntlm_auth)
78
79 if multilib_is_native_abi; then
80 # fix gtk-doc
81 ln -s "${S}"/docs/reference/html docs/reference/html || die
82 fi
83 }
84
85 multilib_src_install() {
86 gnome2_src_install
87 }

  ViewVC Help
Powered by ViewVC 1.1.20