1 |
yngwin 10/04/10 15:29:18 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: rb_libtorrent-0.14.10.ebuild |
5 |
Log: |
6 |
Version bump. Fixes bug #313457. |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.83 net-libs/rb_libtorrent/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.83&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.83&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?r1=1.82&r2=1.83 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v |
19 |
retrieving revision 1.82 |
20 |
retrieving revision 1.83 |
21 |
diff -u -r1.82 -r1.83 |
22 |
--- ChangeLog 8 Apr 2010 12:35:08 -0000 1.82 |
23 |
+++ ChangeLog 10 Apr 2010 15:29:18 -0000 1.83 |
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.82 2010/04/08 12:35:08 fauli Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.83 2010/04/10 15:29:18 yngwin Exp $ |
29 |
+ |
30 |
+*rb_libtorrent-0.14.10 (10 Apr 2010) |
31 |
+ |
32 |
+ 10 Apr 2010; Ben de Groot <yngwin@g.o> |
33 |
+ +rb_libtorrent-0.14.10.ebuild: |
34 |
+ Version bump. Fixes bug #313457. |
35 |
|
36 |
08 Apr 2010; Christian Faulhammer <fauli@g.o> |
37 |
rb_libtorrent-0.14.9-r1.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-libs/rb_libtorrent/rb_libtorrent-0.14.10.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.14.10.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.14.10.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: rb_libtorrent-0.14.10.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.10.ebuild,v 1.1 2010/04/10 15:29:18 yngwin 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-devel/libtool-2.2* |
73 |
sys-libs/zlib |
74 |
examples? ( !net-p2p/mldonkey )" #292998 |
75 |
RDEPEND="${DEPEND}" |
76 |
|
77 |
src_prepare() { |
78 |
epatch "${FILESDIR}"/${PN}-0.14.9-as-needed-fix.patch #276873 |
79 |
epatch "${FILESDIR}"/${PN}-0.14.8-boost-detect.patch #295474 |
80 |
rm ltmain.sh #298069 |
81 |
eautoreconf |
82 |
} |
83 |
|
84 |
src_configure() { |
85 |
append-ldflags -pthread |
86 |
|
87 |
# use multi-threading versions of boost libs |
88 |
local BOOST_LIBS="--with-boost-system=boost_system-mt \ |
89 |
--with-boost-asio=boost_system-mt \ |
90 |
--with-boost-filesystem=boost_filesystem-mt \ |
91 |
--with-boost-thread=boost_thread-mt \ |
92 |
--with-boost-regex=boost_regex-mt \ |
93 |
--with-boost-python=boost_python-mt \ |
94 |
--with-boost-program_options=boost_program_options-mt" |
95 |
|
96 |
# detect boost version and location, bug 295474 |
97 |
BOOST_PKG="$(best_version ">=dev-libs/boost-1.34.1")" |
98 |
BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" |
99 |
BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" |
100 |
BOOST_INC="/usr/include/boost-${BOOST_VER}" |
101 |
BOOST_LIB="/usr/$(get_libdir)/boost-${BOOST_VER}" |
102 |
|
103 |
local LOGGING |
104 |
use debug && LOGGING="--with-logging=verbose" |
105 |
|
106 |
econf $(use_enable debug) \ |
107 |
$(use_enable test tests) \ |
108 |
$(use_enable examples) \ |
109 |
$(use_enable python python-binding) \ |
110 |
--with-zlib=system \ |
111 |
--with-asio=system \ |
112 |
${LOGGING} \ |
113 |
--with-boost=${BOOST_INC} \ |
114 |
--with-boost-libdir=${BOOST_LIB} \ |
115 |
${BOOST_LIBS} |
116 |
} |
117 |
|
118 |
src_install() { |
119 |
emake DESTDIR="${D}" install || die 'emake install failed' |
120 |
dodoc ChangeLog AUTHORS NEWS README || die 'dodoc failed' |
121 |
if use doc ; then |
122 |
dohtml docs/* || die "Could not install HTML documentation" |
123 |
fi |
124 |
} |