mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
)
|
||||
}
|
||||
|
||||
@@ -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
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user