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/neon: neon-0.30.0-r1.ebuild ChangeLog
Date: Sun, 08 Jun 2014 12:55:22
Message-Id: 20140608125519.7AA3C2004E@flycatcher.gentoo.org
1 mgorny 14/06/08 12:55:19
2
3 Modified: ChangeLog
4 Added: neon-0.30.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.73 net-libs/neon/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/neon/ChangeLog?rev=1.73&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/neon/ChangeLog?rev=1.73&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/neon/ChangeLog?r1=1.72&r2=1.73
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/neon/ChangeLog,v
20 retrieving revision 1.72
21 retrieving revision 1.73
22 diff -u -r1.72 -r1.73
23 --- ChangeLog 16 Mar 2014 02:51:12 -0000 1.72
24 +++ ChangeLog 8 Jun 2014 12:55:19 -0000 1.73
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-libs/neon
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/neon/ChangeLog,v 1.72 2014/03/16 02:51:12 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-libs/neon/ChangeLog,v 1.73 2014/06/08 12:55:19 mgorny Exp $
30 +
31 +*neon-0.30.0-r1 (08 Jun 2014)
32 +
33 + 08 Jun 2014; Michał Górny <mgorny@g.o> +neon-0.30.0-r1.ebuild:
34 + Enable multilib support.
35
36 16 Mar 2014; Mike Frysinger <vapier@g.o> neon-0.30.0.ebuild:
37 Add arm64 love.
38
39
40
41 1.1 net-libs/neon/neon-0.30.0-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/neon/neon-0.30.0-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/neon/neon-0.30.0-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: neon-0.30.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/neon/neon-0.30.0-r1.ebuild,v 1.1 2014/06/08 12:55:19 mgorny Exp $
51
52 EAPI="5"
53
54 inherit autotools eutils libtool multilib-minimal
55
56 DESCRIPTION="HTTP and WebDAV client library"
57 HOMEPAGE="http://www.webdav.org/neon/"
58 SRC_URI="http://www.webdav.org/neon/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0/27"
62 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
63 IUSE="doc expat gnutls kerberos libproxy nls pkcs11 ssl static-libs zlib"
64 IUSE_LINGUAS="cs de fr ja nn pl ru tr zh_CN"
65 for lingua in ${IUSE_LINGUAS}; do
66 IUSE+=" linguas_${lingua}"
67 done
68 unset lingua
69 RESTRICT="test"
70
71 RDEPEND="expat? ( dev-libs/expat:0=[${MULTILIB_USEDEP}] )
72 !expat? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )
73 gnutls? (
74 app-misc/ca-certificates
75 net-libs/gnutls:0=[${MULTILIB_USEDEP}]
76 pkcs11? ( dev-libs/pakchois:0=[${MULTILIB_USEDEP}] )
77 )
78 !gnutls? ( ssl? (
79 dev-libs/openssl:0=[${MULTILIB_USEDEP}]
80 pkcs11? ( dev-libs/pakchois:0=[${MULTILIB_USEDEP}] )
81 ) )
82 kerberos? ( virtual/krb5:0=[${MULTILIB_USEDEP}] )
83 libproxy? ( net-libs/libproxy:0=[${MULTILIB_USEDEP}] )
84 nls? ( virtual/libintl:0=[${MULTILIB_USEDEP}] )
85 zlib? ( sys-libs/zlib:0=[${MULTILIB_USEDEP}] )"
86 DEPEND="${RDEPEND}
87 virtual/pkgconfig[${MULTILIB_USEDEP}]"
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 MULTILIB_CHOST_TOOLS=(
95 /usr/bin/neon-config
96 )
97
98 src_prepare() {
99 local lingua linguas
100 for lingua in ${IUSE_LINGUAS}; do
101 use linguas_${lingua} && linguas+=" ${lingua}"
102 done
103 sed -e "s/ALL_LINGUAS=.*/ALL_LINGUAS=\"${linguas}\"/" -i configure.in
104
105 AT_M4DIR="macros" eautoreconf
106
107 elibtoolize
108 }
109
110 multilib_src_configure() {
111 local myconf=()
112
113 if has_version sys-libs/glibc; then
114 einfo "Enabling SSL library thread-safety using POSIX threads..."
115 myconf+=(--enable-threadsafe-ssl=posix)
116 fi
117
118 if use expat; then
119 myconf+=(--with-expat)
120 else
121 myconf+=(--with-libxml2)
122 fi
123
124 if use gnutls; then
125 myconf+=(--with-ssl=gnutls --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt")
126 elif use ssl; then
127 myconf+=(--with-ssl=openssl)
128 fi
129
130 ECONF_SOURCE=${S} \
131 econf \
132 --docdir="${EPREFIX}/usr/share/doc/${PF}" \
133 --enable-shared \
134 $(use_with kerberos gssapi) \
135 $(use_with libproxy) \
136 $(use_enable nls) \
137 $(use_with pkcs11 pakchois) \
138 $(use_enable static-libs static) \
139 $(use_with zlib) \
140 "${myconf[@]}"
141 }
142
143 multilib_src_install() {
144 emake DESTDIR="${D}" install-{config,headers,lib,man,nls}
145
146 if use doc; then
147 emake DESTDIR="${D}" install-html
148 fi
149 }
150
151 multilib_src_install_all() {
152 prune_libtool_files --all
153
154 dodoc AUTHORS BUGS NEWS README THANKS TODO
155 }