Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/libtorrent: ChangeLog libtorrent-0.12.5.ebuild
Date: Thu, 10 Sep 2009 17:54:30
Message-Id: E1Mlnqm-0002ja-6i@stork.gentoo.org
1 patrick 09/09/10 17:54:28
2
3 Modified: ChangeLog
4 Added: libtorrent-0.12.5.ebuild
5 Log:
6 Bump to 0.12.5, fixes half of #278660. Thanks to Shark for testing.
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.140 net-libs/libtorrent/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libtorrent/ChangeLog?rev=1.140&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libtorrent/ChangeLog?rev=1.140&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libtorrent/ChangeLog?r1=1.139&r2=1.140
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v
19 retrieving revision 1.139
20 retrieving revision 1.140
21 diff -u -r1.139 -r1.140
22 --- ChangeLog 5 Jun 2009 15:52:09 -0000 1.139
23 +++ ChangeLog 10 Sep 2009 17:54:27 -0000 1.140
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-libs/libtorrent
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v 1.139 2009/06/05 15:52:09 loki_val Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/ChangeLog,v 1.140 2009/09/10 17:54:27 patrick Exp $
29 +
30 +*libtorrent-0.12.5 (10 Sep 2009)
31 +
32 + 10 Sep 2009; Patrick Lauer <patrick@g.o> +libtorrent-0.12.5.ebuild:
33 + Bump to 0.12.5, fixes half of #278660. Thanks to Shark for testing.
34
35 05 Jun 2009; Peter Alfredsen <loki_val@g.o> metadata.xml:
36 Retiring, bug 220219.
37
38
39
40 1.1 net-libs/libtorrent/libtorrent-0.12.5.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libtorrent/libtorrent-0.12.5.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libtorrent/libtorrent-0.12.5.ebuild?rev=1.1&content-type=text/plain
44
45 Index: libtorrent-0.12.5.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-libs/libtorrent/libtorrent-0.12.5.ebuild,v 1.1 2009/09/10 17:54:27 patrick Exp $
50
51 inherit base eutils toolchain-funcs flag-o-matic libtool
52
53 DESCRIPTION="LibTorrent is a BitTorrent library written in C++ for *nix."
54 HOMEPAGE="http://libtorrent.rakshasa.no/"
55 SRC_URI="http://libtorrent.rakshasa.no/downloads/${P}.tar.gz"
56 SLOT="0"
57 LICENSE="GPL-2"
58 KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
59
60 IUSE="debug ipv6"
61
62 RDEPEND=">=dev-libs/libsigc++-2.2.2"
63 DEPEND="${RDEPEND}
64 dev-util/pkgconfig"
65
66 src_unpack() {
67 base_src_unpack
68 cd "${S}"
69 elibtoolize #Don't remove. Needed for *bsd.
70 }
71
72 src_compile() {
73 replace-flags -Os -O2
74
75 if [[ $(tc-arch) = "x86" ]]; then
76 filter-flags -fomit-frame-pointer -fforce-addr
77 fi
78
79 econf \
80 $(use_enable debug) \
81 $(use_enable ipv6) \
82 --enable-aligned \
83 --enable-static \
84 --enable-shared \
85 --with-posix-fallocate \
86 --disable-dependency-tracking \
87 || die "econf failed"
88
89 emake || die "emake failed"
90 }
91
92 src_install() {
93 emake DESTDIR="${D}" install || die "make install failed"
94 dodoc AUTHORS NEWS README
95 }