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

Contents of /net-libs/libsoup/libsoup-2.46.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (show annotations) (download)
Wed Apr 8 18:04:58 2015 UTC (5 years, 7 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +3 -3 lines
Drop old Python implementations

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/libsoup/libsoup-2.46.0-r1.ebuild,v 1.14 2014/11/04 22:37:28 eva Exp $
4
5 EAPI="5"
6 GCONF_DEBUG="yes"
7 GNOME2_LA_PUNT="yes"
8 PYTHON_COMPAT=( python2_7 )
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 RDEPEND="${RDEPEND}
43 abi_x86_32? (
44 !<=app-emulation/emul-linux-x86-baselibs-20140508-r8
45 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
46 )
47 "
48
49 src_prepare() {
50 if ! use test; then
51 # don't waste time building tests (bug #226271)
52 sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
53 || die "sed failed"
54 fi
55
56 # FIXME: does not behave as expected
57 sed -e 's|\(g_test_add.*\)|/*\1*/|' \
58 -i tests/socket-test.c || die
59
60 gnome2_src_prepare
61 }
62
63 src_configure() {
64 # FIXME: we need addpredict to workaround bug #324779 until
65 # root cause (bug #249496) is solved
66 addpredict /usr/share/snmp/mibs/.index
67
68 multilib-minimal_src_configure
69 }
70
71 multilib_src_configure() {
72 # Disable apache tests until they are usable on Gentoo, bug #326957
73 ECONF_SOURCE=${S} \
74 gnome2_src_configure \
75 --disable-static \
76 --disable-tls-check \
77 --without-gnome \
78 --without-apache-httpd \
79 $(multilib_native_use_enable introspection) \
80 $(use_with samba ntlm-auth '${EPREFIX}'/usr/bin/ntlm_auth)
81
82 if multilib_is_native_abi; then
83 # fix gtk-doc
84 ln -s "${S}"/docs/reference/html docs/reference/html || die
85 fi
86 }
87
88 multilib_src_install() {
89 gnome2_src_install
90 }

  ViewVC Help
Powered by ViewVC 1.1.20