diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-01 22:03:23 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-01 22:03:23 +0100 |
commit | 590b9b7b03bf4651e099949e318755af7cfa81b8 (patch) | |
tree | 54c184b7d26c25f1922bfeaf19a1dd45a2e3b1eb /net-wireless/airspy | |
parent | f4fc10428424904caf2035cffc442195cb088b2c (diff) |
gentoo resync : 01.08.2021
Diffstat (limited to 'net-wireless/airspy')
-rw-r--r-- | net-wireless/airspy/Manifest | 2 | ||||
-rw-r--r-- | net-wireless/airspy/airspy-1.0.10.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/net-wireless/airspy/Manifest b/net-wireless/airspy/Manifest index 9e5dfa0b3990..4d920eaa9bb1 100644 --- a/net-wireless/airspy/Manifest +++ b/net-wireless/airspy/Manifest @@ -1,4 +1,6 @@ +DIST airspy-1.0.10.tar.gz 238863 BLAKE2B 1cd257140094205ed5c9e574b6b77b297ff88d50e3dada639d6daea4aa6969a9470f7e68d505a88e04dd42b978263b83abb0d8f37399fdf0093823b9c24150a7 SHA512 61ea82e8b9892053b6fdccd7de05f248145bb5da0d4f63bb31d3a815fa739b248662a875d53d88de260cfa2a98ef266ea165ba50397e67822ea21ca273c93b24 DIST airspy-1.0.9.tar.gz 216852 BLAKE2B 14cc4743b4398fec6fc6defe257b38c620ccca812c8e4da580fe78a99ac0e7a1b104cc05e83ba7b1423586e182da1a77d152485c515f41b4a52ff533e19d9903 SHA512 95030a39f687b0b72115d0279725845637240d8e8639fc2fb7b4b79d24be7aec85243d6d0e0643af358e7b4cf1e81b55b3c093b888411a47c7ed8a59a2aa497c +EBUILD airspy-1.0.10.ebuild 884 BLAKE2B 4a44da90a620e185da767b646d4edd33d7bace30832ed07ca72af76369dae4d2204d0c6b2eea70f10804d78e52b8d077d7fb220c574e323c29b6c0ca16a600a9 SHA512 eb23227a4cd18167019126933ad437ce82dfaf2ec3c2339d0ea2fc30f10b3df4f846cbfadbf3c88f7558a81e255acff058cc712405bcc4483f56460fd8d13ee5 EBUILD airspy-1.0.9.ebuild 884 BLAKE2B 4a44da90a620e185da767b646d4edd33d7bace30832ed07ca72af76369dae4d2204d0c6b2eea70f10804d78e52b8d077d7fb220c574e323c29b6c0ca16a600a9 SHA512 eb23227a4cd18167019126933ad437ce82dfaf2ec3c2339d0ea2fc30f10b3df4f846cbfadbf3c88f7558a81e255acff058cc712405bcc4483f56460fd8d13ee5 EBUILD airspy-9999.ebuild 884 BLAKE2B 4a44da90a620e185da767b646d4edd33d7bace30832ed07ca72af76369dae4d2204d0c6b2eea70f10804d78e52b8d077d7fb220c574e323c29b6c0ca16a600a9 SHA512 eb23227a4cd18167019126933ad437ce82dfaf2ec3c2339d0ea2fc30f10b3df4f846cbfadbf3c88f7558a81e255acff058cc712405bcc4483f56460fd8d13ee5 MISC metadata.xml 220 BLAKE2B 46dd60edb9f6b8599815a6df1e5c833413abeb70008ac99b15b950b347fb6892dacab82b18b1be2637acaf61af1e6c32d82a031bff6f5c94da5d042455710fc3 SHA512 bce2f2527797db14ce1ebb3e56895c1cb583ba27a0cc713e7dedde863e7e3711f449b607748090ac21accd536147a16e80e5c9ec7472a795426f87469cdbabf9 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 +} |