diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-16 08:04:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-16 08:04:03 +0000 |
commit | 97f40b36b1afa9726e32962d11f3ac2d0bc5792e (patch) | |
tree | 1c7d586bc8a53d3b768630527bb80a477d661fa3 /net-wireless/bladerf | |
parent | b435e036d9775b71048373b91d4c7c3398826858 (diff) |
gentoo auto-resync : 16:02:2023 - 08:04:02
Diffstat (limited to 'net-wireless/bladerf')
-rw-r--r-- | net-wireless/bladerf/Manifest | 6 | ||||
-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.ebuild | 69 | ||||
-rw-r--r-- | net-wireless/bladerf/bladerf-9999.ebuild | 18 |
4 files changed, 98 insertions, 11 deletions
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 +} |