diff options
author | Rick Farina <zerochaos@gentoo.org> | 2015-07-31 01:31:20 +0000 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2015-07-31 01:31:20 +0000 |
commit | cdbacedfeba42e007c3662828cb314c1129909cf (patch) | |
tree | 1ed097ef0b44b8f7a8d4804c4a950aa5a2f8546d /net-wireless | |
parent | adding so sigmavirus24 leaves me alone (diff) | |
download | gentoo-2-cdbacedfeba42e007c3662828cb314c1129909cf.tar.gz gentoo-2-cdbacedfeba42e007c3662828cb314c1129909cf.tar.bz2 gentoo-2-cdbacedfeba42e007c3662828cb314c1129909cf.zip |
9 months since a tag, I'm calling it a tag
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/gr-osmosdr/ChangeLog | 10 | ||||
-rw-r--r-- | net-wireless/gr-osmosdr/gr-osmosdr-0.1.4_p20150730.ebuild | 70 |
2 files changed, 78 insertions, 2 deletions
diff --git a/net-wireless/gr-osmosdr/ChangeLog b/net-wireless/gr-osmosdr/ChangeLog index c7b5fca12590..8caf857dbfd0 100644 --- a/net-wireless/gr-osmosdr/ChangeLog +++ b/net-wireless/gr-osmosdr/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/gr-osmosdr -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/gr-osmosdr/ChangeLog,v 1.28 2014/11/05 05:05:10 zerochaos Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/gr-osmosdr/ChangeLog,v 1.29 2015/07/31 01:31:20 zerochaos Exp $ + +*gr-osmosdr-0.1.4_p20150730 (31 Jul 2015) + + 31 Jul 2015; Rick Farina <zerochaos@gentoo.org> + +gr-osmosdr-0.1.4_p20150730.ebuild: + 9 months since a tag, I'm calling it a tag *gr-osmosdr-0.1.4 (05 Nov 2014) 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 new file mode 100644 index 000000000000..f94118f45c60 --- /dev/null +++ b/net-wireless/gr-osmosdr/gr-osmosdr-0.1.4_p20150730.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/gr-osmosdr/gr-osmosdr-0.1.4_p20150730.ebuild,v 1.1 2015/07/31 01:31:20 zerochaos Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit cmake-utils python-single-r1 + +DESCRIPTION="GNU Radio source block for OsmoSDR and rtlsdr and hackrf" +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="" +else + #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" + KEYWORDS="~amd64 ~arm ~x86" +fi + +LICENSE="GPL-3" +SLOT="0/${PV}" +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}] + 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:= ) + 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) + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + python_fix_shebang "${ED}"/usr/bin +} |