summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2016-04-04 11:46:55 -0400
committerZero_Chaos <zerochaos@gentoo.org>2016-04-04 11:47:24 -0400
commitf352105679bc1b50403cc131b8eca8cea7ec4a57 (patch)
treee71f365480c4ad151c29ef70fec1dcf43cd75abb /net-wireless/bladerf
parentnet-wireless/bladerf-firmware: fix repoman warning (diff)
downloadgentoo-f352105679bc1b50403cc131b8eca8cea7ec4a57.tar.gz
gentoo-f352105679bc1b50403cc131b8eca8cea7ec4a57.tar.bz2
gentoo-f352105679bc1b50403cc131b8eca8cea7ec4a57.zip
net-wireless/bladerf: 2016.01-rc1 release
Package-Manager: portage-2.2.28
Diffstat (limited to 'net-wireless/bladerf')
-rw-r--r--net-wireless/bladerf/Manifest1
-rw-r--r--net-wireless/bladerf/bladerf-2016.01_rc1.ebuild53
-rw-r--r--net-wireless/bladerf/bladerf-9999.ebuild6
3 files changed, 57 insertions, 3 deletions
diff --git a/net-wireless/bladerf/Manifest b/net-wireless/bladerf/Manifest
index f2ea47d1302..feacd91084f 100644
--- a/net-wireless/bladerf/Manifest
+++ b/net-wireless/bladerf/Manifest
@@ -1,2 +1,3 @@
DIST bladerf-2015.02.tar.gz 1297072 SHA256 387855d38fa425e55247fbcba28b386b23d87168e5d49aa3911d02e448a18eb6 SHA512 04fa431232562cf589489961a5206022be59687531aeb118aac8b8b58f74862cac7fad5c55676c0cf3b33e19abbf9e2a1339237eade2fd96c5ecdb37b51e9603 WHIRLPOOL 733b5ec527aae1420f763274c0cad239a782e41f2624fdf5a583cbddd4dafed22fcde2b051931cb756922909f84240e7eeed899bd1b52182bdb752fd6e8a5558
DIST bladerf-2015.07.tar.gz 1418766 SHA256 9e15911ab39ba1eb4aa1bcbf518a0eac5396207fc4a58c32b2550fe0a65f9d22 SHA512 01589bc9bd6ee2d4120597133c7a69ed91a80c74bc75b70fb4470a9a14328161fcf4ba7112ec91ea12bedb3de7325135ac125b26f09c22dc6e49d9c23247bec8 WHIRLPOOL fe5c5716d6777ef71d1a7b482ec31792d07d360a04cb319a04d5e712b82c345ab83fd4db100fcb62a5cec9ce1b0983234b2b2c8eb8999a0a806a80990ea6ba5a
+DIST bladerf-2016.01_rc1.tar.gz 1605673 SHA256 14b7fbd3ef0c617748e413dae2e9c4a0fe98423bf3fd721aca1368e41ebf95a8 SHA512 92b3a64688fc7022edde6cddb366a6997d66dd32d26daff5817cae5baeca0f1d641721a5eec1d65eac3d39fa74c207ad996b0c67c901d0759decbac713d3fd0f WHIRLPOOL 9555815a7080ef75b325f4d29e6d9e9652fa06cae33bcbc3f8aaf72965a652ebd90b3c25ddec0efcdbbdf25fba909c420050812757f42db395d59f42d59cfe5a
diff --git a/net-wireless/bladerf/bladerf-2016.01_rc1.ebuild b/net-wireless/bladerf/bladerf-2016.01_rc1.ebuild
new file mode 100644
index 00000000000..4d5e021f28f
--- /dev/null
+++ b/net-wireless/bladerf/bladerf-2016.01_rc1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils udev
+
+DESCRIPTION="Libraries for supporing the BladeRF hardware from Nuand"
+HOMEPAGE="http://nuand.com/"
+
+#lib is LGPL and cli tools are GPL
+LICENSE="GPL-2+ LGPL-2.1+"
+
+SLOT="0/${PV}"
+
+#maintainer notes:
+#doc use flag, looks like it can't be disabled right now and will
+# always build if pandoc and help2man are installed
+# also ignores when deps are missing and just disables docs
+IUSE="doc +tecla"
+
+MY_PN="bladeRF"
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/Nuand/${MY_PN}.git"
+ KEYWORDS=""
+else
+ MY_PV=${PV/\_/-}
+ S="${WORKDIR}/${MY_PN}-${MY_PV}"
+ SRC_URI="https://github.com/Nuand/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+CDEPEND=">=dev-libs/libusb-1.0.16
+ tecla? ( dev-libs/libtecla )"
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+RDEPEND="${CDEPEND}"
+PDEPEND=">=net-wireless/bladerf-firmware-1.9.0
+ >=net-wireless/bladerf-fpga-0.5.0"
+
+src_configure() {
+ mycmakeargs=(
+ -DVERSION_INFO_OVERRIDE:STRING="${PV}"
+ $(cmake-utils_use_enable doc BUILD_DOCUMENTATION)
+ $(cmake-utils_use_enable tecla LIBTECLA)
+ -DTREAT_WARNINGS_AS_ERRORS=OFF
+ -DUDEV_RULES_PATH="$(get_udevdir)"/rules.d
+ )
+ cmake-utils_src_configure
+}
diff --git a/net-wireless/bladerf/bladerf-9999.ebuild b/net-wireless/bladerf/bladerf-9999.ebuild
index 04e504dbd75..4d5e021f28f 100644
--- a/net-wireless/bladerf/bladerf-9999.ebuild
+++ b/net-wireless/bladerf/bladerf-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -38,8 +38,8 @@ CDEPEND=">=dev-libs/libusb-1.0.16
DEPEND="${CDEPEND}
virtual/pkgconfig"
RDEPEND="${CDEPEND}"
-PDEPEND=">=net-wireless/bladerf-firmware-1.8.0
- >=net-wireless/bladerf-fpga-0.3.4"
+PDEPEND=">=net-wireless/bladerf-firmware-1.9.0
+ >=net-wireless/bladerf-fpga-0.5.0"
src_configure() {
mycmakeargs=(