summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2020-06-22 09:51:47 -0400
committerRick Farina <zerochaos@gentoo.org>2020-06-22 09:51:58 -0400
commit54b1ff4913872a221a86cfdbe521144f49b00461 (patch)
tree208f264e517b5d64accf594e0ab174a43227dcf0 /net-wireless
parentnet-analyzer/wireshark: Old (diff)
downloadgentoo-54b1ff4913872a221a86cfdbe521144f49b00461.tar.gz
gentoo-54b1ff4913872a221a86cfdbe521144f49b00461.tar.bz2
gentoo-54b1ff4913872a221a86cfdbe521144f49b00461.zip
net-wireless/urh: add missing native backends
Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/urh/metadata.xml4
-rw-r--r--net-wireless/urh/urh-2.8.8.ebuild11
-rw-r--r--net-wireless/urh/urh-9999.ebuild11
3 files changed, 20 insertions, 6 deletions
diff --git a/net-wireless/urh/metadata.xml b/net-wireless/urh/metadata.xml
index 9b89859ec288..b1455255dd5c 100644
--- a/net-wireless/urh/metadata.xml
+++ b/net-wireless/urh/metadata.xml
@@ -10,10 +10,14 @@
<name>Radio</name>
</maintainer>
<use>
+ <flag name="airspy">use native backend which directly uses <pkg>net-wireless/airspy</pkg></flag>
+ <flag name="audio">use a soundcard instead of an sdr</flag>
<flag name="bladerf">use native backend which directly uses <pkg>net-wireless/bladerf</pkg></flag>
<flag name="hackrf">use native backend which directly uses <pkg>net-libs/libhackrf</pkg></flag>
+ <flag name="limesdr">use native backend which directly uses <pkg>net-wireless/limesuite</pkg></flag>
<flag name="plutosdr">use native backend which directly uses <pkg>net-libs/libiio</pkg></flag>
<flag name="rtlsdr">use native backend which directly uses <pkg>net-wireless/rtl-sdr</pkg></flag>
+ <flag name="sdrplay">use native backend which directly uses <pkg>net-wireless/sdrplay</pkg></flag>
<flag name="uhd">use native backend which directly uses <pkg>net-wireless/uhd</pkg></flag>
</use>
<upstream>
diff --git a/net-wireless/urh/urh-2.8.8.ebuild b/net-wireless/urh/urh-2.8.8.ebuild
index f325027fcad3..a39b830fe98d 100644
--- a/net-wireless/urh/urh-2.8.8.ebuild
+++ b/net-wireless/urh/urh-2.8.8.ebuild
@@ -20,7 +20,7 @@ fi
LICENSE="Apache-2.0"
SLOT="0"
-IUSE="bladerf hackrf plutosdr rtlsdr uhd"
+IUSE="airspy audio bladerf hackrf limesdr plutosdr rtlsdr sdrplay uhd"
DEPEND="${PYTHON_DEPS}
net-wireless/gnuradio[zeromq]
@@ -28,10 +28,14 @@ DEPEND="${PYTHON_DEPS}
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/pyzmq[${PYTHON_USEDEP}]
dev-python/cython[${PYTHON_USEDEP}]
+ airspy? ( net-wireless/airspy:= )
+ audio? ( dev-python/pyaudio[${PYTHON_USEDEP}] )
bladerf? ( net-wireless/bladerf:= )
hackrf? ( net-libs/libhackrf:= )
+ limesdr? ( net-wireless/limesuite:= )
plutosdr? ( net-libs/libiio:= )
rtlsdr? ( net-wireless/rtl-sdr:= )
+ sdrplay? ( net-wireless/sdrplay:= )
uhd? ( net-wireless/uhd:= )"
RDEPEND="${DEPEND}
dev-python/PyQt5[${PYTHON_USEDEP},testlib]
@@ -39,12 +43,13 @@ RDEPEND="${DEPEND}
python_configure_all() {
mydistutilsargs=(
+ $(use_with airspy)
$(use_with bladerf)
$(use_with hackrf)
+ $(use_with limesdr)
$(use_with plutosdr)
$(use_with rtlsdr)
+ $(use_with sdrplay)
$(use_with uhd usrp)
- --without-airspy
- --without-limesdr
)
}
diff --git a/net-wireless/urh/urh-9999.ebuild b/net-wireless/urh/urh-9999.ebuild
index f325027fcad3..a39b830fe98d 100644
--- a/net-wireless/urh/urh-9999.ebuild
+++ b/net-wireless/urh/urh-9999.ebuild
@@ -20,7 +20,7 @@ fi
LICENSE="Apache-2.0"
SLOT="0"
-IUSE="bladerf hackrf plutosdr rtlsdr uhd"
+IUSE="airspy audio bladerf hackrf limesdr plutosdr rtlsdr sdrplay uhd"
DEPEND="${PYTHON_DEPS}
net-wireless/gnuradio[zeromq]
@@ -28,10 +28,14 @@ DEPEND="${PYTHON_DEPS}
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/pyzmq[${PYTHON_USEDEP}]
dev-python/cython[${PYTHON_USEDEP}]
+ airspy? ( net-wireless/airspy:= )
+ audio? ( dev-python/pyaudio[${PYTHON_USEDEP}] )
bladerf? ( net-wireless/bladerf:= )
hackrf? ( net-libs/libhackrf:= )
+ limesdr? ( net-wireless/limesuite:= )
plutosdr? ( net-libs/libiio:= )
rtlsdr? ( net-wireless/rtl-sdr:= )
+ sdrplay? ( net-wireless/sdrplay:= )
uhd? ( net-wireless/uhd:= )"
RDEPEND="${DEPEND}
dev-python/PyQt5[${PYTHON_USEDEP},testlib]
@@ -39,12 +43,13 @@ RDEPEND="${DEPEND}
python_configure_all() {
mydistutilsargs=(
+ $(use_with airspy)
$(use_with bladerf)
$(use_with hackrf)
+ $(use_with limesdr)
$(use_with plutosdr)
$(use_with rtlsdr)
+ $(use_with sdrplay)
$(use_with uhd usrp)
- --without-airspy
- --without-limesdr
)
}