diff options
author | Rick Farina <zerochaos@gentoo.org> | 2020-12-18 14:38:16 -0500 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2020-12-18 14:41:23 -0500 |
commit | 1af84b4fc6ad98dabfa8082c5da13cf9df39bb34 (patch) | |
tree | 29112b0babe654351678b942f5d65fe57f2eb374 /net-wireless | |
parent | net-wireless/libxtrx: xtrx support (diff) | |
download | gentoo-1af84b4fc6ad98dabfa8082c5da13cf9df39bb34.tar.gz gentoo-1af84b4fc6ad98dabfa8082c5da13cf9df39bb34.tar.bz2 gentoo-1af84b4fc6ad98dabfa8082c5da13cf9df39bb34.zip |
net-wireless/gr-osmosdr: bump
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/gr-osmosdr/Manifest | 2 | ||||
-rw-r--r-- | net-wireless/gr-osmosdr/gr-osmosdr-0.2.3.ebuild (renamed from net-wireless/gr-osmosdr/gr-osmosdr-0.2.2.ebuild) | 43 | ||||
-rw-r--r-- | net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild | 30 |
3 files changed, 37 insertions, 38 deletions
diff --git a/net-wireless/gr-osmosdr/Manifest b/net-wireless/gr-osmosdr/Manifest index 9fafb3253f42..47ad3e6b11ef 100644 --- a/net-wireless/gr-osmosdr/Manifest +++ b/net-wireless/gr-osmosdr/Manifest @@ -1,2 +1,2 @@ DIST gr-osmosdr-0.2.0.tar.gz 251163 BLAKE2B 036a4439c5c27ae3143ef3be6e76f94bf3e0524509ffc58ad19379fa0adc9477bd704b7e88fffd46ed9e5528ae539d875b4e496a77ea392e8eef117fc57a3af1 SHA512 96eb8ff0a05cf0d5b49384cdc80e0a3d924ba452485acbe852266fd73a5335668b40454421d9f5a52ea610f7100557e51d6a5d9cf6931fe68e8757eb5f02d126 -DIST gr-osmosdr-0.2.2.tar.gz 251425 BLAKE2B e1e29280b84139bf4b1b25ee35553f48abe7f26f9f240852c25f883ec6df406157d9b734035fd6df87e50b6d6f8ddab679ea91430558716acba05a9a64844c3d SHA512 42aef6efd35fd9184a371202398455de7cac3a88374e761359ab837a329495b653a95f5641f0a9533daeaa08c0d7fd5649b1b33359009dd4e8a3b9b24aedd2af +DIST gr-osmosdr-0.2.3.tar.gz 252727 BLAKE2B 04fe86496c09a274058bfd812fc14d7843d7e9db2648cf2cf5292e50494a859e22b1ab211f7078f2b6964c786c5f5ad5c3c9d2dd44ec5fc96d240b96f2cb63f4 SHA512 3c82a39972a309aa5b023b9c5e61f1fc80b797380b7a6c6c23cd4fe278cfaba3ab3019f32d38ebc01300868bb892f6aaaa7f12c9ee9b7ab5ba3e38817a40bf3e diff --git a/net-wireless/gr-osmosdr/gr-osmosdr-0.2.2.ebuild b/net-wireless/gr-osmosdr/gr-osmosdr-0.2.3.ebuild index af9ebaa516aa..33c1a0233fa8 100644 --- a/net-wireless/gr-osmosdr/gr-osmosdr-0.2.2.ebuild +++ b/net-wireless/gr-osmosdr/gr-osmosdr-0.2.3.ebuild @@ -19,47 +19,44 @@ fi LICENSE="GPL-3" SLOT="0/${PV}" -IUSE="airspy bladerf hackrf iqbalance mirisdr python rtlsdr sdrplay soapy uhd" +IUSE="airspy bladerf hackrf iqbalance python rtlsdr sdrplay soapy uhd" +#xtrx? ( net-wireless/libxtrx ) RDEPEND="${PYTHON_DEPS} dev-libs/boost:= =net-wireless/gnuradio-3.8*:0=[${PYTHON_SINGLE_USEDEP}] - sci-libs/volk + sci-libs/volk:= airspy? ( net-wireless/airspy ) bladerf? ( >=net-wireless/bladerf-2018.08_rc1:= ) hackrf? ( net-libs/libhackrf:= ) iqbalance? ( net-wireless/gr-iqbal:=[${PYTHON_SINGLE_USEDEP}] ) - mirisdr? ( net-libs/libmirisdr:= ) rtlsdr? ( >=net-wireless/rtl-sdr-0.5.4:= ) sdrplay? ( net-wireless/sdrplay ) soapy? ( net-wireless/soapysdr:= ) - uhd? ( net-wireless/uhd:=[${PYTHON_SINGLE_USEDEP}] )" + uhd? ( net-wireless/uhd:=[${PYTHON_SINGLE_USEDEP}] ) + " DEPEND="${RDEPEND}" REQUIRED_USE="${PYTHON_REQUIRED_USE}" -src_prepare() { - cmake_src_prepare - sed -i "s:\${GR_DOC_DIR}/\${CMAKE_PROJECT_NAME}:\${GR_DOC_DIR}/${PF}:" CMakeLists.txt || die -} - src_configure() { + #-DENABLE_XTRX="$(usex xtrx ON OFF)" local mycmakeargs=( -DENABLE_DEFAULT=OFF -DPYTHON_EXECUTABLE="${PYTHON}" -DENABLE_FILE=ON - -DENABLE_AIRSPY="$(usex airspy)" - -DENABLE_BLADERF="$(usex bladerf)" - -DENABLE_HACKRF="$(usex hackrf)" - -DENABLE_IQBALANCE="$(usex iqbalance)" - -DENABLE_MIRI="$(usex mirisdr)" - -DENABLE_PYTHON="$(usex python)" - -DENABLE_RTL="$(usex rtlsdr)" - -DENABLE_RTL_TCP="$(usex rtlsdr)" - -DENABLE_SOAPY="$(usex soapy)" - -DENABLE_UHD="$(usex uhd)" - -DENABLE_SDRPLAY="$(usex sdrplay)" - -DENABLE_NONFREE="$(usex sdrplay)" + -DENABLE_AIRSPY="$(usex airspy ON OFF)" + -DENABLE_BLADERF="$(usex bladerf ON OFF)" + -DENABLE_HACKRF="$(usex hackrf ON OFF)" + -DENABLE_IQBALANCE="$(usex iqbalance ON OFF)" + -DENABLE_PYTHON="$(usex python ON OFF)" + -DENABLE_RTL="$(usex rtlsdr ON OFF)" + -DENABLE_RTL_TCP="$(usex rtlsdr ON OFF)" + -DENABLE_SDRPLAY="$(usex sdrplay ON OFF)" + -DENABLE_NONFREE="$(usex sdrplay ON OFF)" + -DENABLE_SOAPY="$(usex soapy ON OFF)" + -DENABLE_UHD="$(usex uhd ON OFF)" + -DENABLE_XTRX=OFF ) cmake_src_configure @@ -68,10 +65,8 @@ src_configure() { src_install() { cmake_src_install if use python; then - # Remove incorrectly byte-compiled Python files and replace - # https://github.com/gnuradio/gnuradio/issues/2944 - find "${ED}"/usr/lib* -name "*.py[co]" -exec rm {} \; || die python_fix_shebang "${ED}"/usr/bin python_optimize fi + mv "${ED}/usr/share/doc/${PN}" "${ED}/usr/share/doc/${P}" } diff --git a/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild b/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild index 00b281ec6758..33c1a0233fa8 100644 --- a/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild +++ b/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild @@ -21,10 +21,11 @@ LICENSE="GPL-3" SLOT="0/${PV}" IUSE="airspy bladerf hackrf iqbalance python rtlsdr sdrplay soapy uhd" +#xtrx? ( net-wireless/libxtrx ) RDEPEND="${PYTHON_DEPS} dev-libs/boost:= =net-wireless/gnuradio-3.8*:0=[${PYTHON_SINGLE_USEDEP}] - sci-libs/volk + sci-libs/volk:= airspy? ( net-wireless/airspy ) bladerf? ( >=net-wireless/bladerf-2018.08_rc1:= ) hackrf? ( net-libs/libhackrf:= ) @@ -32,27 +33,30 @@ RDEPEND="${PYTHON_DEPS} rtlsdr? ( >=net-wireless/rtl-sdr-0.5.4:= ) sdrplay? ( net-wireless/sdrplay ) soapy? ( net-wireless/soapysdr:= ) - uhd? ( net-wireless/uhd:=[${PYTHON_SINGLE_USEDEP}] )" + uhd? ( net-wireless/uhd:=[${PYTHON_SINGLE_USEDEP}] ) + " DEPEND="${RDEPEND}" REQUIRED_USE="${PYTHON_REQUIRED_USE}" src_configure() { + #-DENABLE_XTRX="$(usex xtrx ON OFF)" local mycmakeargs=( -DENABLE_DEFAULT=OFF -DPYTHON_EXECUTABLE="${PYTHON}" -DENABLE_FILE=ON - -DENABLE_AIRSPY="$(usex airspy)" - -DENABLE_BLADERF="$(usex bladerf)" - -DENABLE_HACKRF="$(usex hackrf)" - -DENABLE_IQBALANCE="$(usex iqbalance)" - -DENABLE_PYTHON="$(usex python)" - -DENABLE_RTL="$(usex rtlsdr)" - -DENABLE_RTL_TCP="$(usex rtlsdr)" - -DENABLE_SOAPY="$(usex soapy)" - -DENABLE_UHD="$(usex uhd)" - -DENABLE_SDRPLAY="$(usex sdrplay)" - -DENABLE_NONFREE="$(usex sdrplay)" + -DENABLE_AIRSPY="$(usex airspy ON OFF)" + -DENABLE_BLADERF="$(usex bladerf ON OFF)" + -DENABLE_HACKRF="$(usex hackrf ON OFF)" + -DENABLE_IQBALANCE="$(usex iqbalance ON OFF)" + -DENABLE_PYTHON="$(usex python ON OFF)" + -DENABLE_RTL="$(usex rtlsdr ON OFF)" + -DENABLE_RTL_TCP="$(usex rtlsdr ON OFF)" + -DENABLE_SDRPLAY="$(usex sdrplay ON OFF)" + -DENABLE_NONFREE="$(usex sdrplay ON OFF)" + -DENABLE_SOAPY="$(usex soapy ON OFF)" + -DENABLE_UHD="$(usex uhd ON OFF)" + -DENABLE_XTRX=OFF ) cmake_src_configure |