1 |
commit: cd33631fa1b416f46f4e15435999fb64165adf3d |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 2 19:09:44 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 2 19:10:15 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd33631f |
7 |
|
8 |
net-libs/libtorrent-rasterbar: Version bump (v1.1.13) |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
12 |
|
13 |
net-libs/libtorrent-rasterbar/Manifest | 1 + |
14 |
.../libtorrent-rasterbar-1.1.13.ebuild | 104 +++++++++++++++++++++ |
15 |
2 files changed, 105 insertions(+) |
16 |
|
17 |
diff --git a/net-libs/libtorrent-rasterbar/Manifest b/net-libs/libtorrent-rasterbar/Manifest |
18 |
index 33ae424bc58..82dd33dca1d 100644 |
19 |
--- a/net-libs/libtorrent-rasterbar/Manifest |
20 |
+++ b/net-libs/libtorrent-rasterbar/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST libtorrent-rasterbar-1.1.10.tar.gz 3902542 BLAKE2B 3a78862ce2825c9da32ab38122db05c2816daa237559446a60702f562e971c5597210dfc2612235294cec3f60fa3de8cab3a0246887ac4779b01171a460f70f0 SHA512 414deeb9765bfb6072af5fa00ad836bfe3751622a80783ea84389e31355b342a4371f0dc195b2d27b154826e515b2e6063c8786f792afa347abba9caadaa5b2a |
23 |
DIST libtorrent-rasterbar-1.1.12.tar.gz 3897237 BLAKE2B 0988b16d79df9499e2f7ab9d568ec560fa701e78fa0c6cc0158629d219259a73f3b2aa8b79d6f9c3a757f97559bc6b354148d5885b29f089a41893df65c92b11 SHA512 6f264ca9fcdcb93c4e16ced4b2657ccb19d47cbd483c3ad9f14909ee7de280b50c15d180c05ebd454236871fceca48cd79647bf89f8cbebf234b8f0f351aa699 |
24 |
+DIST libtorrent-rasterbar-1.1.13.tar.gz 3896007 BLAKE2B b94f843437be348b10082f19d0b416f909daf15078b1461ab6724ee086d3194f6c378c305174676a3399fc3e6cb23133faaa334ac5dfc9457fb597c65dad7d36 SHA512 021fc54353fdf5063d55ccdc2057dada292bb0008fb92e93e8d94dd89f529630f290fcdc4f4d095e3192522c57fe0f0da260b5ef8e8e15a8c6ac05728f5f7160 |
25 |
DIST libtorrent-rasterbar-1.2.0.tar.gz 3546062 BLAKE2B a02ef8f273d8e6ec3b6f6a42d518f7cbba669f109f907e243bb90cd674009894b9edce2f355b52d77275f3fcd9537e9c26280f7b78dfbb1792f52d6c7f50f7da SHA512 2dae77f32cf3da388edece7e64b8d9cf359cca735a101d96bb18fb06573fd1d84c303e5bebd370f637d7c73010ea2d99e38748b2259ce02ae8f0dbc0c4f01518 |
26 |
|
27 |
diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.13.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.13.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..68db15e431c |
30 |
--- /dev/null |
31 |
+++ b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.13.ebuild |
32 |
@@ -0,0 +1,104 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python2_7 python3_{5,6} ) |
39 |
+PYTHON_REQ_USE="threads" |
40 |
+DISTUTILS_OPTIONAL=true |
41 |
+DISTUTILS_IN_SOURCE_BUILD=true |
42 |
+ |
43 |
+inherit distutils-r1 flag-o-matic |
44 |
+ |
45 |
+MY_PV=$(ver_rs 1-2 '_') |
46 |
+ |
47 |
+DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" |
48 |
+HOMEPAGE="https://libtorrent.org" |
49 |
+SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_PV}/${P}.tar.gz" |
50 |
+ |
51 |
+LICENSE="BSD" |
52 |
+SLOT="0/9" |
53 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
54 |
+IUSE="debug +dht doc examples libressl python +ssl static-libs test" |
55 |
+ |
56 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
57 |
+ |
58 |
+RDEPEND=" |
59 |
+ dev-libs/boost:=[threads] |
60 |
+ virtual/libiconv |
61 |
+ examples? ( !net-p2p/mldonkey ) |
62 |
+ python? ( |
63 |
+ ${PYTHON_DEPS} |
64 |
+ dev-libs/boost:=[python,${PYTHON_USEDEP}] |
65 |
+ ) |
66 |
+ ssl? ( |
67 |
+ !libressl? ( dev-libs/openssl:0= ) |
68 |
+ libressl? ( dev-libs/libressl:= ) |
69 |
+ ) |
70 |
+" |
71 |
+DEPEND="${RDEPEND} |
72 |
+ sys-devel/libtool |
73 |
+" |
74 |
+ |
75 |
+src_prepare() { |
76 |
+ default |
77 |
+ |
78 |
+ # bug 578026 |
79 |
+ # prepend -L${S}/... to ensure bindings link against the lib we just built |
80 |
+ sed -i -e "s|^|-L${S}/src/.libs |" bindings/python/link_flags.in || die |
81 |
+ |
82 |
+ # prepend -I${S}/... to ensure bindings use the right headers |
83 |
+ sed -i -e "s|^|-I${S}/src/include |" bindings/python/compile_flags.in || die |
84 |
+ |
85 |
+ use python && distutils-r1_src_prepare |
86 |
+} |
87 |
+ |
88 |
+src_configure() { |
89 |
+ append-cxxflags -std=c++11 # bug 634506 |
90 |
+ |
91 |
+ local myeconfargs=( |
92 |
+ $(use_enable debug) |
93 |
+ $(use_enable debug logging) |
94 |
+ $(use_enable debug disk-stats) |
95 |
+ $(use_enable dht dht $(usex debug logging $(usex ('yes' 'no')))) |
96 |
+ $(use_enable examples) |
97 |
+ $(use_enable ssl encryption) |
98 |
+ $(use_enable static-libs static) |
99 |
+ $(use_enable test tests) |
100 |
+ --with-libiconv |
101 |
+ ) |
102 |
+ econf "${myeconfargs[@]}" |
103 |
+ |
104 |
+ if use python; then |
105 |
+ python_configure() { |
106 |
+ econf "${myeconfargs[@]}" \ |
107 |
+ --enable-python-binding \ |
108 |
+ --with-boost-python="${EPYTHON#python}" |
109 |
+ } |
110 |
+ distutils-r1_src_configure |
111 |
+ fi |
112 |
+} |
113 |
+ |
114 |
+src_compile() { |
115 |
+ default |
116 |
+ |
117 |
+ python_compile() { |
118 |
+ cd "${BUILD_DIR}/../bindings/python" || die |
119 |
+ distutils-r1_python_compile |
120 |
+ } |
121 |
+ use python && distutils-r1_src_compile |
122 |
+} |
123 |
+ |
124 |
+src_install() { |
125 |
+ use doc && HTML_DOCS+=( "${S}"/docs ) |
126 |
+ |
127 |
+ default |
128 |
+ |
129 |
+ python_install() { |
130 |
+ cd "${BUILD_DIR}/../bindings/python" || die |
131 |
+ distutils-r1_python_install |
132 |
+ } |
133 |
+ use python && distutils-r1_src_install |
134 |
+ |
135 |
+ find "${D}" -name '*.la' -delete || die |
136 |
+} |