1 |
commit: 1bf041c55e79f75d3497ed10f321c494ec9f9847 |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 7 21:14:53 2017 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 7 21:17:00 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bf041c5 |
7 |
|
8 |
net-libs/libtorrent-rasterbar: Version bump to 1.1.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
net-libs/libtorrent-rasterbar/Manifest | 1 + |
13 |
.../libtorrent-rasterbar-1.1.4.ebuild | 102 +++++++++++++++++++++ |
14 |
2 files changed, 103 insertions(+) |
15 |
|
16 |
diff --git a/net-libs/libtorrent-rasterbar/Manifest b/net-libs/libtorrent-rasterbar/Manifest |
17 |
index b0db994303f..067d483624a 100644 |
18 |
--- a/net-libs/libtorrent-rasterbar/Manifest |
19 |
+++ b/net-libs/libtorrent-rasterbar/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST libtorrent-rasterbar-1.0.11.tar.gz 3325786 SHA256 828d686770346f6da2c143c5a |
21 |
DIST libtorrent-rasterbar-1.1.1.tar.gz 3641815 SHA256 f70c82367b0980460ef95aff3e117fd4a174477892d529beec434f74d615b31f SHA512 9d2409ee733f7579df61a63e37092d3c59a386b94031bae6a7ea64ffff617131d2c347ba0825b3d337ce2fedad3b527c8f697e3b49cea643d6543c972a1ebc12 WHIRLPOOL 36c4a007e0bf684e9603cd88b594a8ff91193b7d73447375e5651f945dba713c91daf0c625f90af6bb35c2ab017ca69da50d856ac6ce6be2e13f6d04ee7b2e35 |
22 |
DIST libtorrent-rasterbar-1.1.2.tar.gz 3909420 SHA256 45e55f2374507bb67a9b9125f6b8d1c45e6cd33849c62b1d9cb56657354e359a SHA512 8cbf6b08bb21c6cbc3b5215a74ecdcce81e312484c688f2b20f95b7288d7f154e7f1337dd0c7d213687159d731bd4518166a964d6a1bda47dc2bd46115a55600 WHIRLPOOL ffd8f1afaece5762298fc8d3380ffe23ed79b5eb019e923d92fd408594054c2caf25e01b237b4cdc2c11181d93df6978301eecb44661378dc944dc89b3e6838a |
23 |
DIST libtorrent-rasterbar-1.1.3.tar.gz 3912760 SHA256 44196a89932c26528f5db19289d0f0f4130730a61dccc61c9f1eac9ad3e881d8 SHA512 c9d45ceed5cb56b0d7eb7961c3e641158738c5587ef921d98c73b4918b6f1ae0b40e50792b5289062267cc023e36aaa1f64f0f58d363f59875864791434229a5 WHIRLPOOL 4feb345444583317541639f8b42a53026b8ee87d7060254c3e32ef50f697f1f37ee678b3529dae7614938b336a6e937bba4c37cd1a62255594ec4b2f97cf5192 |
24 |
+DIST libtorrent-rasterbar-1.1.4.tar.gz 3917557 SHA256 ccf42367803a6df7edcf4756d1f7d0a9ce6158ec33b851b3b58fd470ac4eeba6 SHA512 50f5dfffbd9e6ba21dbe328be17962f29088a326c2c2bf177e1137ed2900323b9a5bae75ee63635404928452f206c72dd4f9100438a6b802bd36b11430e51bc3 WHIRLPOOL f1231e97cdaf820910dafbaf83f9edadf3b70a8fadc71b370e9813d9b9893e6ee893fccfc71a20438ca0b138ac9035c220b656843e7af2755451bf6587f07fc5 |
25 |
|
26 |
diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.4.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.4.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..86fa8d7e920 |
29 |
--- /dev/null |
30 |
+++ b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.4.ebuild |
31 |
@@ -0,0 +1,102 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
38 |
+PYTHON_REQ_USE="threads" |
39 |
+DISTUTILS_OPTIONAL=true |
40 |
+DISTUTILS_IN_SOURCE_BUILD=true |
41 |
+ |
42 |
+inherit distutils-r1 eutils versionator |
43 |
+ |
44 |
+MY_PV=$(replace_all_version_separators _) |
45 |
+ |
46 |
+DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" |
47 |
+HOMEPAGE="http://libtorrent.org" |
48 |
+SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_PV}/${P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="BSD" |
51 |
+SLOT="0/9" |
52 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
53 |
+IUSE="debug +dht doc examples libressl python +ssl static-libs test" |
54 |
+ |
55 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ dev-libs/boost:=[threads] |
59 |
+ virtual/libiconv |
60 |
+ examples? ( !net-p2p/mldonkey ) |
61 |
+ python? ( |
62 |
+ ${PYTHON_DEPS} |
63 |
+ dev-libs/boost:=[python,${PYTHON_USEDEP}] |
64 |
+ ) |
65 |
+ ssl? ( |
66 |
+ !libressl? ( dev-libs/openssl:0= ) |
67 |
+ libressl? ( dev-libs/libressl:= ) |
68 |
+ ) |
69 |
+" |
70 |
+DEPEND="${RDEPEND} |
71 |
+ sys-devel/libtool |
72 |
+" |
73 |
+ |
74 |
+src_prepare() { |
75 |
+ default |
76 |
+ |
77 |
+ # bug 578026 |
78 |
+ # prepend -L${S}/... to ensure bindings link against the lib we just built |
79 |
+ sed -i -e "s|^|-L${S}/src/.libs |" bindings/python/link_flags.in || die |
80 |
+ |
81 |
+ # prepend -I${S}/... to ensure bindings use the right headers |
82 |
+ sed -i -e "s|^|-I${S}/src/include |" bindings/python/compile_flags.in || die |
83 |
+ |
84 |
+ use python && distutils-r1_src_prepare |
85 |
+} |
86 |
+ |
87 |
+src_configure() { |
88 |
+ local myeconfargs=( |
89 |
+ $(use_enable debug) |
90 |
+ $(use_enable debug logging) |
91 |
+ $(use_enable debug disk-stats) |
92 |
+ $(use_enable dht dht $(usex debug logging yes)) |
93 |
+ $(use_enable examples) |
94 |
+ $(use_enable ssl encryption) |
95 |
+ $(use_enable static-libs static) |
96 |
+ $(use_enable test tests) |
97 |
+ --with-libiconv |
98 |
+ ) |
99 |
+ econf "${myeconfargs[@]}" |
100 |
+ |
101 |
+ if use python; then |
102 |
+ python_configure() { |
103 |
+ econf "${myeconfargs[@]}" \ |
104 |
+ --enable-python-binding \ |
105 |
+ --with-boost-python="${EPYTHON#python}" |
106 |
+ } |
107 |
+ distutils-r1_src_configure |
108 |
+ fi |
109 |
+} |
110 |
+ |
111 |
+src_compile() { |
112 |
+ default |
113 |
+ |
114 |
+ python_compile() { |
115 |
+ cd "${BUILD_DIR}/../bindings/python" || die |
116 |
+ distutils-r1_python_compile |
117 |
+ } |
118 |
+ use python && distutils-r1_src_compile |
119 |
+} |
120 |
+ |
121 |
+src_install() { |
122 |
+ use doc && HTML_DOCS+=( "${S}"/docs ) |
123 |
+ |
124 |
+ default |
125 |
+ |
126 |
+ python_install() { |
127 |
+ cd "${BUILD_DIR}/../bindings/python" || die |
128 |
+ distutils-r1_python_install |
129 |
+ } |
130 |
+ use python && distutils-r1_src_install |
131 |
+ |
132 |
+ prune_libtool_files |
133 |
+} |