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