summaryrefslogtreecommitdiff
path: root/net-wireless/bladerf
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-08-18 18:16:17 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-08-18 18:16:17 +0100
commitfc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch)
tree326613a08f25851c388715e205576a2e7d25dc4f /net-wireless/bladerf
parentb24bd25253fe093f722ab576d29fdc41d04cb1ee (diff)
gentoo resync : 18.08.2019
Diffstat (limited to 'net-wireless/bladerf')
-rw-r--r--net-wireless/bladerf/Manifest7
-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, 36 insertions, 15 deletions
diff --git a/net-wireless/bladerf/Manifest b/net-wireless/bladerf/Manifest
index b7567e1c0422..68421f036978 100644
--- a/net-wireless/bladerf/Manifest
+++ b/net-wireless/bladerf/Manifest
@@ -1,6 +1,7 @@
-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
-EBUILD bladerf-2017.12_rc1.ebuild 1332 BLAKE2B 50d435fc5f417834f5f8330a4176b164f02954bf74b7b0d0612f0b00064803c7163f0086f1975b143431908750d24cb044209a27c91161221658747fc92aa43d SHA512 f37c25a9d4367867cf845b03f104e194beda9a48dbf6cafd6025408347a8f209337c2117184fac7f4948555014bc1379492258673d19a2d3e14a9ae2be15ad13
+DIST bladerf-2019.07.tar.gz 2186702 BLAKE2B 1d08dc90ddf5d5f650fdc49e5a7e4224de7caa988974c1252052975599066b2221741a2cd2f0ba496e98d63b6d417b0eb1ae12de4dd9a9d43fb730bb6b221dc2 SHA512 e6ba47106ac9904d41fc611560c8f4bc482b9f17b6c476d4a2ac36c5779e9a64222140f4f067fab2252ccfabebf74e866f0fefb359934ff4df7a8416a8558b87
EBUILD bladerf-2018.08.ebuild 1311 BLAKE2B cf2b8db17bbb3522047bbc35000be8c98730e35da0bb34b88a7ce9f2eafa43a9bd71f3a0dccd03914fd0c3afc05aec31418e7946ec197908f54d3bee3a6f5861 SHA512 5be9b57e483236e7ed5705bb7e25db73b3980bf4973843313629852caf317b533747a348bbcc800302002b1ea79d9febae57e476a6f481afec1767aba500a73d
-EBUILD bladerf-9999.ebuild 1311 BLAKE2B cf2b8db17bbb3522047bbc35000be8c98730e35da0bb34b88a7ce9f2eafa43a9bd71f3a0dccd03914fd0c3afc05aec31418e7946ec197908f54d3bee3a6f5861 SHA512 5be9b57e483236e7ed5705bb7e25db73b3980bf4973843313629852caf317b533747a348bbcc800302002b1ea79d9febae57e476a6f481afec1767aba500a73d
+EBUILD bladerf-2019.07.ebuild 1659 BLAKE2B 5937acb9339f29c5108e3071c0788d71f71e31154623cb09f0111ebc030c63fd0e56f8f69b6d4c2df865579d8ce0b810219e4f46ea706985ed432b825079eb6c SHA512 c324f981e1337ac70fef9067ef22fc4afbb87da084627c3ebc263e6eba7c02146664301f03b01b8408a4e39f243471de8fcdb27ce08077d989ec279034ea6f90
+EBUILD bladerf-9999.ebuild 1659 BLAKE2B 5937acb9339f29c5108e3071c0788d71f71e31154623cb09f0111ebc030c63fd0e56f8f69b6d4c2df865579d8ce0b810219e4f46ea706985ed432b825079eb6c SHA512 c324f981e1337ac70fef9067ef22fc4afbb87da084627c3ebc263e6eba7c02146664301f03b01b8408a4e39f243471de8fcdb27ce08077d989ec279034ea6f90
MISC metadata.xml 534 BLAKE2B d39c41a686202aff5a46e2b67cdcb5f3dc339bd7854a313f8d58165995b030194638447c2c987d1c5372a241c030b7d715a9854d9daaec1a0a59b85c6f421c1c SHA512 b7d10693f1c08b1a60bf6f4542e7fad445a63249d3fa796b08b3c7db7d758c89000c09a6aeb0dffbe6a90467acc5ee18331d839162a540a2c7040d5dd7218db7
diff --git a/net-wireless/bladerf/bladerf-2017.12_rc1.ebuild b/net-wireless/bladerf/bladerf-2019.07.ebuild
index f289a36148fd..686a4ee43c8b 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 f8fd38c19cd7..686a4ee43c8b 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=(