Gentoo Archives: gentoo-commits

From: Rick Farina <zerochaos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libbtbb/
Date: Tue, 30 Mar 2021 20:20:51
Message-Id: 1617135518.9820e1418912ba9d7723b9caa66462bfe7396940.zerochaos@gentoo
1 commit: 9820e1418912ba9d7723b9caa66462bfe7396940
2 Author: Rick Farina <zerochaos <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 30 20:18:38 2021 +0000
4 Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 30 20:18:38 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9820e141
7
8 net-libs/libbtbb: drop old
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>
12
13 net-libs/libbtbb/Manifest | 2 -
14 net-libs/libbtbb/libbtbb-2018.08.1.ebuild | 150 ------------------------------
15 net-libs/libbtbb/libbtbb-2018.12.1.ebuild | 150 ------------------------------
16 3 files changed, 302 deletions(-)
17
18 diff --git a/net-libs/libbtbb/Manifest b/net-libs/libbtbb/Manifest
19 index db5113ea61a..512e1bc72a5 100644
20 --- a/net-libs/libbtbb/Manifest
21 +++ b/net-libs/libbtbb/Manifest
22 @@ -1,3 +1 @@
23 -DIST libbtbb-2018-08-R1.tar.gz 310542 BLAKE2B 0ae945c530c476caadfd7786f34eca4d7efd71c2f27a37c7b0242a1d3fba80e985c76a0635a354184aa80039ca8ac11f59778f550cbe9bb7e8a535723396cab0 SHA512 63fa995b51f2246b6f27d8aa1bd7a5c0276414df9d13d432d9a1a7ad78ac06e4c67fe3dcf00cf1634f11d6e999f13633591a3347d4e533fff4f131f8deee922e
24 -DIST libbtbb-2018-12-R1.tar.gz 310437 BLAKE2B 8fec246e05c47df424840f159d97bbb8c6554b2ce72344b63602cb034eb712bf8ee9f280e7bbb5104dc0b9788818ea14cf53d09af0938b1bc1dcede5463b36ce SHA512 5c41bb4f0fdeedc1064de973daa4d396f73ff10b6e28266a43f029cbfa8a7f2db5e3b764410efb50ef79c56ba1fac0d242bb547c0a883d0dc3c06cc9e993332c
25 DIST libbtbb-2020-12-R1.tar.gz 308434 BLAKE2B 0f802f3c5eef0c434d0468a72104cf63e6bf5f29467e1606d2892751cd8b4824639e3847c0b8305ace926667434e668d75b6d4544e8e026b07872bafbb09c90b SHA512 a3dc2c8d27e4b85aae4847ac39f871ecf800ebf911aacd01682da6c50b13f3247c7d683bce855f2cf59b56a29c661223a2c22e98a8d86e8edaccd57af282bac6
26
27 diff --git a/net-libs/libbtbb/libbtbb-2018.08.1.ebuild b/net-libs/libbtbb/libbtbb-2018.08.1.ebuild
28 deleted file mode 100644
29 index a1587cd739a..00000000000
30 --- a/net-libs/libbtbb/libbtbb-2018.08.1.ebuild
31 +++ /dev/null
32 @@ -1,150 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -inherit multilib cmake-utils
39 -
40 -DESCRIPTION="A library to decode Bluetooth baseband packets"
41 -HOMEPAGE="http://libbtbb.sourceforge.net/"
42 -
43 -if [[ ${PV} == "9999" ]] ; then
44 - EGIT_REPO_URI="https://github.com/greatscottgadgets/libbtbb.git"
45 - inherit git-r3
46 -else
47 - MY_PV=${PV/\./-}
48 - MY_PV=${MY_PV/./-R}
49 - S=${WORKDIR}/${PN}-${MY_PV}
50 - SRC_URI="https://github.com/greatscottgadgets/${PN}/archive/${MY_PV}.tar.gz -> ${PN}-${MY_PV}.tar.gz"
51 - KEYWORDS="~amd64 ~arm ~x86"
52 -fi
53 -
54 -LICENSE="GPL-2"
55 -SLOT="0/${PV}"
56 -IUSE="static-libs wireshark-plugins"
57 -
58 -RDEPEND="
59 - wireshark-plugins? (
60 - >=net-analyzer/wireshark-1.8.3-r1:=
61 - )
62 -"
63 -DEPEND="${RDEPEND}
64 - wireshark-plugins? ( dev-libs/glib
65 - virtual/pkgconfig )"
66 -
67 -get_PV() { local pv=$(best_version $1); pv=${pv#$1-}; pv=${pv%-r*}; pv=${pv//_}; echo ${pv}; }
68 -
69 -which_plugins() {
70 - if has_version '>=net-analyzer/wireshark-2.2.0'; then
71 - plugins=""
72 - elif has_version '>=net-analyzer/wireshark-1.12.0'; then
73 - plugins="btbb btbredr"
74 - elif has_version '<net-analyzer/wireshark-1.12.0'; then
75 - plugins="btbb btle btsm"
76 - fi
77 -}
78 -
79 -src_prepare() {
80 - CMAKE_USE_DIR="${S}"
81 - BUILD_DIR="${S}"_build
82 - cmake-utils_src_prepare
83 -
84 - if use wireshark-plugins; then
85 - which_plugins
86 - for i in ${plugins}
87 - do
88 - sed -i 's#column_info#packet#' wireshark/plugins/${i}/cmake/FindWireshark.cmake || die
89 - if has_version '>=net-analyzer/wireshark-2.0'; then
90 - CMAKE_USE_DIR="${S}"/wireshark/plugins/${i}
91 - else
92 - CMAKE_USE_DIR="${S}"/wireshark/plugins-legacy/${i}
93 - fi
94 - BUILD_DIR="${WORKDIR}"/${i}_build
95 - cmake-utils_src_prepare
96 - done
97 - fi
98 -}
99 -
100 -src_configure() {
101 - CMAKE_USE_DIR="${S}"
102 - BUILD_DIR="${S}"_build
103 - local mycmakeargs=(
104 - -DENABLE_PYTHON=OFF
105 - -DBUILD_STATIC_LIB=$(usex static-libs)
106 - -DBUILD_ROOT="${ED}"
107 - )
108 - cmake-utils_src_configure
109 -
110 - if use wireshark-plugins; then
111 - for i in ${plugins}
112 - do
113 - if has_version '>=net-analyzer/wireshark-2.0'; then
114 - CMAKE_USE_DIR="${S}"/wireshark/plugins/${i}
115 - else
116 - CMAKE_USE_DIR="${S}"/wireshark/plugins-legacy/${i}
117 - fi
118 - BUILD_DIR="${WORKDIR}"/${i}_build
119 - local mycmakeargs=(
120 - -DCMAKE_INSTALL_LIBDIR="/usr/$(get_libdir)/wireshark/plugins/$(get_PV net-analyzer/wireshark)"
121 - )
122 - cmake-utils_src_configure
123 - done
124 - fi
125 -}
126 -
127 -src_compile() {
128 - CMAKE_USE_DIR="${S}"
129 - BUILD_DIR="${S}"_build
130 - cmake-utils_src_compile
131 -
132 - if use wireshark-plugins; then
133 - for i in ${plugins}
134 - do
135 - if has_version '>=net-analyzer/wireshark-2.0'; then
136 - CMAKE_USE_DIR="${S}"/wireshark/plugins/${i}
137 - else
138 - CMAKE_USE_DIR="${S}"/wireshark/plugins-legacy/${i}
139 - fi
140 - BUILD_DIR="${WORKDIR}"/${i}_build
141 - cmake-utils_src_compile
142 - done
143 - fi
144 -}
145 -
146 -src_test() {
147 - CMAKE_USE_DIR="${S}"
148 - BUILD_DIR="${S}"_build
149 - cmake-utils_src_test
150 -
151 - if use wireshark-plugins; then
152 - for i in ${plugins}
153 - do
154 - if has_version '>=net-analyzer/wireshark-2.0'; then
155 - CMAKE_USE_DIR="${S}"/wireshark/plugins/${i}
156 - else
157 - CMAKE_USE_DIR="${S}"/wireshark/plugins-legacy/${i}
158 - fi
159 - BUILD_DIR="${WORKDIR}"/${i}_build
160 - cmake-utils_src_test
161 - done
162 - fi
163 -}
164 -
165 -src_install() {
166 - CMAKE_USE_DIR="${S}"
167 - BUILD_DIR="${S}"_build
168 - cmake-utils_src_install
169 -
170 - if use wireshark-plugins; then
171 - for i in ${plugins}
172 - do
173 - if has_version '>=net-analyzer/wireshark-2.0'; then
174 - CMAKE_USE_DIR="${S}"/wireshark/plugins/${i}
175 - else
176 - CMAKE_USE_DIR="${S}"/wireshark/plugins-legacy/${i}
177 - fi
178 - BUILD_DIR="${WORKDIR}"/${i}_build
179 - cmake-utils_src_install
180 - done
181 - fi
182 -}
183
184 diff --git a/net-libs/libbtbb/libbtbb-2018.12.1.ebuild b/net-libs/libbtbb/libbtbb-2018.12.1.ebuild
185 deleted file mode 100644
186 index d3976d1260b..00000000000
187 --- a/net-libs/libbtbb/libbtbb-2018.12.1.ebuild
188 +++ /dev/null
189 @@ -1,150 +0,0 @@
190 -# Copyright 1999-2020 Gentoo Authors
191 -# Distributed under the terms of the GNU General Public License v2
192 -
193 -EAPI=6
194 -
195 -inherit multilib cmake-utils
196 -
197 -DESCRIPTION="A library to decode Bluetooth baseband packets"
198 -HOMEPAGE="http://libbtbb.sourceforge.net/"
199 -
200 -if [[ ${PV} == "9999" ]] ; then
201 - EGIT_REPO_URI="https://github.com/greatscottgadgets/libbtbb.git"
202 - inherit git-r3
203 -else
204 - MY_PV=${PV/\./-}
205 - MY_PV=${MY_PV/./-R}
206 - S=${WORKDIR}/${PN}-${MY_PV}
207 - SRC_URI="https://github.com/greatscottgadgets/${PN}/archive/${MY_PV}.tar.gz -> ${PN}-${MY_PV}.tar.gz"
208 - KEYWORDS="amd64 arm x86"
209 -fi
210 -
211 -LICENSE="GPL-2"
212 -SLOT="0/${PV}"
213 -IUSE="static-libs wireshark-plugins"
214 -
215 -RDEPEND="
216 - wireshark-plugins? (
217 - >=net-analyzer/wireshark-1.8.3-r1:=
218 - )
219 -"
220 -DEPEND="${RDEPEND}
221 - wireshark-plugins? ( dev-libs/glib
222 - virtual/pkgconfig )"
223 -
224 -get_PV() { local pv=$(best_version $1); pv=${pv#$1-}; pv=${pv%-r*}; pv=${pv//_}; echo ${pv}; }
225 -
226 -which_plugins() {
227 - if has_version '>=net-analyzer/wireshark-2.2.0'; then
228 - plugins=""
229 - elif has_version '>=net-analyzer/wireshark-1.12.0'; then
230 - plugins="btbb btbredr"
231 - elif has_version '<net-analyzer/wireshark-1.12.0'; then
232 - plugins="btbb btle btsm"
233 - fi
234 -}
235 -
236 -src_prepare() {
237 - CMAKE_USE_DIR="${S}"
238 - BUILD_DIR="${S}"_build
239 - cmake-utils_src_prepare
240 -
241 - if use wireshark-plugins; then
242 - which_plugins
243 - for i in ${plugins}
244 - do
245 - sed -i 's#column_info#packet#' wireshark/plugins/${i}/cmake/FindWireshark.cmake || die
246 - if has_version '>=net-analyzer/wireshark-2.0'; then
247 - CMAKE_USE_DIR="${S}"/wireshark/plugins/${i}
248 - else
249 - CMAKE_USE_DIR="${S}"/wireshark/plugins-legacy/${i}
250 - fi
251 - BUILD_DIR="${WORKDIR}"/${i}_build
252 - cmake-utils_src_prepare
253 - done
254 - fi
255 -}
256 -
257 -src_configure() {
258 - CMAKE_USE_DIR="${S}"
259 - BUILD_DIR="${S}"_build
260 - local mycmakeargs=(
261 - -DENABLE_PYTHON=OFF
262 - -DBUILD_STATIC_LIB=$(usex static-libs)
263 - -DBUILD_ROOT="${ED}"
264 - )
265 - cmake-utils_src_configure
266 -
267 - if use wireshark-plugins; then
268 - for i in ${plugins}
269 - do
270 - if has_version '>=net-analyzer/wireshark-2.0'; then
271 - CMAKE_USE_DIR="${S}"/wireshark/plugins/${i}
272 - else
273 - CMAKE_USE_DIR="${S}"/wireshark/plugins-legacy/${i}
274 - fi
275 - BUILD_DIR="${WORKDIR}"/${i}_build
276 - local mycmakeargs=(
277 - -DCMAKE_INSTALL_LIBDIR="/usr/$(get_libdir)/wireshark/plugins/$(get_PV net-analyzer/wireshark)"
278 - )
279 - cmake-utils_src_configure
280 - done
281 - fi
282 -}
283 -
284 -src_compile() {
285 - CMAKE_USE_DIR="${S}"
286 - BUILD_DIR="${S}"_build
287 - cmake-utils_src_compile
288 -
289 - if use wireshark-plugins; then
290 - for i in ${plugins}
291 - do
292 - if has_version '>=net-analyzer/wireshark-2.0'; then
293 - CMAKE_USE_DIR="${S}"/wireshark/plugins/${i}
294 - else
295 - CMAKE_USE_DIR="${S}"/wireshark/plugins-legacy/${i}
296 - fi
297 - BUILD_DIR="${WORKDIR}"/${i}_build
298 - cmake-utils_src_compile
299 - done
300 - fi
301 -}
302 -
303 -src_test() {
304 - CMAKE_USE_DIR="${S}"
305 - BUILD_DIR="${S}"_build
306 - cmake-utils_src_test
307 -
308 - if use wireshark-plugins; then
309 - for i in ${plugins}
310 - do
311 - if has_version '>=net-analyzer/wireshark-2.0'; then
312 - CMAKE_USE_DIR="${S}"/wireshark/plugins/${i}
313 - else
314 - CMAKE_USE_DIR="${S}"/wireshark/plugins-legacy/${i}
315 - fi
316 - BUILD_DIR="${WORKDIR}"/${i}_build
317 - cmake-utils_src_test
318 - done
319 - fi
320 -}
321 -
322 -src_install() {
323 - CMAKE_USE_DIR="${S}"
324 - BUILD_DIR="${S}"_build
325 - cmake-utils_src_install
326 -
327 - if use wireshark-plugins; then
328 - for i in ${plugins}
329 - do
330 - if has_version '>=net-analyzer/wireshark-2.0'; then
331 - CMAKE_USE_DIR="${S}"/wireshark/plugins/${i}
332 - else
333 - CMAKE_USE_DIR="${S}"/wireshark/plugins-legacy/${i}
334 - fi
335 - BUILD_DIR="${WORKDIR}"/${i}_build
336 - cmake-utils_src_install
337 - done
338 - fi
339 -}