Gentoo Archives: gentoo-commits

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.14.ebuild ChangeLog
Date: Tue, 04 Feb 2014 17:14:34
Message-Id: 20140204171426.9673D2004C@flycatcher.gentoo.org
1 hwoarang 14/02/04 17:14:26
2
3 Modified: ChangeLog
4 Added: rb_libtorrent-0.16.14.ebuild
5 Log:
6 Version bump thanks to Holger Hoffstätte. Bug #499780
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)
9
10 Revision Changes Path
11 1.170 net-libs/rb_libtorrent/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.170&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?rev=1.170&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/ChangeLog?r1=1.169&r2=1.170
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v
20 retrieving revision 1.169
21 retrieving revision 1.170
22 diff -u -r1.169 -r1.170
23 --- ChangeLog 22 Dec 2013 10:59:12 -0000 1.169
24 +++ ChangeLog 4 Feb 2014 17:14:26 -0000 1.170
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-libs/rb_libtorrent
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.169 2013/12/22 10:59:12 hwoarang Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.170 2014/02/04 17:14:26 hwoarang Exp $
31 +
32 +*rb_libtorrent-0.16.14 (04 Feb 2014)
33 +
34 + 04 Feb 2014; Markos Chandras <hwoarang@g.o>
35 + +rb_libtorrent-0.16.14.ebuild:
36 + Version bump thanks to Holger Hoffstätte. Bug #499780
37
38 *rb_libtorrent-0.16.13 (22 Dec 2013)
39
40
41
42
43 1.1 net-libs/rb_libtorrent/rb_libtorrent-0.16.14.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.16.14.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.16.14.ebuild?rev=1.1&content-type=text/plain
47
48 Index: rb_libtorrent-0.16.14.ebuild
49 ===================================================================
50 # Copyright 1999-2014 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.16.14.ebuild,v 1.1 2014/02/04 17:14:26 hwoarang Exp $
53
54 EAPI="4"
55 PYTHON_DEPEND="python? 2:2.6"
56 PYTHON_USE_WITH="threads"
57 PYTHON_USE_WITH_OPT="python"
58
59 inherit multilib python versionator
60
61 MY_P=${P/rb_/}
62 MY_P=${MY_P/torrent/torrent-rasterbar}
63 S=${WORKDIR}/${MY_P}
64
65 DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability"
66 HOMEPAGE="http://www.rasterbar.com/products/libtorrent/"
67 SRC_URI="mirror://sourceforge/libtorrent/${MY_P}.tar.gz"
68
69 LICENSE="BSD"
70 SLOT="0"
71 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
72 IUSE="debug doc examples python ssl static-libs"
73 RESTRICT="test"
74
75 DEPEND=">=dev-libs/boost-1.48[python?,threads(+)]
76 >=sys-devel/libtool-2.2
77 sys-libs/zlib
78 examples? ( !net-p2p/mldonkey )
79 ssl? ( dev-libs/openssl )"
80 RDEPEND="${DEPEND}"
81
82 pkg_setup() {
83 if use python; then
84 python_set_active_version 2
85 python_pkg_setup
86 fi
87 }
88
89 src_prepare() {
90 use python && python_convert_shebangs -r 2 .
91 }
92
93 src_configure() {
94 local myconf
95
96 # bug 441842
97 myconf="--disable-silent-rules"
98
99 # use multi-threading versions of boost libs
100 if has_version '>=dev-libs/boost-1.52.0-r1'; then
101 myconf+=" --with-boost-python=boost_python-${PYTHON_ABI}"
102 else
103 myconf+=" --with-boost-system=boost_system-mt \
104 --with-boost-python=boost_python-${PYTHON_ABI}-mt"
105 fi
106
107 local LOGGING
108 use debug && myconf+=" --enable-logging=verbose"
109
110 econf $(use_enable debug) \
111 $(use_enable test tests) \
112 $(use_enable examples) \
113 $(use_enable python python-binding) \
114 $(use_enable ssl encryption) \
115 $(use_enable static-libs static) \
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 }