summaryrefslogtreecommitdiff
path: root/net-wireless
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/Manifest.gzbin14219 -> 14212 bytes
-rw-r--r--net-wireless/bladerf-fpga/Manifest5
-rw-r--r--net-wireless/bladerf-fpga/bladerf-fpga-0.15.0.ebuild37
-rw-r--r--net-wireless/bladerf/Manifest6
-rw-r--r--net-wireless/bladerf/bladerf-2021.03-r1.ebuild (renamed from net-wireless/bladerf/bladerf-2021.03.ebuild)16
-rw-r--r--net-wireless/bladerf/bladerf-2023.02.ebuild69
-rw-r--r--net-wireless/bladerf/bladerf-9999.ebuild18
7 files changed, 140 insertions, 11 deletions
diff --git a/net-wireless/Manifest.gz b/net-wireless/Manifest.gz
index 2ebb2ad124d1..2696ac602f01 100644
--- a/net-wireless/Manifest.gz
+++ b/net-wireless/Manifest.gz
Binary files differ
diff --git a/net-wireless/bladerf-fpga/Manifest b/net-wireless/bladerf-fpga/Manifest
index d85f73c053a2..604be65ef841 100644
--- a/net-wireless/bladerf-fpga/Manifest
+++ b/net-wireless/bladerf-fpga/Manifest
@@ -1,6 +1,11 @@
DIST hostedx115-0.12.0.rbf 3571462 BLAKE2B a89693c1d53b81e59b7801246afdbee8bc30eda8ac1770b6bbd251445d1e6db36b81c8b34af008c0eb923fe7f661faa3f7d6535fb87047312db042b5ecf44cee SHA512 84161ac1b1d569b93d67e563f4c8800b6e9c376dabe463c457d9cbad2b628519e36eced0120553015922290b817bbb0c0fc9ca66aae17719f8124193af00a996
+DIST hostedx115-0.15.0.rbf 3571462 BLAKE2B dd2359a9ab290e22163430b3948726c434613512ca09569582ca880c4a3077533d06eaa7407b58bbc8ba9de150f03d2de719a68ca58b6baac3712f26ff9afa3a SHA512 e75ca3329e16915c106ebf9afae1e707487be0f5029c12a9ced91d25c5c87b1637efb20d66432c8dcb095415c453eeefe8782a2591fe6cb18cf2a5e4dc121473
DIST hostedx40-0.12.0.rbf 1191788 BLAKE2B 47396bcade3cb2df3769569c5176dfbe8c9b717d02d62101d76d8e0ecdfa8df499966e072dd1b6ad54b03c4448e86fdad0c7e190ed30fbffb579b6282a2b1160 SHA512 1c963d5b4d3ecade5e9565202ce2563493806b44319f2b9b00325f17164f0207396b1546826afc19767f9207b3d526b90e74bef7e0d38be15ba6c81fdeb12c41
+DIST hostedx40-0.15.0.rbf 1191788 BLAKE2B 7c2de49366162cdb0a3fff36c3cdd9bd7979a65074cfd38b7a5996a88aa0a7b78775bf0781f81b1dfa1bd9c2809fe87555f351836dfbed5585409fcf7ddd4a08 SHA512 c0c4be0b0b9c5dd5230731f2c9d4e4c551000890f8eb919a71ac3fceea3e89f0c50ee51abec2542af13614c7789f13a5baf3d8273f6ab7a6da5669bcac64441f
DIST hostedxA4-0.12.0.rbf 2632660 BLAKE2B 25f434bcb434df420be3c6a4c0bb3d3f48189e81b36f7bf8d775856080e8552fd4a62690fec31dc1b13ba66057b2261ca749706183f0e4063068c62dcd909634 SHA512 5e3bf78c8f87648df241a234d2bcbad1c8ed066a2b31a7b8f529c2401e140603d47f37b72c9631308d29daaa4f56f77dbff0f1dab8071a55e66e385c1d3a9bd6
+DIST hostedxA4-0.15.0.rbf 2632660 BLAKE2B 0e701bc927135cab2dd4a3c3cfdbea8c129288006782b4fdb897e7fb872a9fd15ce845efc7e18b04893fcf3fa8d19243a89515d771558daa30724ca7861ac1d1 SHA512 d0aa92ef8c5c9a92d3353c89f0fa35a46aaf9fc89e602ce6170663d2164845120ab02c8d276229f6adee40a557cd9692c848d0776ae7a63df373ad421637134c
DIST hostedxA9-0.12.0.rbf 12858972 BLAKE2B 29d3c5d12c232333a7e2cb2e9ef580a7a350a0d04287cf2d068894d4b185a0f8256cfe87269738978ab0f0fabafa28921ca6ff13b8067d61fafb46a30ca230b7 SHA512 990199f980ebdda58f40bd72823585b3091d829b2974e84ab925576b7d1db2dfeef1d0934763636b92baee982470cc2fcff85dfa9bb2c6254b7021274703e4aa
+DIST hostedxA9-0.15.0.rbf 12858972 BLAKE2B f03358e8fdd4b933fdf8aad6bd7eaa6e86e418abbd657cfa8775d80574e32135f9a63a62c2eb445ed30c994b179c0b952f44636357ee2a3e4561474dea3b5e39 SHA512 ccfaf4f3555954fd3de80120d47e57f37a47c5ef80798aed72dd3d1e027f6d5271a57ec3c4f1099745eb44925686338345ef144218bc15187926db45d299644b
EBUILD bladerf-fpga-0.12.0.ebuild 1101 BLAKE2B d8aebcc468761c269845b5057f60b5374d06def021fd3eea669c04154733fedaa3f2eea458ca729f19084a390076c7c4baf00c556c600b74b039f7a51b0de94c SHA512 f315d34f3033c46a995dc6f6713a8d2780bae26c5fa09ae864fe2542f506d73b6413a8de51335f17abdb4af82bdd42feaf4a32c40c76fcb361d67ea7eaba7041
+EBUILD bladerf-fpga-0.15.0.ebuild 1103 BLAKE2B 838076fc486b84de9ff4513fdaaac623fd517d2e1381934269087fafdd0a037239029dc27499a58815ad4a4b80c2ae13394b31a45b971746fec594dfdf4b2a70 SHA512 b111abb61af27dd03ec5dbf2824ac3812a877c95db277ad1b0d251f501c0b6e104604fe55c68c1e4106815a16cfed0898bff7a08b3fa5f35c2490f9f91759f2f
MISC metadata.xml 699 BLAKE2B 1f5aa0910d6e056a20d64daa49efcc2c54302406a30853bae927d0f2fcbb90e115b693d2ee6f1205667db95b630b1014997874d7e51ba4341b150024e3bd8087 SHA512 df38595ac836df0786c76645ef62183518505268e2da6f05f8acfc36df9df2c97cf28261989b12812a1d545e8ccc399c1ec16de3e04c1600175f1ca585cac8f7
diff --git a/net-wireless/bladerf-fpga/bladerf-fpga-0.15.0.ebuild b/net-wireless/bladerf-fpga/bladerf-fpga-0.15.0.ebuild
new file mode 100644
index 000000000000..c84f778e762f
--- /dev/null
+++ b/net-wireless/bladerf-fpga/bladerf-fpga-0.15.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="bladeRF FPGA bitstreams"
+HOMEPAGE="http://nuand.com/fpga.php"
+
+#fpga code is open source, but uses a proprietary toolchain to build
+#automated builds from git are available, but likely unneeded
+#http://hoopycat.com/bladerf_builds/
+SRC_URI="xA4? ( http://nuand.com/fpga/v${PV}/hostedxA4.rbf -> hostedxA4-${PV}.rbf )
+ xA9? ( http://nuand.com/fpga/v${PV}/hostedxA9.rbf -> hostedxA9-${PV}.rbf )
+ x40? ( http://nuand.com/fpga/v${PV}/hostedx40.rbf -> hostedx40-${PV}.rbf )
+ x115? ( http://nuand.com/fpga/v${PV}/hostedx115.rbf -> hostedx115-${PV}.rbf )"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~riscv ~x86"
+IUSE="+xA4 +xA9 +x40 +x115"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${DISTDIR}"
+
+src_unpack() {
+ true
+}
+
+src_install() {
+ insinto /usr/share/Nuand/bladeRF/
+ use xA4 && newins hostedxA4-${PV}.rbf hostedxA4.rbf
+ use xA9 && newins hostedxA9-${PV}.rbf hostedxA9.rbf
+ use x40 && newins hostedx40-${PV}.rbf hostedx40.rbf
+ use x115 && newins hostedx115-${PV}.rbf hostedx115.rbf
+}
diff --git a/net-wireless/bladerf/Manifest b/net-wireless/bladerf/Manifest
index 03c66cf41802..cbced4ea6457 100644
--- a/net-wireless/bladerf/Manifest
+++ b/net-wireless/bladerf/Manifest
@@ -1,5 +1,7 @@
DIST analogdevices-no-OS-0bba46.tar.gz 44190321 BLAKE2B b5c31b4b9ed92e0ac9f1a4c1eda38e065f00e0ee8034a99615a2509a4c91c589faefaf2e42a8bd30e61eb36459fa264c6e1892577f759c2ca0810925cede163e SHA512 cf6f6d34fed9879ae7263782f20f33dd3af84201e3477fa0501e072eb08a8a545a07c496ad0ff3f7dc1a6ef407f136f843ba05942b4819e146c5fef023a3bb02
DIST bladerf-2021.03.tar.gz 2261864 BLAKE2B b4e58e370c1e515162f01a0da3985b5ba3c210a8a045bd531e618a9da8e4e66e74a8ccca9138cf6427b512f9c4423bd4151cc63d70a5e218c2a24980afa73972 SHA512 76ebb6501ad9286c7a52a0540f991f7848e396b4d75104bf7186ffac5e3142aa79914352238c8a9e0b4453910c171218c0e861092f228202d0b236939fecc325
-EBUILD bladerf-2021.03.ebuild 1646 BLAKE2B d0c571be1a7686d98aa52046b68f626ad66da816f79562a4612b41504cffa4f5a63516b0a5dc94f30b2743d7320350742070995f818c6a47f7d6630473f91fc3 SHA512 0f18f2ba3fdebdbe979a8046ffb22d3d815baaff2aa419054f4c54ad599a79579d828017ea97d16eb224ab991afee56685acd9c175f14a7720da40bef30d0f51
-EBUILD bladerf-9999.ebuild 1641 BLAKE2B f7933c6953dba593cb9f0bf7fb6dffd882fa064a870248b3a6c2b8262634fdd18c9d04aa92f9ce9838cb7cc8d8c4ed274bd04ca18509f3da60975554b55e4eff SHA512 1a92f43e762a01565e9317a8fdb99c13c4a163c41fce95c8deb40cf02cdffdac5740eefc4039f13e5da218bdd7657ab535f359dcf4af5260bb68374773a8bdd7
+DIST bladerf-2023.02.tar.gz 2308710 BLAKE2B 1cbc7eb7eb63a336e12ab2eae29760dc32e187005b93bb4c10032244649651484dbbb68644d2a9abca5488840134b336bfa54fdeb5f6331e9c440a9b5f302227 SHA512 af03141712886ea76952a5eea9ffb67b511b8ea196f2cf3349dab339b1964b3f296410acdc070304ffab71eb011830131373ad8c3b00a6cfec2773283082cc0d
+EBUILD bladerf-2021.03-r1.ebuild 1737 BLAKE2B c1db968ba8991fd5cf81073448b82b126d57e0b6f1e3c2aa2ad6d822d78e7d865d3b86b48d5036fa78b9cb5654a95eca8a1fc00987fba97befcd79ab2cf925c5 SHA512 a8599844c62b7a5438b227ab9cc3665b9ef3ba2b6aee2c3d25587b6f0bd661648a15b8a71ff8ac90b27db3f411510e18c8d04eb14f3adb4a1fa9be59f5833cfa
+EBUILD bladerf-2023.02.ebuild 1739 BLAKE2B 829d28c7f503cdff88d751756293ee8c9d33d726c009e4466630c946500fd7daa6bcb0552418569e5cb4ce2bad1d55bb8a6f7593c8336eaf05e2c645bc653428 SHA512 459ada366ba5ef5c051ba231b08bebc4f3ad688177e35246ab2db93f66f3f1756226c5df00edf2d3dbbbe47d9099856dd6e52dff1e81142c966b55d489246f4d
+EBUILD bladerf-9999.ebuild 1739 BLAKE2B 1f785465cd1dc783fa46ad97c5cf412c55009535fc7be21be365c0e9ca6c4f2a2dbf5959ec66dd20c2fd19ca94d9fcba3208a625aabe03aef4b858c6a32d383e SHA512 3cfac233d0d6cb311732d7a74ce8b69f702e9012a328f21e479bfbcc02837d4221700e6cf5c81f12c5cdf746910664f6ebb5bd5ba278a76173d0fe84d54b4b9f
MISC metadata.xml 535 BLAKE2B 7fc9a46afda3efa2b20a94b888d5c808066ea749b3fb81fd5e6351f1749b0beb02e0c9c8986a4704ecc42f6406c22b1da3742536c62b269e472b721ab7172486 SHA512 8070f05c8a481f0e921f63b0722e8991c7be6103aea4753536dd36af4d10bbb67e72a55a465d49e4ff7f5972e1f535b1cd8ff2d33b569a9fb7b71b3cd81765f2
diff --git a/net-wireless/bladerf/bladerf-2021.03.ebuild b/net-wireless/bladerf/bladerf-2021.03-r1.ebuild
index d2060e9155f5..1f66fd37bef7 100644
--- a/net-wireless/bladerf/bladerf-2021.03.ebuild
+++ b/net-wireless/bladerf/bladerf-2021.03-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit cmake udev
@@ -32,12 +32,13 @@ else
KEYWORDS="amd64 ~arm ~riscv x86"
fi
-CDEPEND=">=dev-libs/libusb-1.0.16
+BDEPEND="doc? ( app-doc/doxygen )"
+CDEPEND=">=dev-libs/libusb-1.0.16:1
tecla? ( dev-libs/libtecla )"
DEPEND="${CDEPEND}
virtual/pkgconfig"
-RDEPEND="${CDEPEND}"
-PDEPEND=">=net-wireless/bladerf-firmware-2.4.0
+RDEPEND="${CDEPEND}
+ >=net-wireless/bladerf-firmware-2.4.0
>=net-wireless/bladerf-fpga-0.12.0"
src_unpack() {
@@ -59,3 +60,10 @@ src_configure() {
)
cmake_src_configure
}
+
+pkg_postinst() {
+ udev_reload
+}
+pkg_postrm() {
+ udev_reload
+}
diff --git a/net-wireless/bladerf/bladerf-2023.02.ebuild b/net-wireless/bladerf/bladerf-2023.02.ebuild
new file mode 100644
index 000000000000..1ffb9521e9da
--- /dev/null
+++ b/net-wireless/bladerf/bladerf-2023.02.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake udev
+
+DESCRIPTION="Libraries for supporing the BladeRF hardware from Nuand"
+HOMEPAGE="https://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"
+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 \
+ https://github.com/analogdevicesinc/no-OS/archive/0bba46e6f6f75785a65d425ece37d0a04daf6157.tar.gz -> analogdevices-no-OS-0bba46.tar.gz"
+ KEYWORDS="~amd64 ~arm ~riscv ~x86"
+fi
+
+BDEPEND="doc? ( app-doc/doxygen )"
+CDEPEND=">=dev-libs/libusb-1.0.16:1
+ tecla? ( dev-libs/libtecla )"
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+RDEPEND="${CDEPEND}
+ >=net-wireless/bladerf-firmware-2.4.0
+ >=net-wireless/bladerf-fpga-0.15.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() {
+ local mycmakeargs=(
+ -DVERSION_INFO_OVERRIDE:STRING="${PV}"
+ -DBUILD_DOCUMENTATION="$(usex doc)"
+ -DENABLE_LIBTECLA="$(usex tecla)"
+ -DTREAT_WARNINGS_AS_ERRORS=OFF
+ -DUDEV_RULES_PATH="$(get_udevdir)"/rules.d
+ )
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ udev_reload
+}
+pkg_postrm() {
+ udev_reload
+}
diff --git a/net-wireless/bladerf/bladerf-9999.ebuild b/net-wireless/bladerf/bladerf-9999.ebuild
index e491fa669c2f..30f5ea73a4e7 100644
--- a/net-wireless/bladerf/bladerf-9999.ebuild
+++ b/net-wireless/bladerf/bladerf-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit cmake udev
@@ -29,15 +29,16 @@ else
S="${WORKDIR}/${MY_PN}-${MY_PV}"
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"
+ KEYWORDS="~amd64 ~arm ~riscv ~x86"
fi
-CDEPEND=">=dev-libs/libusb-1.0.16
+BDEPEND="doc? ( app-doc/doxygen )"
+CDEPEND=">=dev-libs/libusb-1.0.16:1
tecla? ( dev-libs/libtecla )"
DEPEND="${CDEPEND}
virtual/pkgconfig"
-RDEPEND="${CDEPEND}"
-PDEPEND=">=net-wireless/bladerf-firmware-2.4.0
+RDEPEND="${CDEPEND}
+ >=net-wireless/bladerf-firmware-2.4.0
>=net-wireless/bladerf-fpga-0.12.0"
src_unpack() {
@@ -59,3 +60,10 @@ src_configure() {
)
cmake_src_configure
}
+
+pkg_postinst() {
+ udev_reload
+}
+pkg_postrm() {
+ udev_reload
+}