Gentoo Archives: gentoo-commits

From: "Victor Ostorga (vostorga)" <vostorga@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/libtorrent: libtorrent-0.13.4.ebuild ChangeLog
Date: Tue, 10 Jun 2014 12:24:57
Message-Id: 20140610122453.65EB02004E@flycatcher.gentoo.org
1 vostorga 14/06/10 12:24:53
2
3 Modified: ChangeLog
4 Added: libtorrent-0.13.4.ebuild
5 Log:
6 Version bump, bug #509932
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.174 net-libs/libtorrent/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libtorrent/ChangeLog?rev=1.174&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libtorrent/ChangeLog?rev=1.174&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libtorrent/ChangeLog?r1=1.173&r2=1.174
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v
20 retrieving revision 1.173
21 retrieving revision 1.174
22 diff -u -r1.173 -r1.174
23 --- ChangeLog 22 Mar 2013 08:28:17 -0000 1.173
24 +++ ChangeLog 10 Jun 2014 12:24:53 -0000 1.174
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-libs/libtorrent
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v 1.173 2013/03/22 08:28:17 patrick Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v 1.174 2014/06/10 12:24:53 vostorga Exp $
31 +
32 +*libtorrent-0.13.4 (10 Jun 2014)
33 +
34 + 10 Jun 2014; Victor Ostorga <vostorga@g.o> +libtorrent-0.13.4.ebuild:
35 + Version bump, bug #509932
36
37 *libtorrent-0.13.3 (22 Mar 2013)
38
39
40
41
42 1.1 net-libs/libtorrent/libtorrent-0.13.4.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libtorrent/libtorrent-0.13.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libtorrent/libtorrent-0.13.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libtorrent-0.13.4.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/libtorrent-0.13.4.ebuild,v 1.1 2014/06/10 12:24:53 vostorga Exp $
52
53 EAPI=4
54
55 inherit eutils libtool toolchain-funcs
56
57 DESCRIPTION="BitTorrent library written in C++ for *nix"
58 HOMEPAGE="http://libtorrent.rakshasa.no/"
59 SRC_URI="http://libtorrent.rakshasa.no/downloads/${P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
64 IUSE="debug ipv6 ssl"
65
66 RDEPEND="
67 >=dev-libs/libsigc++-2.2.2:2
68 ssl? ( dev-libs/openssl )"
69 DEPEND="${RDEPEND}
70 virtual/pkgconfig"
71
72 src_prepare() {
73 # epatch "${FILESDIR}"/download_constructor.diff
74 elibtoolize
75 }
76
77 src_configure() {
78 # the configure check for posix_fallocate is wrong.
79 # reported upstream as Ticket 2416.
80 local myconf
81 echo "int main(){return posix_fallocate();}" > "${T}"/posix_fallocate.c
82 if $(tc-getCC) ${CFLAGS} ${LDFLAGS} "${T}"/posix_fallocate.c -o /dev/null 2>/dev/null ; then
83 myconf="--with-posix-fallocate"
84 else
85 myconf="--without-posix-fallocate"
86 fi
87
88 # configure needs bash or script bombs out on some null shift, bug #291229
89 CONFIG_SHELL=${BASH} econf \
90 --disable-dependency-tracking \
91 --enable-aligned \
92 $(use_enable debug) \
93 $(use_enable ipv6) \
94 $(use_enable ssl openssl) \
95 ${myconf}
96 }