summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2019-08-14 16:37:07 -0400
committerRick Farina <zerochaos@gentoo.org>2019-08-14 16:37:23 -0400
commit4cc507505d334d5b501f147434114ab853968af1 (patch)
treeb1ed6f4749e93eff1c5f4b7d5033015276f8d2b2
parentnet-wireless/bladerf-fpga: bump (diff)
downloadgentoo-4cc507505d334d5b501f147434114ab853968af1.tar.gz
gentoo-4cc507505d334d5b501f147434114ab853968af1.tar.bz2
gentoo-4cc507505d334d5b501f147434114ab853968af1.zip
net-wireless/bladerf: bump
Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
-rw-r--r--net-wireless/bladerf/Manifest3
-rw-r--r--net-wireless/bladerf/bladerf-2019.07.ebuild (renamed from net-wireless/bladerf/bladerf-2017.12_rc1.ebuild)24
-rw-r--r--net-wireless/bladerf/bladerf-9999.ebuild20
3 files changed, 34 insertions, 13 deletions
diff --git a/net-wireless/bladerf/Manifest b/net-wireless/bladerf/Manifest
index ed62d3bc7a5..84731f8d52e 100644
--- a/net-wireless/bladerf/Manifest
+++ b/net-wireless/bladerf/Manifest
@@ -1,2 +1,3 @@
-DIST bladerf-2017.12_rc1.tar.gz 1723370 BLAKE2B f6d19765674602354b42bb62acdfd874b04df55bd45ec74077aa310e5f6bd81d298148c3b1f2e1396d8659644f374cadf2e91df4b644a29d70c8369aaa6f4694 SHA512 19a3f24f9b6000af9e9d80cc31cbbf46b11deabb4e12eafb68c01f240cdf43884c5f8640ecbfa32fab8cc6a9c8e3b6cbc8596dfe564869c1a85163f00c62d96f
+DIST analogdevices-no-OS-0bba46.tar.gz 44190321 BLAKE2B b5c31b4b9ed92e0ac9f1a4c1eda38e065f00e0ee8034a99615a2509a4c91c589faefaf2e42a8bd30e61eb36459fa264c6e1892577f759c2ca0810925cede163e SHA512 cf6f6d34fed9879ae7263782f20f33dd3af84201e3477fa0501e072eb08a8a545a07c496ad0ff3f7dc1a6ef407f136f843ba05942b4819e146c5fef023a3bb02
DIST bladerf-2018.08.tar.gz 2177625 BLAKE2B 8c3970f38f7645ba46c44803fc370e16012b2ea894d16c5101ea9519f5f9ff1aaa0a39819ac13389a33f7e0336e0e89ffcb7a0abf363cb30b091e88502a7a8c3 SHA512 7f8d0ef146da34474774d00503f0838cdf9404bf42bf1f68fd0f6018c7e7d4937da56110d818237f712bd23547cfbed1e2d04455a9d4d7ac0df96336e331c8f4
+DIST bladerf-2019.07.tar.gz 2186702 BLAKE2B 1d08dc90ddf5d5f650fdc49e5a7e4224de7caa988974c1252052975599066b2221741a2cd2f0ba496e98d63b6d417b0eb1ae12de4dd9a9d43fb730bb6b221dc2 SHA512 e6ba47106ac9904d41fc611560c8f4bc482b9f17b6c476d4a2ac36c5779e9a64222140f4f067fab2252ccfabebf74e866f0fefb359934ff4df7a8416a8558b87
diff --git a/net-wireless/bladerf/bladerf-2017.12_rc1.ebuild b/net-wireless/bladerf/bladerf-2019.07.ebuild
index f289a36148f..686a4ee43c8 100644
--- a/net-wireless/bladerf/bladerf-2017.12_rc1.ebuild
+++ b/net-wireless/bladerf/bladerf-2019.07.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
inherit cmake-utils udev
@@ -28,7 +28,8 @@ if [[ ${PV} == "9999" ]] ; then
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"
+ SRC_URI="https://github.com/Nuand/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz \
+ https://github.com/analogdevicesinc/no-OS/archive/0bba46e6f6f75785a65d425ece37d0a04daf6157.tar.gz -> analogdevices-no-OS-0bba46.tar.gz"
KEYWORDS="~amd64 ~arm ~x86"
fi
@@ -37,14 +38,23 @@ CDEPEND=">=dev-libs/libusb-1.0.16
DEPEND="${CDEPEND}
virtual/pkgconfig"
RDEPEND="${CDEPEND}"
-PDEPEND=">=net-wireless/bladerf-firmware-2.0.0
- >=net-wireless/bladerf-fpga-0.6.0"
+PDEPEND=">=net-wireless/bladerf-firmware-2.3.2
+ >=net-wireless/bladerf-fpga-0.11.0"
+
+src_unpack() {
+ if [ "${PV}" = "9999" ]; then
+ git-r3_src_unpack
+ else
+ default
+ mv "${WORKDIR}/no-OS-0bba46e6f6f75785a65d425ece37d0a04daf6157/ad9361" "${S}/thirdparty/analogdevicesinc/no-OS/" || die
+ fi
+}
src_configure() {
mycmakeargs=(
-DVERSION_INFO_OVERRIDE:STRING="${PV}"
- $(cmake-utils_use_enable doc BUILD_DOCUMENTATION)
- $(cmake-utils_use_enable tecla LIBTECLA)
+ -DBUILD_DOCUMENTATION="$(usex doc)"
+ -DENABLE_LIBTECLA="$(usex tecla)"
-DTREAT_WARNINGS_AS_ERRORS=OFF
-DUDEV_RULES_PATH="$(get_udevdir)"/rules.d
)
diff --git a/net-wireless/bladerf/bladerf-9999.ebuild b/net-wireless/bladerf/bladerf-9999.ebuild
index f8fd38c19cd..686a4ee43c8 100644
--- a/net-wireless/bladerf/bladerf-9999.ebuild
+++ b/net-wireless/bladerf/bladerf-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit cmake-utils udev
@@ -28,7 +28,8 @@ if [[ ${PV} == "9999" ]] ; then
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"
+ SRC_URI="https://github.com/Nuand/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz \
+ https://github.com/analogdevicesinc/no-OS/archive/0bba46e6f6f75785a65d425ece37d0a04daf6157.tar.gz -> analogdevices-no-OS-0bba46.tar.gz"
KEYWORDS="~amd64 ~arm ~x86"
fi
@@ -37,8 +38,17 @@ CDEPEND=">=dev-libs/libusb-1.0.16
DEPEND="${CDEPEND}
virtual/pkgconfig"
RDEPEND="${CDEPEND}"
-PDEPEND=">=net-wireless/bladerf-firmware-2.2.0
- >=net-wireless/bladerf-fpga-0.7.3"
+PDEPEND=">=net-wireless/bladerf-firmware-2.3.2
+ >=net-wireless/bladerf-fpga-0.11.0"
+
+src_unpack() {
+ if [ "${PV}" = "9999" ]; then
+ git-r3_src_unpack
+ else
+ default
+ mv "${WORKDIR}/no-OS-0bba46e6f6f75785a65d425ece37d0a04daf6157/ad9361" "${S}/thirdparty/analogdevicesinc/no-OS/" || die
+ fi
+}
src_configure() {
mycmakeargs=(