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-wireless/ubertooth/
Date: Tue, 30 Mar 2021 20:20:48
Message-Id: 1617135606.192e85579ff29966aaeca626319646a5f85261f2.zerochaos@gentoo
1 commit: 192e85579ff29966aaeca626319646a5f85261f2
2 Author: Rick Farina <zerochaos <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 30 20:20:06 2021 +0000
4 Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 30 20:20:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=192e8557
7
8 net-wireless/ubertooth: 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-wireless/ubertooth/Manifest | 1 -
14 net-wireless/ubertooth/ubertooth-2018.12.1.ebuild | 71 -----------------------
15 2 files changed, 72 deletions(-)
16
17 diff --git a/net-wireless/ubertooth/Manifest b/net-wireless/ubertooth/Manifest
18 index 03ea22126d6..5c58d150391 100644
19 --- a/net-wireless/ubertooth/Manifest
20 +++ b/net-wireless/ubertooth/Manifest
21 @@ -1,2 +1 @@
22 -DIST ubertooth-2018-12-R1.tar.xz 704208 BLAKE2B 7a17830a0ed417a737d78aa22c5a6a270a67b350a3a5e9a0aebabd4b38547d8d35551e061ea3d5260996f8fe1a366c75c8773d5e3a6abf37a0930f93200da3fc SHA512 409fdb403d6a3fa84b92757e0fd8672b1403ba3d24888fbde4d6d6923d8e0796914c20d38e2fc58909f81fcb8a0b6290bcf91282bb02354c310e6e91ad85e23b
23 DIST ubertooth-2020-12-R1.tar.xz 763952 BLAKE2B 592c5fa689e0f944875bd777dedfd83394ebe5c9c65c1ac2c19006a949daeda8440dc102e537cf97b4547e0730df8f47d5c2a420d84d5dc770577b6039e16b28 SHA512 f127cae09d9b20dc34ffad080871f4505cbeccc1117e0e4e841ecf4a30f578d02b67b52786d7a82bdfc43d06562919008c076f8eb9befc7e4bd95def05a3864c
24
25 diff --git a/net-wireless/ubertooth/ubertooth-2018.12.1.ebuild b/net-wireless/ubertooth/ubertooth-2018.12.1.ebuild
26 deleted file mode 100644
27 index d71069e391f..00000000000
28 --- a/net-wireless/ubertooth/ubertooth-2018.12.1.ebuild
29 +++ /dev/null
30 @@ -1,71 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI="7"
35 -
36 -inherit cmake udev
37 -
38 -HOMEPAGE="http://ubertooth.sourceforge.net/"
39 -
40 -LICENSE="GPL-2"
41 -SLOT="0"
42 -IUSE="+bluez static-libs +ubertooth1-firmware +udev"
43 -
44 -DEPEND="bluez? ( net-wireless/bluez:= )
45 - >=net-libs/libbtbb-${PV}:=[static-libs?]
46 - static-libs? ( dev-libs/libusb[static-libs] )
47 - virtual/libusb:1="
48 -RDEPEND="${DEPEND}
49 - udev? ( virtual/udev )"
50 -
51 -MY_PV=${PV/\./-}
52 -MY_PV=${MY_PV/./-R}
53 -if [[ ${PV} == "9999" ]] ; then
54 - EGIT_REPO_URI="https://github.com/greatscottgadgets/ubertooth.git"
55 - inherit git-r3
56 - S="${WORKDIR}/${P}/host"
57 -else
58 - S="${WORKDIR}/${PN}-${MY_PV}/host"
59 - SRC_URI="https://github.com/greatscottgadgets/${PN}/releases/download/${MY_PV}/${PN}-${MY_PV}.tar.xz"
60 - KEYWORDS="amd64 arm x86"
61 -fi
62 -DESCRIPTION="open source wireless development platform suitable for Bluetooth experimentation"
63 -
64 -#readd firmware building, but do it right
65 -#USE="-fortran -mudflap -nls -openmp -multilib" crossdev --without-headers --genv 'EXTRA_ECONF="--with-mode=thumb --with-cpu=cortex-m3 --with-float=soft"' -s4 -t arm-cortexm3-eabi
66 -
67 -PATCHES=( "${FILESDIR}"/"${P}"-gcc-10.patch )
68 -
69 -src_configure() {
70 - local mycmakeargs=(
71 - -DUSE_BLUEZ=$(usex bluez)
72 - -DBUILD_STATIC_LIB=$(usex static-libs)
73 - -DINSTALL_UDEV_RULES=$(usex udev)
74 - -DENABLE_PYTHON=false
75 - )
76 - if use udev; then
77 - mycmakeargs+=(
78 - -DUDEV_RULES_GROUP=usb
79 - -DUDEV_RULES_PATH="$(get_udevdir)/rules.d"
80 - )
81 - fi
82 - cmake_src_configure
83 -}
84 -
85 -src_install() {
86 - cmake_src_install
87 -
88 - insinto /usr/share/${PN}
89 - pushd "${WORKDIR}/${PN}-${MY_PV}" || die
90 - if [[ ${PV} == "9999" ]] ; then
91 - ewarn "Firmware isn't available for git releases, we assume you are already"
92 - ewarn "on the latest and/or can build your own."
93 - else
94 - use ubertooth1-firmware && newins ubertooth-one-firmware-bin/bluetooth_rxtx.dfu ${PN}-one-${PV}-bluetooth_rxtx.dfu
95 - use ubertooth1-firmware && newins ubertooth-one-firmware-bin/bluetooth_rx_only.dfu ${PN}-one-${PV}-bluetooth_rx_only.dfu
96 - fi
97 - popd
98 -
99 - elog "Everyone can read from the ubertooth, but to talk to it"
100 - elog "your user needs to be in the usb group."
101 -}