1 |
commit: 38be64e6330025ceda61ad359569c8d023a5fd2e |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 26 21:12:58 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 27 19:00:21 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38be64e6 |
7 |
|
8 |
net-wireless/ubertooth: Drop old, Qt4-based |
9 |
|
10 |
Closes: https://bugs.gentoo.org/649576 |
11 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
12 |
|
13 |
net-wireless/ubertooth/metadata.xml | 1 - |
14 |
net-wireless/ubertooth/ubertooth-2017.03.2.ebuild | 102 ---------------------- |
15 |
2 files changed, 103 deletions(-) |
16 |
|
17 |
diff --git a/net-wireless/ubertooth/metadata.xml b/net-wireless/ubertooth/metadata.xml |
18 |
index 18128462598..5a740733d13 100644 |
19 |
--- a/net-wireless/ubertooth/metadata.xml |
20 |
+++ b/net-wireless/ubertooth/metadata.xml |
21 |
@@ -7,7 +7,6 @@ |
22 |
</maintainer> |
23 |
<use> |
24 |
<flag name="bluez">use bluez to support clock following and scanning</flag> |
25 |
- <flag name="specan">Enable the ubertooth spectrum analyzer</flag> |
26 |
<flag name="ubertooth1-firmware">Build/install ubertooth1-firmware</flag> |
27 |
</use> |
28 |
<upstream> |
29 |
|
30 |
diff --git a/net-wireless/ubertooth/ubertooth-2017.03.2.ebuild b/net-wireless/ubertooth/ubertooth-2017.03.2.ebuild |
31 |
deleted file mode 100644 |
32 |
index de2e949b8cb..00000000000 |
33 |
--- a/net-wireless/ubertooth/ubertooth-2017.03.2.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,102 +0,0 @@ |
36 |
-# Copyright 1999-2017 Gentoo Foundation |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI="6" |
40 |
- |
41 |
-PYTHON_COMPAT=( python2_7 ) |
42 |
-DISTUTILS_OPTIONAL=1 |
43 |
- |
44 |
-inherit multilib distutils-r1 cmake-utils udev |
45 |
- |
46 |
-HOMEPAGE="http://ubertooth.sourceforge.net/" |
47 |
- |
48 |
-LICENSE="GPL-2" |
49 |
-SLOT="0" |
50 |
-IUSE="+bluez +specan static-libs +ubertooth1-firmware +udev" |
51 |
-REQUIRED_USE="specan? ( ${PYTHON_REQUIRED_USE} )" |
52 |
-DEPEND="bluez? ( net-wireless/bluez:= ) |
53 |
- >=net-libs/libbtbb-${PV}:=[static-libs?] |
54 |
- specan? ( ${PYTHON_DEPS} ) |
55 |
- static-libs? ( dev-libs/libusb[static-libs] ) |
56 |
- virtual/libusb:1=" |
57 |
-RDEPEND="${DEPEND} |
58 |
- specan? ( >=dev-qt/qtgui-4.7.2:4 |
59 |
- >=dev-python/pyside-1.0.2[${PYTHON_USEDEP}] |
60 |
- >=dev-python/numpy-1.3[${PYTHON_USEDEP}] ) |
61 |
- udev? ( virtual/udev )" |
62 |
- |
63 |
-MY_PV=${PV/\./-} |
64 |
-MY_PV=${MY_PV/./-R} |
65 |
-if [[ ${PV} == "9999" ]] ; then |
66 |
- EGIT_REPO_URI="https://github.com/greatscottgadgets/ubertooth.git" |
67 |
- inherit git-r3 |
68 |
- KEYWORDS="" |
69 |
- S="${WORKDIR}/${P}/host" |
70 |
-else |
71 |
- S="${WORKDIR}/${PN}-${MY_PV}/host" |
72 |
- SRC_URI="https://github.com/greatscottgadgets/${PN}/releases/download/${MY_PV}/${PN}-${MY_PV}.tar.xz" |
73 |
- KEYWORDS="~amd64 ~arm ~x86" |
74 |
-fi |
75 |
-DESCRIPTION="open source wireless development platform suitable for Bluetooth experimentation" |
76 |
- |
77 |
-#readd firmware building, but do it right |
78 |
-#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 |
79 |
- |
80 |
-src_prepare() { |
81 |
- cmake-utils_src_prepare |
82 |
- if use specan; then |
83 |
- pushd python/specan_ui || die |
84 |
- distutils-r1_src_prepare |
85 |
- popd |
86 |
- fi |
87 |
-} |
88 |
- |
89 |
-src_configure() { |
90 |
- mycmakeargs=( |
91 |
- -DUSE_BLUEZ=$(usex bluez) |
92 |
- -DBUILD_STATIC_LIB=$(usex static-libs) |
93 |
- -DINSTALL_UDEV_RULES=$(usex udev) |
94 |
- -DENABLE_PYTHON=false |
95 |
- ) |
96 |
- if use udev; then |
97 |
- mycmakeargs+=( |
98 |
- -DUDEV_RULES_GROUP=usb |
99 |
- -DUDEV_RULES_PATH="$(get_udevdir)/rules.d" |
100 |
- ) |
101 |
- fi |
102 |
- cmake-utils_src_configure |
103 |
-} |
104 |
- |
105 |
-src_compile() { |
106 |
- cmake-utils_src_compile |
107 |
- |
108 |
- if use specan; then |
109 |
- pushd python/specan_ui || die |
110 |
- distutils-r1_src_compile |
111 |
- popd |
112 |
- fi |
113 |
-} |
114 |
- |
115 |
-src_install() { |
116 |
- cmake-utils_src_install |
117 |
- |
118 |
- insinto /usr/share/${PN} |
119 |
- pushd "${WORKDIR}/${PN}-${MY_PV}" || die |
120 |
- if [[ ${PV} == "9999" ]] ; then |
121 |
- ewarn "Firmware isn't available for git releases, we assume you are already" |
122 |
- ewarn "on the latest and/or can build your own." |
123 |
- else |
124 |
- use ubertooth1-firmware && newins ubertooth-one-firmware-bin/bluetooth_rxtx.dfu ${PN}-one-${PV}-bluetooth_rxtx.dfu |
125 |
- use ubertooth1-firmware && newins ubertooth-one-firmware-bin/bluetooth_rx_only.dfu ${PN}-one-${PV}-bluetooth_rx_only.dfu |
126 |
- fi |
127 |
- popd |
128 |
- |
129 |
- if use specan; then |
130 |
- pushd python/specan_ui || die |
131 |
- distutils-r1_src_install |
132 |
- popd |
133 |
- fi |
134 |
- |
135 |
- elog "Everyone can read from the ubertooth, but to talk to it" |
136 |
- elog "your user needs to be in the usb group." |
137 |
-} |