inherit git-r3
SRC_URI=""
EGIT_REPO_URI="git://git.osmocom.org/${PN}.git"
+ KEYWORDS=""
else
#SRC_URI="http://cgit.osmocom.org/gr-osmosdr/snapshot/gr-osmosdr-${PV}.tar.xz"
#git clone git://git.osmocom.org/gr-osmosdr.git
LICENSE="GPL-3"
SLOT="0/${PV}"
-IUSE="bladerf fcd hackrf iqbalance mirisdr python rtlsdr soapy uhd"
+IUSE="bladerf fcd hackrf iqbalance mirisdr python rtlsdr sdrplay soapy uhd"
RDEPEND="${PYTHON_DEPS}
dev-libs/boost:=
iqbalance? ( net-wireless/gr-iqbal:=[${PYTHON_USEDEP}] )
mirisdr? ( net-libs/libmirisdr:= )
rtlsdr? ( >=net-wireless/rtl-sdr-0.5.3:= )
+ sdrplay? ( net-wireless/sdrplay )
soapy? ( net-wireless/soapysdr )
uhd? ( net-wireless/uhd:=[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
-DENABLE_RTL_TCP="$(usex rtlsdr)"
-DENABLE_SOAPY="$(usex soapy)"
-DENABLE_UHD="$(usex uhd)"
+ -DENABLE_SDRPLAY="$(usex sdrplay)"
+ -DENABLE_NONFREE="$(usex sdrplay)"
)
cmake-utils_src_configure
LICENSE="GPL-3"
SLOT="0/${PV}"
-IUSE="bladerf fcd hackrf iqbalance mirisdr python rtlsdr soapy uhd"
+IUSE="bladerf fcd hackrf iqbalance mirisdr python rtlsdr sdrplay soapy uhd"
RDEPEND="${PYTHON_DEPS}
dev-libs/boost:=
>=net-wireless/gnuradio-3.7_rc:0=[fcd?,${PYTHON_USEDEP}]
- bladerf? ( net-wireless/bladerf:= )
+ bladerf? ( >=net-wireless/bladerf-2018.08_rc1:= )
hackrf? ( net-libs/libhackrf:= )
iqbalance? ( net-wireless/gr-iqbal:=[${PYTHON_USEDEP}] )
mirisdr? ( net-libs/libmirisdr:= )
rtlsdr? ( >=net-wireless/rtl-sdr-0.5.3:= )
+ sdrplay? ( net-wireless/sdrplay )
soapy? ( net-wireless/soapysdr )
uhd? ( net-wireless/uhd:=[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
-DENABLE_RTL_TCP="$(usex rtlsdr)"
-DENABLE_SOAPY="$(usex soapy)"
-DENABLE_UHD="$(usex uhd)"
+ -DENABLE_SDRPLAY="$(usex sdrplay)"
+ -DENABLE_NONFREE="$(usex sdrplay)"
)
cmake-utils_src_configure
<flag name="iqbalance">Enable support for I/Q balancing using gr-iqbal</flag>
<flag name="mirisdr">Build with Mirics MSi2500 + MSi001 SDR support</flag>
<flag name="rtlsdr">Build with Realtek RTL2832U (rtlsdr) support</flag>
+ <flag name="sdrplay">Enable support for SDRplay devices through <pkg>net-wireless/sdrplay</pkg></flag>
<flag name="soapy">Build with SoapySDR support</flag>
<flag name="uhd">Build with Ettus Research USRP Hardware Driver support</flag>
</use>