1 |
hwoarang 10/08/21 13:21:44 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: rb_libtorrent-0.14.11.ebuild |
5 |
rb_libtorrent-0.15.2.ebuild |
6 |
Log: |
7 |
Version bump |
8 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.88 net-libs/rb_libtorrent/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.88&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.88&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?r1=1.87&r2=1.88 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v |
20 |
retrieving revision 1.87 |
21 |
retrieving revision 1.88 |
22 |
diff -u -r1.87 -r1.88 |
23 |
--- ChangeLog 1 Jul 2010 08:32:25 -0000 1.87 |
24 |
+++ ChangeLog 21 Aug 2010 13:21:44 -0000 1.88 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for net-libs/rb_libtorrent |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.87 2010/07/01 08:32:25 hwoarang Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.88 2010/08/21 13:21:44 hwoarang Exp $ |
30 |
+ |
31 |
+*rb_libtorrent-0.15.2 (21 Aug 2010) |
32 |
+*rb_libtorrent-0.14.11 (21 Aug 2010) |
33 |
+ |
34 |
+ 21 Aug 2010; Markos Chandras <hwoarang@g.o> |
35 |
+ +rb_libtorrent-0.14.11.ebuild, +rb_libtorrent-0.15.2.ebuild: |
36 |
+ Version bump |
37 |
|
38 |
*rb_libtorrent-0.15.1 (01 Jul 2010) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 net-libs/rb_libtorrent/rb_libtorrent-0.14.11.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.14.11.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.14.11.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: rb_libtorrent-0.14.11.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.14.11.ebuild,v 1.1 2010/08/21 13:21:44 hwoarang Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
inherit autotools eutils flag-o-matic versionator |
56 |
|
57 |
MY_P=${P/rb_/} |
58 |
MY_P=${MY_P/torrent/torrent-rasterbar} |
59 |
S=${WORKDIR}/${MY_P} |
60 |
|
61 |
DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" |
62 |
HOMEPAGE="http://www.rasterbar.com/products/libtorrent/" |
63 |
SRC_URI="http://libtorrent.googlecode.com/files/${MY_P}.tar.gz" |
64 |
|
65 |
LICENSE="BSD" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd" |
68 |
IUSE="debug doc examples python test" |
69 |
RESTRICT="test" |
70 |
|
71 |
DEPEND="|| ( >=dev-libs/boost-1.35 |
72 |
( ~dev-libs/boost-1.34.1 dev-cpp/asio ) ) |
73 |
python? ( >=dev-libs/boost-1.35.0-r5[python] dev-lang/python:2.6[threads] ) |
74 |
=sys-devel/libtool-2.2* |
75 |
sys-libs/zlib |
76 |
examples? ( !net-p2p/mldonkey )" #292998 |
77 |
RDEPEND="${DEPEND}" |
78 |
|
79 |
src_prepare() { |
80 |
epatch "${FILESDIR}"/${PN}-0.14.9-as-needed-fix.patch #276873 |
81 |
epatch "${FILESDIR}"/${PN}-0.14.8-boost-detect.patch #295474 |
82 |
rm ltmain.sh #298069 |
83 |
eautoreconf |
84 |
} |
85 |
|
86 |
src_configure() { |
87 |
append-ldflags -pthread |
88 |
|
89 |
# use multi-threading versions of boost libs |
90 |
local BOOST_LIBS="--with-boost-system=boost_system-mt \ |
91 |
--with-boost-asio=boost_system-mt \ |
92 |
--with-boost-filesystem=boost_filesystem-mt \ |
93 |
--with-boost-thread=boost_thread-mt \ |
94 |
--with-boost-regex=boost_regex-mt \ |
95 |
--with-boost-python=boost_python-mt \ |
96 |
--with-boost-program_options=boost_program_options-mt" |
97 |
|
98 |
# detect boost version and location, bug 295474 |
99 |
BOOST_PKG="$(best_version ">=dev-libs/boost-1.34.1")" |
100 |
BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" |
101 |
BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" |
102 |
BOOST_INC="/usr/include/boost-${BOOST_VER}" |
103 |
BOOST_LIB="/usr/$(get_libdir)/boost-${BOOST_VER}" |
104 |
|
105 |
local LOGGING |
106 |
use debug && LOGGING="--with-logging=verbose" |
107 |
|
108 |
econf $(use_enable debug) \ |
109 |
$(use_enable test tests) \ |
110 |
$(use_enable examples) \ |
111 |
$(use_enable python python-binding) \ |
112 |
--with-zlib=system \ |
113 |
--with-asio=system \ |
114 |
${LOGGING} \ |
115 |
--with-boost=${BOOST_INC} \ |
116 |
--with-boost-libdir=${BOOST_LIB} \ |
117 |
${BOOST_LIBS} |
118 |
} |
119 |
|
120 |
src_install() { |
121 |
emake DESTDIR="${D}" install || die 'emake install failed' |
122 |
dodoc ChangeLog AUTHORS NEWS README || die 'dodoc failed' |
123 |
if use doc ; then |
124 |
dohtml docs/* || die "Could not install HTML documentation" |
125 |
fi |
126 |
} |
127 |
|
128 |
|
129 |
|
130 |
1.1 net-libs/rb_libtorrent/rb_libtorrent-0.15.2.ebuild |
131 |
|
132 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.2.ebuild?rev=1.1&view=markup |
133 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.2.ebuild?rev=1.1&content-type=text/plain |
134 |
|
135 |
Index: rb_libtorrent-0.15.2.ebuild |
136 |
=================================================================== |
137 |
# Copyright 1999-2010 Gentoo Foundation |
138 |
# Distributed under the terms of the GNU General Public License v2 |
139 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.15.2.ebuild,v 1.1 2010/08/21 13:21:44 hwoarang Exp $ |
140 |
|
141 |
EAPI="2" |
142 |
WANT_AUTOMAKE="1.11.1" |
143 |
inherit autotools eutils versionator |
144 |
|
145 |
MY_P=${P/rb_/} |
146 |
MY_P=${MY_P/torrent/torrent-rasterbar} |
147 |
S=${WORKDIR}/${MY_P} |
148 |
|
149 |
DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" |
150 |
HOMEPAGE="http://www.rasterbar.com/products/libtorrent/" |
151 |
SRC_URI="http://libtorrent.googlecode.com/files/${MY_P}.tar.gz" |
152 |
|
153 |
LICENSE="BSD" |
154 |
SLOT="0" |
155 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd" |
156 |
IUSE="debug doc examples python" |
157 |
RESTRICT="test" |
158 |
|
159 |
DEPEND="|| ( >=dev-libs/boost-1.35 |
160 |
( ~dev-libs/boost-1.34.1 dev-cpp/asio ) ) |
161 |
python? ( >=dev-libs/boost-1.35.0-r5[python] dev-lang/python:2.6[threads] ) |
162 |
=sys-devel/libtool-2.2* |
163 |
sys-libs/zlib |
164 |
examples? ( !net-p2p/mldonkey )" #292998 |
165 |
RDEPEND="${DEPEND}" |
166 |
|
167 |
src_prepare() { |
168 |
epatch "${FILESDIR}"/${PN}-0.15.1-ax_pthread_asneeded.patch |
169 |
eautoreconf |
170 |
} |
171 |
|
172 |
src_configure() { |
173 |
# use multi-threading versions of boost libs |
174 |
local BOOST_LIBS="--with-boost-system=boost_system-mt \ |
175 |
--with-boost-filesystem=boost_filesystem-mt \ |
176 |
--with-boost-thread=boost_thread-mt \ |
177 |
--with-boost-python=boost_python-mt" |
178 |
|
179 |
# detect boost version and location, bug 295474 |
180 |
BOOST_PKG="$(best_version ">=dev-libs/boost-1.34.1")" |
181 |
BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" |
182 |
BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" |
183 |
BOOST_INC="/usr/include/boost-${BOOST_VER}" |
184 |
BOOST_LIB="/usr/$(get_libdir)/boost-${BOOST_VER}" |
185 |
|
186 |
local LOGGING |
187 |
use debug && LOGGING="--with-logging=verbose" |
188 |
|
189 |
econf $(use_enable debug) \ |
190 |
$(use_enable test tests) \ |
191 |
$(use_enable examples) \ |
192 |
$(use_enable python python-binding) \ |
193 |
--with-zlib=system \ |
194 |
${LOGGING} \ |
195 |
--with-boost=${BOOST_INC} \ |
196 |
--with-boost-libdir=${BOOST_LIB} \ |
197 |
${BOOST_LIBS} |
198 |
} |
199 |
|
200 |
src_install() { |
201 |
emake DESTDIR="${D}" install || die 'emake install failed' |
202 |
dodoc ChangeLog AUTHORS NEWS README || die 'dodoc failed' |
203 |
if use doc ; then |
204 |
dohtml docs/* || die "Could not install HTML documentation" |
205 |
fi |
206 |
} |