diff options
author | Rick Farina <zerochaos@gentoo.org> | 2013-07-07 16:52:02 +0000 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2013-07-07 16:52:02 +0000 |
commit | c1d569b09890c3b803fb15b51f17bec4d161038a (patch) | |
tree | 09f28bbfeab88a6eca7e005d97ab9abacda5637f /net-wireless | |
parent | adding gr-3.7 compat version p.masked since it doesn't work with gr-osmosdr (diff) | |
download | gentoo-2-c1d569b09890c3b803fb15b51f17bec4d161038a.tar.gz gentoo-2-c1d569b09890c3b803fb15b51f17bec4d161038a.tar.bz2 gentoo-2-c1d569b09890c3b803fb15b51f17bec4d161038a.zip |
adding gr-3.7 compat version p.masked due to not detecting gr-iqbal
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/gr-osmosdr/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/gr-osmosdr/gr-osmosdr-0.0.2.ebuild | 4 | ||||
-rw-r--r-- | net-wireless/gr-osmosdr/gr-osmosdr-0.1.0.ebuild | 66 |
3 files changed, 75 insertions, 3 deletions
diff --git a/net-wireless/gr-osmosdr/ChangeLog b/net-wireless/gr-osmosdr/ChangeLog index 63ad3a8006a3..6ade0cc95fb0 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-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/gr-osmosdr/ChangeLog,v 1.16 2013/07/01 06:49:12 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/gr-osmosdr/ChangeLog,v 1.17 2013/07/07 16:52:02 zerochaos Exp $ + +*gr-osmosdr-0.1.0 (07 Jul 2013) + + 07 Jul 2013; Rick Farina <zerochaos@gentoo.org> +gr-osmosdr-0.1.0.ebuild, + gr-osmosdr-0.0.2.ebuild: + adding gr-3.7 compat version p.masked due to not detecting gr-iqbal 01 Jul 2013; Patrick Lauer <patrick@gentoo.org> metadata.xml: Remove redundant osmosdr useflag description diff --git a/net-wireless/gr-osmosdr/gr-osmosdr-0.0.2.ebuild b/net-wireless/gr-osmosdr/gr-osmosdr-0.0.2.ebuild index 36866a9ed62e..1c067422d281 100644 --- a/net-wireless/gr-osmosdr/gr-osmosdr-0.0.2.ebuild +++ b/net-wireless/gr-osmosdr/gr-osmosdr-0.0.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 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.0.2.ebuild,v 1.4 2013/06/25 13:32:01 chithanh Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/gr-osmosdr/gr-osmosdr-0.0.2.ebuild,v 1.5 2013/07/07 16:52:02 zerochaos Exp $ EAPI=5 PYTHON_DEPEND="python? 2" @@ -28,7 +28,7 @@ IUSE="fcd hackrf iqbalance python rtlsdr uhd" # osmosdr? ( net-libs/libosmosdr:= ) RDEPEND="<net-wireless/gnuradio-3.7_rc:0=[fcd?] hackrf? ( net-libs/libhackrf:= ) - iqbalance? ( net-wireless/gr-iqbal:= ) + iqbalance? ( =net-wireless/gr-iqbal-0.36.0:= ) rtlsdr? ( net-wireless/rtl-sdr:= ) uhd? ( net-wireless/uhd:= )" DEPEND="${RDEPEND} diff --git a/net-wireless/gr-osmosdr/gr-osmosdr-0.1.0.ebuild b/net-wireless/gr-osmosdr/gr-osmosdr-0.1.0.ebuild new file mode 100644 index 000000000000..6bf2c5ec4ed0 --- /dev/null +++ b/net-wireless/gr-osmosdr/gr-osmosdr-0.1.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2013 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.0.ebuild,v 1.1 2013/07/07 16:52:02 zerochaos Exp $ + +EAPI=5 +PYTHON_DEPEND="python? 2" + +inherit cmake-utils python + +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-2 + SRC_URI="" + EGIT_REPO_URI="git://git.osmocom.org/${PN}.git" + KEYWORDS="" +else + SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~x86" +fi + +LICENSE="GPL-3" +SLOT="0/${PV}" +IUSE="fcd hackrf iqbalance python rtlsdr uhd" +#IUSE="fcd hackrf iqbalance osmosdr python rtlsdr uhd" + +# osmosdr? ( net-libs/libosmosdr:= ) +RDEPEND=">=net-wireless/gnuradio-3.7_rc:0=[fcd?] + hackrf? ( net-libs/libhackrf:= ) + iqbalance? ( =net-wireless/gr-iqbal-0.37.0:= ) + rtlsdr? ( net-wireless/rtl-sdr:= ) + uhd? ( net-wireless/uhd:= )" +DEPEND="${RDEPEND} + dev-python/cheetah" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + python_convert_shebangs -q -r 2 "${S}" +} + +src_configure() { + local mycmakeargs=( + -DENABLE_DEFAULT=OFF + $(cmake-utils_use_enable fcd) + $(cmake-utils_use_enable hackrf) + $(cmake-utils_use_enable iqbalance) + $(cmake-utils_use_enable python) + $(cmake-utils_use_enable rtlsdr RTL) + $(cmake-utils_use_enable uhd) + ) +# $(cmake-utils_use_enable osmosdr) + + cmake-utils_src_configure +} + +pkg_postinst() { + if use !rtlsdr && has 0.0.1 ${REPLACING_VERSIONS}; then + ewarn "RTL-SDR support is no longer enabled by default." + ewarn "Set USE=\"rtlsdr\" if you need it." + fi +} |