From fa32ea0623eef0b69c0dbcafb25d95dafb99f1b6 Mon Sep 17 00:00:00 2001 From: Zero_Chaos Date: Tue, 5 Jul 2016 12:17:04 -0400 Subject: net-wireless/bladerf: new release Package-Manager: portage-2.3.0_rc1 --- net-wireless/bladerf-firmware/Manifest | 1 + .../bladerf-firmware/bladerf-firmware-2.0.0.ebuild | 34 ++++++++++++++ net-wireless/bladerf-fpga/Manifest | 2 + .../bladerf-fpga/bladerf-fpga-0.6.0.ebuild | 30 ++++++++++++ net-wireless/bladerf/Manifest | 1 + net-wireless/bladerf/bladerf-2016.06.ebuild | 53 ++++++++++++++++++++++ net-wireless/bladerf/bladerf-9999.ebuild | 4 +- 7 files changed, 123 insertions(+), 2 deletions(-) create mode 100644 net-wireless/bladerf-firmware/bladerf-firmware-2.0.0.ebuild create mode 100644 net-wireless/bladerf-fpga/bladerf-fpga-0.6.0.ebuild create mode 100644 net-wireless/bladerf/bladerf-2016.06.ebuild (limited to 'net-wireless') diff --git a/net-wireless/bladerf-firmware/Manifest b/net-wireless/bladerf-firmware/Manifest index e457747d5cda..1c61ce5e0659 100644 --- a/net-wireless/bladerf-firmware/Manifest +++ b/net-wireless/bladerf-firmware/Manifest @@ -1,3 +1,4 @@ DIST bladeRF_fw_v1.7.1.img 122408 SHA256 9af2faa3b648e59f07b2c19d1e9ea2b91b47abd2b44c55e10bd2daed52943464 SHA512 9dc1f461bc48a7eb32957fef4818a2e3b50b13da0924385404abb972d653243c0de5717044bcac6eb44dac637ae429311e776a4f5aaa235a80193eb3ec7a0e7e WHIRLPOOL b15e158068bad1840c230f2fb9efbc5f8eef70cae4ac6ed69042293dcc7ecdcd830f1f445a452b0ee6f0ae40f425a9fd015fb311c11788b242067cf52b98bed7 DIST bladeRF_fw_v1.8.0.img 122576 SHA256 3d8bb1bb2511d5d9b264b51c16cff7648c08fcaa7e7350127e6e82d80a695d02 SHA512 5cc8e69e550e60af0c9fbead9655c6af19a29afa18c352b0d010727e28b7c8fa015c6294054d19a65caa4a8ed2fb5096fa90f460561e4a7abaabb2b0bb15e366 WHIRLPOOL b71b3aec706e7fd6a92c913d1646fb31576dd97a6ad2c3a36965567d17e98e5035203d200e6d5b3da38ded00104a044027fb3bc63cdca760ccafa0112649b676 DIST bladeRF_fw_v1.9.0.img 118704 SHA256 4799075cd70c689acdf7e45fb23fbcaaff4ac89fd780ee04b84de13a47b767de SHA512 a1cebd8abdcebfc84eb581808900926033ae7f621e4abfe217c6aae6169bf60dd78f32b1d883eab8b82b5d1f10afbf949821c19421bd6d4ffe2707a5acd58553 WHIRLPOOL 4b8dec4925adc8b456c144582aca3dd79a7fc26c15c8a5af0c03d4ce4dcc532496e6224202305c8b1557fba74e85336173d7d005a893cbccbbd5e3448cf5d7db +DIST bladeRF_fw_v2.0.0.img 121128 SHA256 24d82869e658d4e9f4e57d87f42188db1a184804ad8e827e2302d45addb25a00 SHA512 716aaaad1d0c14186bd1dcf258b46a102ee720ce7c8dc8bd0998cd72e42c9df7a4372fc27ec0c3860cca50cb62894008326c65937f461a37a908d56f5989eaab WHIRLPOOL d3aeeef839c42abecc55f10ed2ae218c6d3a4094e3836fa0fc8da4d40efec7388de1180896538c64bf31b954b6265152fce3b24685bdcd191c4317e4bd820168 diff --git a/net-wireless/bladerf-firmware/bladerf-firmware-2.0.0.ebuild b/net-wireless/bladerf-firmware/bladerf-firmware-2.0.0.ebuild new file mode 100644 index 000000000000..7987e2f01ccb --- /dev/null +++ b/net-wireless/bladerf-firmware/bladerf-firmware-2.0.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="bladeRF FX3 firmware images" +HOMEPAGE="http://nuand.com/fx3.php" + +#firmware 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="http://nuand.com/fx3/bladeRF_fw_v${PV}.img" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${DISTDIR}" + +src_install() { + insinto /usr/share/Nuand/bladeRF/ + doins bladeRF_fw_v${PV}.img +} + +pkg_postinst() { + elog "Please remember you have to actually flash this onto" + elog "your bladerf with the following command:" + elog "bladeRF-cli -f /usr/share/Nuand/bladeRF/bladeRF_fw_v${PV}.img" +} diff --git a/net-wireless/bladerf-fpga/Manifest b/net-wireless/bladerf-fpga/Manifest index a4c0c419972c..db40a35c8061 100644 --- a/net-wireless/bladerf-fpga/Manifest +++ b/net-wireless/bladerf-fpga/Manifest @@ -2,9 +2,11 @@ DIST hostedx115-0.1.1.rbf 3571462 SHA256 112b315efaa4aef4bdb15285fb637ff1c93aa24 DIST hostedx115-0.1.2.rbf 3571462 SHA256 3dea872433a4dc3410c3aa667dc18caa8c2fda0a616d325f95d6f2ef02221f90 SHA512 0c90a2e5add5443df549b2428e6ea2c043171b4c18bbbf953eb1c96ad3a2bb53f655212353eac6df1e7758366fd4ea5dabc355f85db3abdecdb16b4b2b85fd4d WHIRLPOOL 5065e033c6882c92e117444480b969e9f17ee99c794fbf16edccaa9396d1d1c804969463cbcf90a4c86abebee4a78349a3a8ebe40388a38a7e517bdd317de431 DIST hostedx115-0.3.4.rbf 3571462 SHA256 fbbe05efcac213cc65aeb9b1235b2341595be08b11b0d3ea9ff0071ac60ad19c SHA512 8ab1373c7ac2de64962f619e0809e0bff7d0df82666ed9601cf51dae0de1914240e929c6ab3a8b34928b7f89c2906782522238cd6a8809f8201af4d1275d8e25 WHIRLPOOL 1d0151adc7a9361f96ded0ef80fe543904453e59bb12ee3ee672a5db7af898f20c6d6d05fad80a4b7dd28c1b20c26b2bd32acd6b3a8ac7e5947c5381a4d8e318 DIST hostedx115-0.5.0.rbf 3571462 SHA256 2df44642c5d27a9934a61649e8795988ceb1a96c38cc2ee5849206cf26d43ea4 SHA512 9ae85345551c11bcb3242d243d5da046bcc385861dba8e10cb2986017344eaa43609280aef75f18da6a6ce6ec5b685e701b918923daf1c9999b1f4b5a2bec80c WHIRLPOOL acb01c67fe25fe3acf85c0d7ffc8f9b41fdce355d68e1759b8aeb380f58c73bc19191e092421c1fad3f3213208bca27fa8c79c748d6700b3ee62c7a20941e6fd +DIST hostedx115-0.6.0.rbf 3571462 SHA256 57d57f11e85c9727f699ef35a3956e9e4006665d5891fd599d1fa765894a5323 SHA512 771625cfeda4f184660834a99309e351ddd6e05d53e2cc2252773fd9decf689479da07ad2ca2f1bb8f8fd14be79cf0d661021a40af7f70aaf92e1948a5b80b8c WHIRLPOOL 36886c75c97296e2057ad51e349ff1c8ca172b427e0e44d7707deed3872b3527f10ef0acf9f2e4af0c6bfc52f5d92692a61f83da83a64c10d70419a0a026f250 DIST hostedx115.rbf 3571462 SHA256 1c145aee9555a84ecc065fe50e15b56835be2c3691ae747cb74e0c24a8fd1e4b SHA512 4df268602e662cd54a6da2b94d52cc355afdda8578c8342ea1be6a168ff874c095f92230f3cdfe5aada3d1c3237d8572e427c377c57f4a6d555f0ca49f85d6e4 WHIRLPOOL ea66c0779023eb6ef5b15bd4c34dc108cc1c624cbf2265adc5f2e0a64f70b1ac1011cce943bacbe8be09580fe0551493bf29ae130bdcb0e1e3baf09260c435ce DIST hostedx40-0.1.1.rbf 1191788 SHA256 48852d9d0a64f03331e0c3c1adf6dd56ee8ef77bf6ae93401bf845a1117714a8 SHA512 426aa48c588e02fe3a13c7310ab7f2a78f0c5aaba1925164c78f484cf99cfcfba103b8a738329a198c3b905fd23cb48fbe29fa4e08ded6d2fe5d70f90b850af1 WHIRLPOOL e39e3494e9e39798b3af00b145bf05c9544b995abf549a49f1f82af313efcdbc4bcfa923c6b6e6e7903c45331b94ab7d3a5bdfe73879d9986cd9da8318ab0b09 DIST hostedx40-0.1.2.rbf 1191788 SHA256 85f2e237829476f6f15851a25ce96084dfc695820c37cd6751efee4c4806999a SHA512 9f06b5560d91ed65df14e48c729da04ae4c8720aae863d215f24db7efc4a353751840605aeb6b2ae9e4a71ffb9820d7f310bdca6dddad27768514e2edd7fc933 WHIRLPOOL 077c947b7f9558ab45193170374b6472187f1c26b874029a7eecc9823392ffbdcdab5d7f6461a5a391719311ff7e8aec3e4fd517a2c1aecdbc68357ca9776879 DIST hostedx40-0.3.4.rbf 1191788 SHA256 517de44d7ad8cdc0e88b0d3d8945a580a1c9a25fb90ec9f0b1fd34fe30a2e8ff SHA512 0529bda4bf39ee83aa9d48dabc30af7333018e3a369e9968d030995a915e6f4ae67c17df22e55e0c4144eced0fbbac786d82dccb70d0393e8eee095e49792ade WHIRLPOOL d2dc1160536f7e4f4fa5b62f4485da2072ba34dd1426b295867f2a4e75b4820943206ca6e5e36111310bf2b97e9ceb5c8a1377ef882a1630c4bb2ee2233602e8 DIST hostedx40-0.5.0.rbf 1191788 SHA256 179c8a09486415030431b05f537ae78b6388cbbf9e2c2e007aec1a0925912f3d SHA512 140d83197aa847124a32ede492a1f15365fb0300fad1d4d67f13d4fa0f787cae59c293be0f7e355e61ef345f9e8c1d6eeb500cfa04e67d02790bc4ec5122b5eb WHIRLPOOL 6f2bcf75531bb5278e4b76e916ed48d3696c381918890303270d18fd4649a97dc3f64f6d6b71acc54f87f056284fe997784d95c2e5f7b7b42b57ad059f11cb00 +DIST hostedx40-0.6.0.rbf 1191788 SHA256 4d3a2f8adb459b67391aa0a6225461df2fbb8e3fb2ae7589b9dd22c8c1b0041b SHA512 25ccccae9d14f2044f978b0d0a58f121a3bc52bc5c5a9d20ef383efaa5b38d41b7adbb320d82c15f473863cf8d9de37671ae5a5b263eb513c515ea8b84be1547 WHIRLPOOL 6b253f4daad11c88024945f95720a83dc9856d701762d0a67ca005194578c83191805dfb80d052067bc6c1a282e5cd1b2496673047db4e3489ba59c6e1b0ab16 DIST hostedx40.rbf 1191788 SHA256 206c7629d3191d4bb29e2826730c89a160cc565a7e54a7c2b2c2db05549e72cb SHA512 e56686a8dd4372cf11d3f373ef4262c3897f9adbd8952d82b3d737d38e77d8ddde9c427ddb6ba20364ff3748d57f29974044bd32c0f4177690ff37a600b210e9 WHIRLPOOL 0aeddf6169db1b05e8d722a1f1d5056621890a96301055e27d06c3fb928a11884ad89310c27c4c1cadde9be65c9a7c063416f2da0dd94ea28e535bd561e54a7a diff --git a/net-wireless/bladerf-fpga/bladerf-fpga-0.6.0.ebuild b/net-wireless/bladerf-fpga/bladerf-fpga-0.6.0.ebuild new file mode 100644 index 000000000000..bb769a87a8be --- /dev/null +++ b/net-wireless/bladerf-fpga/bladerf-fpga-0.6.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +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="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 ~x86" +IUSE="+x40 +x115" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${DISTDIR}" + +src_install() { + insinto /usr/share/Nuand/bladeRF/ + 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 feacd91084f0..14ed0f8c61b2 100644 --- a/net-wireless/bladerf/Manifest +++ b/net-wireless/bladerf/Manifest @@ -1,3 +1,4 @@ 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 +DIST bladerf-2016.06.tar.gz 1654784 SHA256 6e6333fd0f17e85f968a6180942f889705c4f2ac16507b2f86c80630c55032e8 SHA512 0834e9f5fa2e41bf15629d9699f11ef29d5365a0ed2c17b83c6a77ed43d72fa62e6d35060d8d478dcbc1e7080cac825d82644b8fcdc03eae0dccef3cb1a7325d WHIRLPOOL 1c17be9a1649032cb405175bfebb9d92f440f07080bedb2a859f6f2868d43ba80542e18727d9ff981e432d7bcf720e211264b135be0f583e3f42017dabbdd8e9 diff --git a/net-wireless/bladerf/bladerf-2016.06.ebuild b/net-wireless/bladerf/bladerf-2016.06.ebuild new file mode 100644 index 000000000000..7f5be1a3e73d --- /dev/null +++ b/net-wireless/bladerf/bladerf-2016.06.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-2.0.0 + >=net-wireless/bladerf-fpga-0.6.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 4d5e021f28fb..7f5be1a3e73d 100644 --- a/net-wireless/bladerf/bladerf-9999.ebuild +++ b/net-wireless/bladerf/bladerf-9999.ebuild @@ -38,8 +38,8 @@ CDEPEND=">=dev-libs/libusb-1.0.16 DEPEND="${CDEPEND} virtual/pkgconfig" RDEPEND="${CDEPEND}" -PDEPEND=">=net-wireless/bladerf-firmware-1.9.0 - >=net-wireless/bladerf-fpga-0.5.0" +PDEPEND=">=net-wireless/bladerf-firmware-2.0.0 + >=net-wireless/bladerf-fpga-0.6.0" src_configure() { mycmakeargs=( -- cgit v1.2.3-65-gdbad