From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A530F139337 for ; Sun, 1 Aug 2021 16:15:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D089AE0949; Sun, 1 Aug 2021 16:15:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7CF05E0949 for ; Sun, 1 Aug 2021 16:15:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 86012343108 for ; Sun, 1 Aug 2021 16:15:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E6060798 for ; Sun, 1 Aug 2021 16:15:10 +0000 (UTC) From: "Rick Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rick Farina" Message-ID: <1627834510.f1db059a6767e776fbc0d6db5e34f4ccee701797.zerochaos@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/airspy/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/airspy/Manifest net-wireless/airspy/airspy-1.0.10.ebuild X-VCS-Directories: net-wireless/airspy/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Rick Farina X-VCS-Revision: f1db059a6767e776fbc0d6db5e34f4ccee701797 X-VCS-Branch: master Date: Sun, 1 Aug 2021 16:15:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ac2b6797-32b8-4351-91e1-e7386239c917 X-Archives-Hash: b7b65d3e93eb0f2dce491cffd1ac8bed commit: f1db059a6767e776fbc0d6db5e34f4ccee701797 Author: Rick Farina gentoo org> AuthorDate: Sun Aug 1 16:14:55 2021 +0000 Commit: Rick Farina gentoo org> CommitDate: Sun Aug 1 16:15:10 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1db059a net-wireless/airspy: bump Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Rick Farina gentoo.org> net-wireless/airspy/Manifest | 1 + net-wireless/airspy/airspy-1.0.10.ebuild | 46 ++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/net-wireless/airspy/Manifest b/net-wireless/airspy/Manifest index a2e3e8c75c4..d75e5208ce9 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 00000000000..d214c535ef7 --- /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 +}