From: | "Markos Chandras (hwoarang)" <hwoarang@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-libs/rb_libtorrent: rb_libtorrent-0.16.17.ebuild ChangeLog |
Date: | Wed, 27 Aug 2014 17:43:01 |
Message-Id: | 20140827174257.7CEE03FFB@oystercatcher.gentoo.org |
1 | hwoarang 14/08/27 17:42:57 |
2 | |
3 | Modified: ChangeLog |
4 | Added: rb_libtorrent-0.16.17.ebuild |
5 | Log: |
6 | Version bump. Bug #519782 |
7 | |
8 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 09BF4F54C2BA7F3C!) |
9 | |
10 | Revision Changes Path |
11 | 1.174 net-libs/rb_libtorrent/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.174&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.174&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?r1=1.173&r2=1.174 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v |
20 | retrieving revision 1.173 |
21 | retrieving revision 1.174 |
22 | diff -u -r1.173 -r1.174 |
23 | --- ChangeLog 10 May 2014 10:16:46 -0000 1.173 |
24 | +++ ChangeLog 27 Aug 2014 17:42:57 -0000 1.174 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for net-libs/rb_libtorrent |
27 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.173 2014/05/10 10:16:46 hwoarang Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.174 2014/08/27 17:42:57 hwoarang Exp $ |
30 | + |
31 | +*rb_libtorrent-0.16.17 (27 Aug 2014) |
32 | + |
33 | + 27 Aug 2014; Markos Chandras <hwoarang@g.o> |
34 | + +rb_libtorrent-0.16.17.ebuild: |
35 | + Version bump. Bug #519782 |
36 | |
37 | *rb_libtorrent-0.16.16 (10 May 2014) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 net-libs/rb_libtorrent/rb_libtorrent-0.16.17.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.16.17.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.16.17.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: rb_libtorrent-0.16.17.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2014 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.16.17.ebuild,v 1.1 2014/08/27 17:42:57 hwoarang Exp $ |
52 | |
53 | EAPI="4" |
54 | PYTHON_DEPEND="python? 2:2.6" |
55 | PYTHON_USE_WITH="threads" |
56 | PYTHON_USE_WITH_OPT="python" |
57 | |
58 | inherit multilib python versionator |
59 | |
60 | MY_P=${P/rb_/} |
61 | MY_P=${MY_P/torrent/torrent-rasterbar} |
62 | S=${WORKDIR}/${MY_P} |
63 | |
64 | DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" |
65 | HOMEPAGE="http://www.rasterbar.com/products/libtorrent/" |
66 | SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz" |
67 | |
68 | LICENSE="BSD" |
69 | SLOT="0" |
70 | KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
71 | IUSE="debug doc examples python ssl static-libs" |
72 | RESTRICT="test" |
73 | |
74 | DEPEND=">=dev-libs/boost-1.48[python?,threads(+)] |
75 | >=sys-devel/libtool-2.2 |
76 | sys-libs/zlib |
77 | examples? ( !net-p2p/mldonkey ) |
78 | ssl? ( dev-libs/openssl )" |
79 | RDEPEND="${DEPEND}" |
80 | |
81 | pkg_setup() { |
82 | if use python; then |
83 | python_set_active_version 2 |
84 | python_pkg_setup |
85 | fi |
86 | } |
87 | |
88 | src_prepare() { |
89 | use python && python_convert_shebangs -r 2 . |
90 | } |
91 | |
92 | src_configure() { |
93 | local myconf |
94 | |
95 | # bug 441842 |
96 | myconf="--disable-silent-rules" |
97 | |
98 | # use multi-threading versions of boost libs |
99 | if has_version '>=dev-libs/boost-1.52.0-r1'; then |
100 | myconf+=" --with-boost-python=boost_python-${PYTHON_ABI}" |
101 | else |
102 | myconf+=" --with-boost-system=boost_system-mt \ |
103 | --with-boost-python=boost_python-${PYTHON_ABI}-mt" |
104 | fi |
105 | |
106 | local LOGGING |
107 | use debug && myconf+=" --enable-logging=verbose" |
108 | |
109 | econf $(use_enable debug) \ |
110 | $(use_enable test tests) \ |
111 | $(use_enable examples) \ |
112 | $(use_enable python python-binding) \ |
113 | $(use_enable ssl encryption) \ |
114 | $(use_enable static-libs static) \ |
115 | --with-boost-libdir=/usr/$(get_libdir) \ |
116 | ${myconf} |
117 | } |
118 | |
119 | src_install() { |
120 | emake DESTDIR="${D}" install |
121 | use static-libs || find "${D}" -name '*.la' -exec rm -f {} + |
122 | dodoc ChangeLog AUTHORS NEWS README |
123 | if use doc; then |
124 | dohtml docs/* |
125 | fi |
126 | } |