summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2018-08-25 21:00:27 +0200
committerChristian Ruppert <idl0r@gentoo.org>2018-08-25 21:22:07 +0200
commitbb9fdf78202062c1934eae2549dae36b56658c93 (patch)
treeda10adde5ef7b8efe4f2987523b1604767d5720c /net-wireless/gr-osmosdr
parentprofiles/arch/arm/package.use.mask: Mask net-wireless/gr-osmosdr[sdrplay] sin... (diff)
downloadgentoo-bb9fdf78202062c1934eae2549dae36b56658c93.tar.gz
gentoo-bb9fdf78202062c1934eae2549dae36b56658c93.tar.bz2
gentoo-bb9fdf78202062c1934eae2549dae36b56658c93.zip
net-wireless/gr-osmosdr: Add SDRplay device support. Update live ebuild
Package-Manager: Portage-2.3.48, Repoman-2.3.10
Diffstat (limited to 'net-wireless/gr-osmosdr')
-rw-r--r--net-wireless/gr-osmosdr/gr-osmosdr-0.1.4_p20180626.ebuild6
-rw-r--r--net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild7
-rw-r--r--net-wireless/gr-osmosdr/metadata.xml1
3 files changed, 11 insertions, 3 deletions
diff --git a/net-wireless/gr-osmosdr/gr-osmosdr-0.1.4_p20180626.ebuild b/net-wireless/gr-osmosdr/gr-osmosdr-0.1.4_p20180626.ebuild
index 2286e8a9c6a1..e3d156e35ccd 100644
--- a/net-wireless/gr-osmosdr/gr-osmosdr-0.1.4_p20180626.ebuild
+++ b/net-wireless/gr-osmosdr/gr-osmosdr-0.1.4_p20180626.ebuild
@@ -13,6 +13,7 @@ if [[ ${PV} == 9999* ]]; then
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
@@ -24,7 +25,7 @@ fi
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:=
@@ -34,6 +35,7 @@ RDEPEND="${PYTHON_DEPS}
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}
@@ -56,6 +58,8 @@ src_configure() {
-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
diff --git a/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild b/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild
index ffbeed261500..e3d156e35ccd 100644
--- a/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild
+++ b/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild
@@ -25,16 +25,17 @@ fi
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}
@@ -57,6 +58,8 @@ src_configure() {
-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
diff --git a/net-wireless/gr-osmosdr/metadata.xml b/net-wireless/gr-osmosdr/metadata.xml
index 9dc2a893a658..2ffcfa21c90d 100644
--- a/net-wireless/gr-osmosdr/metadata.xml
+++ b/net-wireless/gr-osmosdr/metadata.xml
@@ -12,6 +12,7 @@
<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>