diff options
author | Rick Farina <zerochaos@gentoo.org> | 2021-08-01 12:14:55 -0400 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2021-08-01 12:15:10 -0400 |
commit | f1db059a6767e776fbc0d6db5e34f4ccee701797 (patch) | |
tree | a413dffcb3bd8dbd79f8d24bb5d8caf90ef3bd16 /net-wireless/airspy | |
parent | dev-libs/libgudev: set SANDBOX_ON=0 for testing (diff) | |
download | gentoo-f1db059a6767e776fbc0d6db5e34f4ccee701797.tar.gz gentoo-f1db059a6767e776fbc0d6db5e34f4ccee701797.tar.bz2 gentoo-f1db059a6767e776fbc0d6db5e34f4ccee701797.zip |
net-wireless/airspy: bump
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless/airspy')
-rw-r--r-- | net-wireless/airspy/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/airspy/airspy-1.0.10.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/net-wireless/airspy/Manifest b/net-wireless/airspy/Manifest index a2e3e8c75c4c..d75e5208ce9f 100644 --- a/net-wireless/airspy/Manifest +++ b/net-wireless/airspy/Manifest @@ -1 +1,2 @@ +DIST airspy-1.0.10.tar.gz 238863 BLAKE2B 1cd257140094205ed5c9e574b6b77b297ff88d50e3dada639d6daea4aa6969a9470f7e68d505a88e04dd42b978263b83abb0d8f37399fdf0093823b9c24150a7 SHA512 61ea82e8b9892053b6fdccd7de05f248145bb5da0d4f63bb31d3a815fa739b248662a875d53d88de260cfa2a98ef266ea165ba50397e67822ea21ca273c93b24 DIST airspy-1.0.9.tar.gz 216852 BLAKE2B 14cc4743b4398fec6fc6defe257b38c620ccca812c8e4da580fe78a99ac0e7a1b104cc05e83ba7b1423586e182da1a77d152485c515f41b4a52ff533e19d9903 SHA512 95030a39f687b0b72115d0279725845637240d8e8639fc2fb7b4b79d24be7aec85243d6d0e0643af358e7b4cf1e81b55b3c093b888411a47c7ed8a59a2aa497c diff --git a/net-wireless/airspy/airspy-1.0.10.ebuild b/net-wireless/airspy/airspy-1.0.10.ebuild new file mode 100644 index 000000000000..d214c535ef76 --- /dev/null +++ b/net-wireless/airspy/airspy-1.0.10.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake udev + +DESCRIPTION="Usemode driver and associated tools for airspy" +HOMEPAGE="http://www.airspy.com" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/airspy/host.git" +else + SRC_URI="https://github.com/airspy/host/archive/v${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/airspyone_host-${PV}" + KEYWORDS="~amd64 ~arm ~x86" +fi + +LICENSE="GPL-2+" +SLOT="0" +IUSE="+udev" + +DEPEND="virtual/udev + virtual/libusb:1" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DINSTALL_UDEV_RULES=$(usex udev) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use udev; then + udev_newrules "${ED}/etc/udev/rules.d/52-airspy.rules" 52-airspy.rules + rm -rf "${ED}/etc" + fi +} + +pkg_postinst() { + use udev && udev_reload +} |