From: | "Raul Porcel (armin76)" <armin76@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-libs/rb_libtorrent: ChangeLog rb_libtorrent-0.14.9.ebuild |
Date: | Sat, 27 Feb 2010 14:20:50 |
Message-Id: | E1NlNX8-0005rn-7u@stork.gentoo.org |
1 | armin76 10/02/27 14:20:42 |
2 | |
3 | Modified: ChangeLog |
4 | Added: rb_libtorrent-0.14.9.ebuild |
5 | Log: |
6 | Version bump |
7 | (Portage version: 2.1.7.16/cvs/Linux ia64) |
8 | |
9 | Revision Changes Path |
10 | 1.79 net-libs/rb_libtorrent/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.79&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.79&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?r1=1.78&r2=1.79 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v |
19 | retrieving revision 1.78 |
20 | retrieving revision 1.79 |
21 | diff -u -r1.78 -r1.79 |
22 | --- ChangeLog 15 Jan 2010 23:33:53 -0000 1.78 |
23 | +++ ChangeLog 27 Feb 2010 14:20:41 -0000 1.79 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for net-libs/rb_libtorrent |
26 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.78 2010/01/15 23:33:53 yngwin Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.79 2010/02/27 14:20:41 armin76 Exp $ |
29 | + |
30 | +*rb_libtorrent-0.14.9 (27 Feb 2010) |
31 | + |
32 | + 27 Feb 2010; Raúl Porcel <armin76@g.o> |
33 | + +rb_libtorrent-0.14.9.ebuild: |
34 | + Version bump |
35 | |
36 | *rb_libtorrent-0.14.8-r2 (15 Jan 2010) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 net-libs/rb_libtorrent/rb_libtorrent-0.14.9.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.14.9.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.14.9.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: rb_libtorrent-0.14.9.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.14.9.ebuild,v 1.1 2010/02/27 14:20:41 armin76 Exp $ |
51 | |
52 | EAPI="2" |
53 | inherit autotools eutils flag-o-matic versionator |
54 | |
55 | MY_P=${P/rb_/} |
56 | MY_P=${MY_P/torrent/torrent-rasterbar} |
57 | S=${WORKDIR}/${MY_P} |
58 | |
59 | DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" |
60 | HOMEPAGE="http://www.rasterbar.com/products/libtorrent/" |
61 | SRC_URI="http://libtorrent.googlecode.com/files/${MY_P}.tar.gz" |
62 | |
63 | LICENSE="BSD" |
64 | SLOT="0" |
65 | KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd" |
66 | IUSE="debug doc examples python test" |
67 | RESTRICT="test" |
68 | |
69 | DEPEND="|| ( >=dev-libs/boost-1.35 |
70 | ( ~dev-libs/boost-1.34.1 dev-cpp/asio ) ) |
71 | python? ( >=dev-libs/boost-1.35.0-r5[python] dev-lang/python:2.6[threads] ) |
72 | sys-libs/zlib" |
73 | RDEPEND="${DEPEND}" |
74 | |
75 | src_prepare() { |
76 | epatch "${FILESDIR}"/0.14.6-configure-ldflags-fix.patch #290756 |
77 | epatch "${FILESDIR}"/${PN}-0.14.8-as-needed-fix.patch #276873 |
78 | epatch "${FILESDIR}"/${PN}-0.14.8-boost-detect.patch #295474 |
79 | eautoreconf |
80 | } |
81 | |
82 | src_configure() { |
83 | append-ldflags -pthread |
84 | |
85 | # use multi-threading versions of boost libs |
86 | local BOOST_LIBS="--with-boost-system=boost_system-mt \ |
87 | --with-boost-asio=boost_system-mt \ |
88 | --with-boost-filesystem=boost_filesystem-mt \ |
89 | --with-boost-thread=boost_thread-mt \ |
90 | --with-boost-regex=boost_regex-mt \ |
91 | --with-boost-python=boost_python-mt \ |
92 | --with-boost-program_options=boost_program_options-mt" |
93 | |
94 | # detect boost version and location, bug 295474 |
95 | BOOST_PKG="$(best_version ">=dev-libs/boost-1.34.1")" |
96 | BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" |
97 | BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" |
98 | BOOST_INC="/usr/include/boost-${BOOST_VER}" |
99 | BOOST_LIB="/usr/$(get_libdir)/boost-${BOOST_VER}" |
100 | |
101 | local LOGGING |
102 | use debug && LOGGING="--with-logging=verbose" |
103 | |
104 | econf $(use_enable debug) \ |
105 | $(use_enable test tests) \ |
106 | $(use_enable examples) \ |
107 | $(use_enable python python-binding) \ |
108 | --with-zlib=system \ |
109 | --with-asio=system \ |
110 | ${LOGGING} \ |
111 | --with-boost=${BOOST_INC} \ |
112 | --with-boost-libdir=${BOOST_LIB} \ |
113 | ${BOOST_LIBS} |
114 | } |
115 | |
116 | src_install() { |
117 | emake DESTDIR="${D}" install || die 'emake install failed' |
118 | dodoc ChangeLog AUTHORS NEWS README || die 'dodoc failed' |
119 | if use doc ; then |
120 | dohtml docs/* || die "Could not install HTML documentation" |
121 | fi |
122 | } |