diff options
author | Zero_Chaos <zerochaos@gentoo.org> | 2018-02-19 11:52:08 -0500 |
---|---|---|
committer | Zero_Chaos <zerochaos@gentoo.org> | 2018-02-19 12:29:25 -0500 |
commit | f929c88a71e18663f11ffbf87216016dae32b526 (patch) | |
tree | 5e71f7134a37f3f8bfb30ab92a272d040210cd93 /net-wireless/gr-osmosdr | |
parent | net-wireless/soapy_power: import from pentoo (diff) | |
download | gentoo-f929c88a71e18663f11ffbf87216016dae32b526.tar.gz gentoo-f929c88a71e18663f11ffbf87216016dae32b526.tar.bz2 gentoo-f929c88a71e18663f11ffbf87216016dae32b526.zip |
net-wireless/gr-osmosdr: add soapy backend
bump, minor updates
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'net-wireless/gr-osmosdr')
-rw-r--r-- | net-wireless/gr-osmosdr/Manifest | 2 | ||||
-rw-r--r-- | net-wireless/gr-osmosdr/gr-osmosdr-0.1.4_p20150730.ebuild | 3 | ||||
-rw-r--r-- | net-wireless/gr-osmosdr/gr-osmosdr-0.1.4_p20170612.ebuild (renamed from net-wireless/gr-osmosdr/gr-osmosdr-0.1.4.ebuild) | 40 | ||||
-rw-r--r-- | net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild | 34 | ||||
-rw-r--r-- | net-wireless/gr-osmosdr/metadata.xml | 1 |
5 files changed, 42 insertions, 38 deletions
diff --git a/net-wireless/gr-osmosdr/Manifest b/net-wireless/gr-osmosdr/Manifest index 81784e2b4ecb..8ca6ce874625 100644 --- a/net-wireless/gr-osmosdr/Manifest +++ b/net-wireless/gr-osmosdr/Manifest @@ -1,2 +1,2 @@ -DIST gr-osmosdr-0.1.4.tar.xz 141500 BLAKE2B 1e65d59440cd4beadcb54e6c20cb38b2ad222811348475ac9a7109971b64bbdc11991f6b4e7f0de1fba79f6eddba9befedf9a0a3903211cbae7581f99a13bd40 SHA512 930a7f6065fba709fb770fd373f0fe7eba13abf09e49f6e839718d547ce69176d93d89d1b037ee3f0cdffda7060ac6c9ff4023dc835ec50ef456d51d383046ab DIST gr-osmosdr-0.1.4_p20150730.tar.xz 1148596 BLAKE2B ff5f27dc32438c94ac920e77e7722b3a4331c350b0535a8a787b72ad8653f57dc2a434c3dec9499bbe791e12dc863323c8f9f6c750b2c154ab35ed722e8e221f SHA512 7e6847eba0d4e217ea71bb4b8105290b329bf8840a7193df013b3a0cd9c9ef57f3686252da48cb0df239288b5794c75178a8bb45ff2a2dd8b605f63fec2426d9 +DIST gr-osmosdr-0.1.4_p20170612.tar.xz 174416 BLAKE2B d0ef0d4348b561da10f3e8b99fb43f93fbee5c19a1a4fdcc465f2a63425a42ad0f8d64f522e4aafd5182e66c3c96b42f603e9b595e61b0be15b45eae5330fe5e SHA512 9cf3d0453696c7cfe0679136335a71ec5fd18c4b09cbe3e75fca90626065bf6640969bf224219fe796739abbc3b627eb8bf3509b52f764c38b57f169005ea933 diff --git a/net-wireless/gr-osmosdr/gr-osmosdr-0.1.4_p20150730.ebuild b/net-wireless/gr-osmosdr/gr-osmosdr-0.1.4_p20150730.ebuild index 417f9cbdcf4c..b6d21d3f25c0 100644 --- a/net-wireless/gr-osmosdr/gr-osmosdr-0.1.4_p20150730.ebuild +++ b/net-wireless/gr-osmosdr/gr-osmosdr-0.1.4_p20150730.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -29,6 +29,7 @@ IUSE="bladerf fcd hackrf iqbalance mirisdr python rtlsdr uhd" RDEPEND="${PYTHON_DEPS} dev-libs/boost:= >=net-wireless/gnuradio-3.7_rc:0=[fcd?,${PYTHON_USEDEP}] + <net-wireless/gnuradio-9999 bladerf? ( net-wireless/bladerf:= ) hackrf? ( net-libs/libhackrf:= ) iqbalance? ( net-wireless/gr-iqbal:=[${PYTHON_USEDEP}] ) diff --git a/net-wireless/gr-osmosdr/gr-osmosdr-0.1.4.ebuild b/net-wireless/gr-osmosdr/gr-osmosdr-0.1.4_p20170612.ebuild index 3290d91a6d36..87fd96eee083 100644 --- a/net-wireless/gr-osmosdr/gr-osmosdr-0.1.4.ebuild +++ b/net-wireless/gr-osmosdr/gr-osmosdr-0.1.4_p20170612.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 PYTHON_COMPAT=( python2_7 ) inherit cmake-utils python-single-r1 @@ -15,49 +15,49 @@ if [[ ${PV} == 9999* ]]; then 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 #cd gr-osmosdr #git archive --format=tar --prefix=gr-osmosdr-${PV}/ v${PV} | xz > ../gr-osmosdr-${PV}.tar.xz - SRC_URI="http://cgit.osmocom.org/gr-osmosdr/snapshot/gr-osmosdr-${PV}.tar.xz" - KEYWORDS="~amd64 ~arm ~x86" + SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/gr-osmosdr-${PV}.tar.xz" + KEYWORDS="~amd64 ~x86" fi LICENSE="GPL-3" SLOT="0/${PV}" -IUSE="bladerf fcd hackrf iqbalance mirisdr python rtlsdr uhd" +IUSE="bladerf fcd hackrf iqbalance mirisdr python rtlsdr soapy uhd" RDEPEND="${PYTHON_DEPS} dev-libs/boost:= >=net-wireless/gnuradio-3.7_rc:0=[fcd?,${PYTHON_USEDEP}] + <net-wireless/gnuradio-9999 bladerf? ( net-wireless/bladerf:= ) hackrf? ( net-libs/libhackrf:= ) iqbalance? ( net-wireless/gr-iqbal:=[${PYTHON_USEDEP}] ) mirisdr? ( net-libs/libmirisdr:= ) rtlsdr? ( >=net-wireless/rtl-sdr-0.5.3:= ) + soapy? ( net-wireless/soapysdr ) uhd? ( net-wireless/uhd:=[${PYTHON_USEDEP}] )" DEPEND="${RDEPEND} dev-python/cheetah" REQUIRED_USE="${PYTHON_REQUIRED_USE}" -src_prepare() { - epatch_user -} - src_configure() { local mycmakeargs=( -DENABLE_DEFAULT=OFF -DPYTHON_EXECUTABLE="${PYTHON}" -DENABLE_FILE=ON - $(cmake-utils_use_enable bladerf) - $(cmake-utils_use_enable fcd) - $(cmake-utils_use_enable hackrf) - $(cmake-utils_use_enable iqbalance) - $(cmake-utils_use_enable mirisdr MIRI) - $(cmake-utils_use_enable python) - $(cmake-utils_use_enable rtlsdr RTL) - $(cmake-utils_use_enable rtlsdr RTL_TCP) - $(cmake-utils_use_enable uhd) + -DENABLE_BLADERF="$(usex bladerf)" + -DENABLE_FCD="$(usex fcd)" + -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)" ) cmake-utils_src_configure @@ -65,5 +65,7 @@ src_configure() { src_install() { cmake-utils_src_install - python_fix_shebang "${ED}"/usr/bin + if use python; then + python_fix_shebang "${ED}"/usr/bin + fi } diff --git a/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild b/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild index 8c05c70733f1..86677af90cad 100644 --- a/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild +++ b/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 PYTHON_COMPAT=( python2_7 ) inherit cmake-utils python-single-r1 @@ -15,49 +15,49 @@ if [[ ${PV} == 9999* ]]; then 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 #cd gr-osmosdr #git archive --format=tar --prefix=gr-osmosdr-${PV}/ v${PV} | xz > ../gr-osmosdr-${PV}.tar.xz - SRC_URI="http://cgit.osmocom.org/gr-osmosdr/snapshot/gr-osmosdr-${PV}.tar.xz" + SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/gr-osmosdr-${PV}.tar.xz" KEYWORDS="~amd64 ~arm ~x86" fi LICENSE="GPL-3" SLOT="0/${PV}" -IUSE="bladerf fcd hackrf iqbalance mirisdr python rtlsdr uhd" +IUSE="bladerf fcd hackrf iqbalance mirisdr python rtlsdr soapy uhd" RDEPEND="${PYTHON_DEPS} dev-libs/boost:= >=net-wireless/gnuradio-3.7_rc:0=[fcd?,${PYTHON_USEDEP}] + <net-wireless/gnuradio-9999 bladerf? ( net-wireless/bladerf:= ) hackrf? ( net-libs/libhackrf:= ) iqbalance? ( net-wireless/gr-iqbal:=[${PYTHON_USEDEP}] ) mirisdr? ( net-libs/libmirisdr:= ) rtlsdr? ( >=net-wireless/rtl-sdr-0.5.3:= ) + soapy? ( net-wireless/soapysdr ) uhd? ( net-wireless/uhd:=[${PYTHON_USEDEP}] )" DEPEND="${RDEPEND} dev-python/cheetah" REQUIRED_USE="${PYTHON_REQUIRED_USE}" -src_prepare() { - epatch_user -} - src_configure() { local mycmakeargs=( -DENABLE_DEFAULT=OFF -DPYTHON_EXECUTABLE="${PYTHON}" -DENABLE_FILE=ON - $(cmake-utils_use_enable bladerf) - $(cmake-utils_use_enable fcd) - $(cmake-utils_use_enable hackrf) - $(cmake-utils_use_enable iqbalance) - $(cmake-utils_use_enable mirisdr MIRI) - $(cmake-utils_use_enable python) - $(cmake-utils_use_enable rtlsdr RTL) - $(cmake-utils_use_enable rtlsdr RTL_TCP) - $(cmake-utils_use_enable uhd) + -DENABLE_BLADERF="$(usex bladerf)" + -DENABLE_FCD="$(usex fcd)" + -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)" ) cmake-utils_src_configure diff --git a/net-wireless/gr-osmosdr/metadata.xml b/net-wireless/gr-osmosdr/metadata.xml index e8e448711acc..9dc2a893a658 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="soapy">Build with SoapySDR support</flag> <flag name="uhd">Build with Ettus Research USRP Hardware Driver support</flag> </use> </pkgmetadata> |