Gentoo Archives: gentoo-commits

From: "Stanislav Ochotnicky (sochotnicky)" <sochotnicky@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/libtorrent: ChangeLog libtorrent-0.13.1.ebuild libtorrent-0.13.0.ebuild
Date: Sun, 08 Apr 2012 18:18:00
Message-Id: 20120408181744.78BE52004B@flycatcher.gentoo.org
1 sochotnicky 12/04/08 18:17:44
2
3 Modified: ChangeLog
4 Added: libtorrent-0.13.1.ebuild
5 Removed: libtorrent-0.13.0.ebuild
6 Log:
7 Version bump (#411041)
8
9 (Portage version: 2.1.10.49/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.168 net-libs/libtorrent/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libtorrent/ChangeLog?rev=1.168&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libtorrent/ChangeLog?rev=1.168&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libtorrent/ChangeLog?r1=1.167&r2=1.168
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v
21 retrieving revision 1.167
22 retrieving revision 1.168
23 diff -u -r1.167 -r1.168
24 --- ChangeLog 10 Mar 2012 16:30:50 -0000 1.167
25 +++ ChangeLog 8 Apr 2012 18:17:44 -0000 1.168
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-libs/libtorrent
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v 1.167 2012/03/10 16:30:50 ranger Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v 1.168 2012/04/08 18:17:44 sochotnicky Exp $
31 +
32 +*libtorrent-0.13.1 (08 Apr 2012)
33 +
34 + 08 Apr 2012; Stanislav Ochotnicky <sochotnicky@g.o>
35 + -libtorrent-0.13.0.ebuild, +libtorrent-0.13.1.ebuild:
36 + Version bump (#411041)
37
38 10 Mar 2012; Brent Baude <ranger@g.o> libtorrent-0.12.9.ebuild:
39 Marking libtorrent-0.12.9 ppc for bug 389817
40
41
42
43 1.1 net-libs/libtorrent/libtorrent-0.13.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libtorrent/libtorrent-0.13.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libtorrent/libtorrent-0.13.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libtorrent-0.13.1.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/libtorrent-0.13.1.ebuild,v 1.1 2012/04/08 18:17:44 sochotnicky Exp $
53
54 EAPI=4
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"
64 IUSE="debug ipv6 ssl"
65
66 RDEPEND=">=dev-libs/libsigc++-2.2.2:2
67 ssl? ( dev-libs/openssl )"
68 DEPEND="${RDEPEND}
69 dev-util/pkgconfig"
70
71 src_prepare() {
72 # epatch "${FILESDIR}"/download_constructor.diff
73 elibtoolize
74 }
75
76 src_configure() {
77 # the configure check for posix_fallocate is wrong.
78 # reported upstream as Ticket 2416.
79 local myconf
80 echo "int main(){return posix_fallocate();}" > "${T}"/posix_fallocate.c
81 if $(tc-getCC) ${CFLAGS} ${LDFLAGS} "${T}"/posix_fallocate.c -o /dev/null 2>/dev/null ; then
82 myconf="--with-posix-fallocate"
83 else
84 myconf="--without-posix-fallocate"
85 fi
86
87 econf \
88 --disable-dependency-tracking \
89 --enable-aligned \
90 $(use_enable debug) \
91 $(use_enable ipv6) \
92 $(use_enable ssl openssl) \
93 ${myconf}
94 }
95
96 src_install() {
97 emake DESTDIR="${D}" install || die
98 dodoc AUTHORS NEWS README
99 }