1 |
commit: 8d3b87e999002b7df8dea6eb02c00e29b56aaeee |
2 |
Author: Markos Chandras <hwoarang <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 3 15:53:24 2015 +0000 |
4 |
Commit: Markos Chandras <hwoarang <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 3 16:23:38 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d3b87e9 |
7 |
|
8 |
net-libs/rb_libtorrent: Version bump |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-libs/rb_libtorrent/Manifest | 1 + |
13 |
net-libs/rb_libtorrent/rb_libtorrent-1.0.7.ebuild | 78 +++++++++++++++++++++++ |
14 |
2 files changed, 79 insertions(+) |
15 |
|
16 |
diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest |
17 |
index caca87d..87ef052 100644 |
18 |
--- a/net-libs/rb_libtorrent/Manifest |
19 |
+++ b/net-libs/rb_libtorrent/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST libtorrent-rasterbar-0.16.19.tar.gz 3030253 SHA256 9ebd3fa8accfa27d0c81cdbb |
21 |
DIST libtorrent-rasterbar-1.0.4.tar.gz 3297242 SHA256 1f567823133b1493b9717afc8334eed691bf0ab452d4a2e0f644989f13ce9db0 SHA512 1917d1207171d23dbcbbb17f0c3afdadcec059e8e603e2009bb72a610be598f2ff5a5ebdfc5a1b0e07563a05e774b395e24e04fabb17847b6a757f47f41a2313 WHIRLPOOL acbb9658d80f42bc6fe00cbe491e58bc059b6eeb96c0e34f7c86ad549104dabc4c9e2df5c931fd719f064bff6c4d06376022cf0e221034fc5e88af88d258f8f1 |
22 |
DIST libtorrent-rasterbar-1.0.5.tar.gz 3302804 SHA256 474a43da2147bec7e333c10f70b07221f4732dd67e071d5e90acc7edb8f657b0 SHA512 1ec54dfac1555ac1a843d12e239d781e940ef81ca13a943c58812b0fb62686e89bc5e0135feb94267fb624077cb0ad9971d496d8474b91f3687ef3b90a524df6 WHIRLPOOL a84f7895fdfda2020630c387eedd9b5a82ddc51af6b35fe8a2e7216495baaf9901a58ef2335c254fa3c2e0c713c7e6a1d9f976984fa5998329e47bc95ae22a63 |
23 |
DIST libtorrent-rasterbar-1.0.6.tar.gz 3307491 SHA256 c97de804b77f44591801631aca3869567671df2d3e2afe7f5453d8db2478fd61 SHA512 798529f877dc94aa8eb635677a2fffb6deead3937153e78ac5344fd81422f9fd9594e227db3ec0ae954dfc59e4dd5f3b8f6dbed2e3aa1f9a710c32b0622f54ee WHIRLPOOL 250651925c4d09b6e73c3c3e4b1e1f9131b49dbf3bdbeda3d683f204d4cebbcb865b694aa5e079072a73be922a25a2378094744bf4dd3bc4e220e9b0115342b6 |
24 |
+DIST libtorrent-rasterbar-1.0.7.tar.gz 3298005 SHA256 3e16e024b175fefada17471c659fdbcfab235f9619d4f0913faa13cb02ca8d83 SHA512 d60736af4b7c38317821810995dd9bec21688a9506e9b908394c2a1a87acd2abf23000856dedcad487b9ecc7b5680f83cfc09ff9db79af00fe21e94337daeacf WHIRLPOOL aff289e3ca85eedf688e8a898f0164a4d692e8c813b04dbae6323bc56003f5c3af862167a1d00a8bfe193dfda15d20a18a48bcbeac9313e29d6f2de35d20e621 |
25 |
|
26 |
diff --git a/net-libs/rb_libtorrent/rb_libtorrent-1.0.7.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-1.0.7.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..938d680 |
29 |
--- /dev/null |
30 |
+++ b/net-libs/rb_libtorrent/rb_libtorrent-1.0.7.ebuild |
31 |
@@ -0,0 +1,78 @@ |
32 |
+# Copyright 1999-2015 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python2_7 python3_{3,4} ) |
39 |
+PYTHON_REQ_USE="threads" |
40 |
+DISTUTILS_OPTIONAL=true |
41 |
+AUTOTOOLS_AUTORECONF=true |
42 |
+ |
43 |
+inherit autotools-utils multilib distutils-r1 versionator |
44 |
+ |
45 |
+MY_P=${P/rb_/} |
46 |
+MY_P=${MY_P/torrent/torrent-rasterbar} |
47 |
+MY_PV=$(replace_all_version_separators '_' ) |
48 |
+S=${WORKDIR}/${MY_P} |
49 |
+ |
50 |
+DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" |
51 |
+HOMEPAGE="http://libtorrent.org" |
52 |
+SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_PV}/${MY_P}.tar.gz" |
53 |
+ |
54 |
+LICENSE="BSD" |
55 |
+SLOT="0" |
56 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
57 |
+IUSE="debug doc examples python ssl static-libs test" |
58 |
+ |
59 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
60 |
+ |
61 |
+RDEPEND=" |
62 |
+ >=dev-libs/boost-1.53:=[threads] |
63 |
+ sys-libs/zlib |
64 |
+ examples? ( !net-p2p/mldonkey ) |
65 |
+ ssl? ( dev-libs/openssl:0= ) |
66 |
+ python? ( |
67 |
+ ${PYTHON_DEPS} |
68 |
+ dev-libs/boost:=[python,${PYTHON_USEDEP}] |
69 |
+ )" |
70 |
+DEPEND="${RDEPEND} |
71 |
+ >=sys-devel/libtool-2.2" |
72 |
+ |
73 |
+RESTRICT="test" |
74 |
+ |
75 |
+PATCHES=( |
76 |
+ "${FILESDIR}"/${PN}-1.0.2-python.patch |
77 |
+) |
78 |
+ |
79 |
+AUTOTOOLS_IN_SOURCE_BUILD=1 |
80 |
+ |
81 |
+src_configure() { |
82 |
+ local myeconfargs=( |
83 |
+ --disable-silent-rules # bug 441842 |
84 |
+ --with-boost-libdir=/usr/$(get_libdir) |
85 |
+ $(use_enable debug) |
86 |
+ $(use_enable test tests) |
87 |
+ $(use_enable examples) |
88 |
+ $(use_enable ssl encryption) |
89 |
+ $(use_enable python python-binding) |
90 |
+ $(usex debug "--enable-logging=verbose" "") |
91 |
+ ) |
92 |
+ |
93 |
+ use python && python_setup |
94 |
+ |
95 |
+ autotools-utils_src_configure |
96 |
+ use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_configure |
97 |
+} |
98 |
+ |
99 |
+src_compile() { |
100 |
+ autotools-utils_src_compile |
101 |
+ use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_compile |
102 |
+} |
103 |
+ |
104 |
+src_install() { |
105 |
+ use doc && HTML_DOCS=( "${S}"/docs/. ) |
106 |
+ |
107 |
+ autotools-utils_src_install |
108 |
+ use python && cd "${BUILD_DIR}"/bindings/python && distutils-r1_src_install |
109 |
+} |