diff options
author | Rick Farina <zerochaos@gentoo.org> | 2019-12-03 19:25:02 -0500 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2019-12-03 19:25:49 -0500 |
commit | c7b7c4910acf50cb7cc363be93fd721259280850 (patch) | |
tree | 1c649d2ca52f78d98186b54a8e8b0f85d2cd10ea /net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild | |
parent | net-wireless/airspy: add ~arm (diff) | |
download | gentoo-c7b7c4910acf50cb7cc363be93fd721259280850.tar.gz gentoo-c7b7c4910acf50cb7cc363be93fd721259280850.tar.bz2 gentoo-c7b7c4910acf50cb7cc363be93fd721259280850.zip |
net-wireless/gr-osmosdr: add airspy support
cosmetic version bump to match upstream
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild')
-rw-r--r-- | net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild b/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild index 67f6413233c9..780a3c706b83 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-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 PYTHON_COMPAT=( python2_7 ) inherit cmake-utils python-single-r1 @@ -11,25 +11,20 @@ HOMEPAGE="http://sdr.osmocom.org/trac/wiki/GrOsmoSDR" if [[ ${PV} == 9999* ]]; then inherit git-r3 - SRC_URI="" - EGIT_REPO_URI="git://git.osmocom.org/${PN}.git" - KEYWORDS="" + EGIT_REPO_URI="https://github.com/osmocom/gr-osmosdr.git" 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="https://dev.gentoo.org/~zerochaos/distfiles/gr-osmosdr-${PV}.tar.xz" + SRC_URI="https://github.com/osmocom/gr-osmosdr/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~arm ~x86" fi LICENSE="GPL-3" SLOT="0/${PV}" -IUSE="bladerf fcd hackrf iqbalance mirisdr python rtlsdr sdrplay soapy uhd" +IUSE="airspy 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}] + airspy? ( net-wireless/airspy ) bladerf? ( >=net-wireless/bladerf-2018.08_rc1:= ) hackrf? ( net-libs/libhackrf:= ) iqbalance? ( net-wireless/gr-iqbal:=[${PYTHON_USEDEP}] ) @@ -48,6 +43,7 @@ src_configure() { -DENABLE_DEFAULT=OFF -DPYTHON_EXECUTABLE="${PYTHON}" -DENABLE_FILE=ON + -DENABLE_AIRSPY="$(usex airspy)" -DENABLE_BLADERF="$(usex bladerf)" -DENABLE_FCD="$(usex fcd)" -DENABLE_HACKRF="$(usex hackrf)" |