From 99abbc5e5a6ecd3fc981b45646fd8cb5d320377b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 24 Feb 2018 19:58:07 +0000 Subject: gentoo resync : 24.02.2018 --- net-wireless/soapysdr/Manifest | 4 +++ net-wireless/soapysdr/metadata.xml | 21 ++++++++++++ net-wireless/soapysdr/soapysdr-0.6.1.ebuild | 52 +++++++++++++++++++++++++++++ net-wireless/soapysdr/soapysdr-9999.ebuild | 52 +++++++++++++++++++++++++++++ 4 files changed, 129 insertions(+) create mode 100644 net-wireless/soapysdr/Manifest create mode 100644 net-wireless/soapysdr/metadata.xml create mode 100644 net-wireless/soapysdr/soapysdr-0.6.1.ebuild create mode 100644 net-wireless/soapysdr/soapysdr-9999.ebuild (limited to 'net-wireless/soapysdr') diff --git a/net-wireless/soapysdr/Manifest b/net-wireless/soapysdr/Manifest new file mode 100644 index 000000000000..b44131525644 --- /dev/null +++ b/net-wireless/soapysdr/Manifest @@ -0,0 +1,4 @@ +DIST soapysdr-0.6.1.tar.gz 112820 BLAKE2B 42376a7a43c0d5a87a5b17b7d901cc7c74885083051c433c1f22427fe07a4fb0f111ddb460867bd7f748cb3ac6858b15e3dc69ba3ecca4574802c6bd0856a8cc SHA512 80ae8d0b096139e0df70524a1ff05fa1954755177d7920dbd8acb37e45cf86729e2745dcfd4e9c7ae2d7aa564335c2f197ca25ea387daa8f376d6c3e93234106 +EBUILD soapysdr-0.6.1.ebuild 1235 BLAKE2B 78b749481db6750124259a0e3a66034c94ede5fda924873edf807d78eff2f903b09d5c1fa1a3147810a4d930a1cd47a2eb6dbaa0e472e76d13559d00732dfcc6 SHA512 2e222f6e840fbb7e31fb4e56191a34c3b2bf1d469fbe4f60a8a09ec00fcdfc874aa0da63e48de686e1b17e6e70ee57490fda991b748db2e2321f47c879043673 +EBUILD soapysdr-9999.ebuild 1235 BLAKE2B 78b749481db6750124259a0e3a66034c94ede5fda924873edf807d78eff2f903b09d5c1fa1a3147810a4d930a1cd47a2eb6dbaa0e472e76d13559d00732dfcc6 SHA512 2e222f6e840fbb7e31fb4e56191a34c3b2bf1d469fbe4f60a8a09ec00fcdfc874aa0da63e48de686e1b17e6e70ee57490fda991b748db2e2321f47c879043673 +MISC metadata.xml 693 BLAKE2B ddf63211f73a324f7ce5d84ea9633854994cfd580a780dfa568a88493006cc87672d05901bb04e382d2dbd1d52ffcf384eefcaade09cf26f220b665ea81dff33 SHA512 6745812d3f88da416a94a9255b9797b3979e1e4c81a6653279cfa5820914fe340ebc455446aa19b5209d7d7abfc0358dcd89b7300ab8193d8a49d06fd2d15cf3 diff --git a/net-wireless/soapysdr/metadata.xml b/net-wireless/soapysdr/metadata.xml new file mode 100644 index 000000000000..cf56d5875a6e --- /dev/null +++ b/net-wireless/soapysdr/metadata.xml @@ -0,0 +1,21 @@ + + + + + zerochaos@gentoo.org + Rick Farina + + + radio@gentoo.org + Radio + + + Add support for bladerf hardware + Add support for hackrf hardware + Add support for rtlsdr hardware + Add support for Ettus USRP hardware + + + cpothosware/SoapySDR + + diff --git a/net-wireless/soapysdr/soapysdr-0.6.1.ebuild b/net-wireless/soapysdr/soapysdr-0.6.1.ebuild new file mode 100644 index 000000000000..0669ed4ac687 --- /dev/null +++ b/net-wireless/soapysdr/soapysdr-0.6.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit cmake-utils python-r1 + +DESCRIPTION="vendor and platform neutral SDR support library" +HOMEPAGE="https://github.com/pothosware/SoapySDR" + +if [ "${PV}" = "9999" ]; then + EGIT_REPO_URI="https://github.com/pothosware/SoapySDR.git" + EGIT_CLONE_TYPE="shallow" + KEYWORDS="" + inherit git-r3 +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/pothosware/SoapySDR/archive/soapy-sdr-${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}"/SoapySDR-soapy-sdr-"${PV}" +fi + +LICENSE="Boost-1.0" +SLOT="0" + +IUSE="bladerf hackrf python rtlsdr uhd" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="python? ( ${PYTHON_DEPS} )" +DEPEND="${RDEPEND} + python? ( dev-lang/swig:0 ) +" +PDEPEND="bladerf? ( net-wireless/soapybladerf ) + hackrf? ( net-wireless/soapyhackrf ) + rtlsdr? ( net-wireless/soapyrtlsdr ) + uhd? ( net-wireless/soapyuhd )" + +src_configure() { + configuration() { + mycmakeargs+=( -DENABLE_PYTHON=ON ) + if python_is_python3; then + mycmakeargs+=( -DBUILD_PYTHON3=ON ) + fi + } + + if use python; then + python_foreach_impl configuration + fi + + cmake-utils_src_configure +} diff --git a/net-wireless/soapysdr/soapysdr-9999.ebuild b/net-wireless/soapysdr/soapysdr-9999.ebuild new file mode 100644 index 000000000000..0669ed4ac687 --- /dev/null +++ b/net-wireless/soapysdr/soapysdr-9999.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit cmake-utils python-r1 + +DESCRIPTION="vendor and platform neutral SDR support library" +HOMEPAGE="https://github.com/pothosware/SoapySDR" + +if [ "${PV}" = "9999" ]; then + EGIT_REPO_URI="https://github.com/pothosware/SoapySDR.git" + EGIT_CLONE_TYPE="shallow" + KEYWORDS="" + inherit git-r3 +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/pothosware/SoapySDR/archive/soapy-sdr-${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}"/SoapySDR-soapy-sdr-"${PV}" +fi + +LICENSE="Boost-1.0" +SLOT="0" + +IUSE="bladerf hackrf python rtlsdr uhd" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="python? ( ${PYTHON_DEPS} )" +DEPEND="${RDEPEND} + python? ( dev-lang/swig:0 ) +" +PDEPEND="bladerf? ( net-wireless/soapybladerf ) + hackrf? ( net-wireless/soapyhackrf ) + rtlsdr? ( net-wireless/soapyrtlsdr ) + uhd? ( net-wireless/soapyuhd )" + +src_configure() { + configuration() { + mycmakeargs+=( -DENABLE_PYTHON=ON ) + if python_is_python3; then + mycmakeargs+=( -DBUILD_PYTHON3=ON ) + fi + } + + if use python; then + python_foreach_impl configuration + fi + + cmake-utils_src_configure +} -- cgit v1.2.3