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