diff options
author | Zero_Chaos <zerochaos@gentoo.org> | 2018-08-16 15:32:16 +0000 |
---|---|---|
committer | Zero_Chaos <zerochaos@gentoo.org> | 2018-08-16 20:45:10 +0000 |
commit | 562c4558924bf6b1add139eb1fc24fc10e02037e (patch) | |
tree | 939ed6e23c076a598d90f591b0141c08a0879901 /net-wireless/bladerf | |
parent | app-admin/conky: Revision bump. (diff) | |
download | gentoo-562c4558924bf6b1add139eb1fc24fc10e02037e.tar.gz gentoo-562c4558924bf6b1add139eb1fc24fc10e02037e.tar.bz2 gentoo-562c4558924bf6b1add139eb1fc24fc10e02037e.zip |
net-wireless/bladerf: bump, eapi 6
Package-Manager: Portage-2.3.46, Repoman-2.3.10
Diffstat (limited to 'net-wireless/bladerf')
-rw-r--r-- | net-wireless/bladerf/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/bladerf/bladerf-2018.08_rc1.ebuild | 52 | ||||
-rw-r--r-- | net-wireless/bladerf/bladerf-9999.ebuild | 8 |
3 files changed, 57 insertions, 4 deletions
diff --git a/net-wireless/bladerf/Manifest b/net-wireless/bladerf/Manifest index 15471dcf1a44..b11957186e9e 100644 --- a/net-wireless/bladerf/Manifest +++ b/net-wireless/bladerf/Manifest @@ -1,2 +1,3 @@ DIST bladerf-2016.06.tar.gz 1654784 BLAKE2B 540f9fbb21c1439e80bda37a9e265dfaf987a9c6cedb29ac8556bbdff4ead899d99d00cc9b5a02f03055945955a5d43f4d94b822085dffecc7e2f63ee0724764 SHA512 0834e9f5fa2e41bf15629d9699f11ef29d5365a0ed2c17b83c6a77ed43d72fa62e6d35060d8d478dcbc1e7080cac825d82644b8fcdc03eae0dccef3cb1a7325d DIST bladerf-2017.12_rc1.tar.gz 1723370 BLAKE2B f6d19765674602354b42bb62acdfd874b04df55bd45ec74077aa310e5f6bd81d298148c3b1f2e1396d8659644f374cadf2e91df4b644a29d70c8369aaa6f4694 SHA512 19a3f24f9b6000af9e9d80cc31cbbf46b11deabb4e12eafb68c01f240cdf43884c5f8640ecbfa32fab8cc6a9c8e3b6cbc8596dfe564869c1a85163f00c62d96f +DIST bladerf-2018.08_rc1.tar.gz 2166449 BLAKE2B 5406553755fb4d64a4b731e5272a03f8debb43e480e5c00375957f3ad85b02ca896cdd9a8772b7bbaba1dd9ead9dfa16e7d6b0fe07f1ac2f3f8a0de8406e15db SHA512 3a3bbf51e472792feff4ffde490810fd6af7d4d476102d6fe42e35f2926ac900887dc96ce6acbc6f1406423b80dd6c53266c66e76b9a766dbc43b794144a72c2 diff --git a/net-wireless/bladerf/bladerf-2018.08_rc1.ebuild b/net-wireless/bladerf/bladerf-2018.08_rc1.ebuild new file mode 100644 index 000000000000..14bfb326d84e --- /dev/null +++ b/net-wireless/bladerf/bladerf-2018.08_rc1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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}" + -DBUILD_DOCUMENTATION="$(usex doc)" + -DENABLE_LIBTECLA="$(usex tecla)" + -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 856e4493762d..14bfb326d84e 100644 --- a/net-wireless/bladerf/bladerf-9999.ebuild +++ b/net-wireless/bladerf/bladerf-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 inherit cmake-utils udev @@ -43,8 +43,8 @@ PDEPEND=">=net-wireless/bladerf-firmware-2.0.0 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 ) |