mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-22 14:51:14 +02:00
bladerf: bump with its deps
This commit is contained in:
parent
341f9afa21
commit
81248e51ef
5 changed files with 98 additions and 0 deletions
1
net-wireless/bladerf/Manifest
Normal file
1
net-wireless/bladerf/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST bladerf-2017.12_rc1.tar.gz 1723370 SHA256 1a7d6d068a85b3671372d565456976cc3eb9d82c421644f938f7d519ca86861e SHA512 19a3f24f9b6000af9e9d80cc31cbbf46b11deabb4e12eafb68c01f240cdf43884c5f8640ecbfa32fab8cc6a9c8e3b6cbc8596dfe564869c1a85163f00c62d96f WHIRLPOOL a2037b82624abc4728a476cd6658f3e76f4e9d5f5ab114b738335af82a390eb02bc09df90ab6785ced6c96235988260369b72acca9574f9f87ba26fee86a30b5
|
||||
52
net-wireless/bladerf/bladerf-2017.12_rc1.ebuild
Normal file
52
net-wireless/bladerf/bladerf-2017.12_rc1.ebuild
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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
|
||||
}
|
||||
18
net-wireless/bladerf/metadata.xml
Normal file
18
net-wireless/bladerf/metadata.xml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>zerochaos@gentoo.org</email>
|
||||
<name>Rick Farina</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>radio@gentoo.org</email>
|
||||
<name>Radio</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="tecla">use libtecla for command line editing, tab completion, and history</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">Nuand/bladeRF</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
DIST soapybladerf-0.3.2.tar.gz 25428 SHA256 e97d849ab80dfe3142c072a0709693184db9b521e17241882f47f93744d762d7 SHA512 39a4d2b0e7835c2fb8a0f63f566d332758b4c75bd460d185f0fcfc8a60841defe47ca082fc30e5bbdad3db26649a06767080799cbcde02fd087e522dfdb4a01b WHIRLPOOL de18ae3c4423d6e6876e38f8a9708a18bdcc84e88e2bfcc92552d3ac5ceaa59ac9a3c246fdb5906e0052cc83009ac625f459b710c82bd4b1e64cf820cd38db80
|
||||
DIST soapybladerf-0.3.3.tar.gz 25655 SHA256 5c80c946d9f6ce1120682c87b449a09032e0abddc960af5b0ee16def08fe5ad9 SHA512 61bfb0fd7f61919dc14ce5ed5d46ed6dbfb1746149cca4ebad713b133c554265c61a57f58e6e029fbae9ec7860ba2c3b65668a16d86d5a07f4e55c88aec79fdc WHIRLPOOL a98a89bbe85ad182f865add7b4174186f82a7a1870b826eac294015cd02c6be10594c07c687c05c6ee9b000cc343ce7a1a946d0c25c94b9c4a4730c17e8ea86e
|
||||
DIST soapybladerf-0.3.4.tar.gz 26618 SHA256 24b132a365265a0534cbe1bc73c0d9f13b8debc01d9e69a5278c6cdd291f9f59 SHA512 694ec68da292efc98b5d0864a8afa71ecf72fa91ac03650e5f2b75e938fb27cc73fb1dabe57c336e4d4a217d8931fb6750b1932881bdf4aa0bbd53cf8617564b WHIRLPOOL 4c353edaf64233373ae5073f0cc6d5a5e82636bd4efbda3af945b359820bdc5f688e9694314a6fd0160c93e861027370f023368074997b3b7c6f76043af4777e
|
||||
|
|
|
|||
26
net-wireless/soapybladerf/soapybladerf-0.3.4.ebuild
Normal file
26
net-wireless/soapybladerf/soapybladerf-0.3.4.ebuild
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Soapy SDR plugin for the Blade RF "
|
||||
HOMEPAGE="https://github.com/pothosware/SoapyBladeRF"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
EGIT_REPO_URI="https://github.com/pothosware/SoapyBladeRF.git"
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/pothosware/SoapyBladeRF/archive/soapy-bladerf-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/SoapyBladeRF-soapy-bladerf-"${PV}"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="net-wireless/soapysdr
|
||||
>=net-wireless/bladerf-2017.12_rc1:="
|
||||
DEPEND="${RDEPEND}"
|
||||
Loading…
Reference in a new issue